Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Which ones are free databases?

Which ones are free databases?

Scheduled Pinned Locked Moved C#
csharpc++databasebusinessxml
6 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aseem Sharma
    wrote on last edited by
    #1

    Hi all, I am making an application comprising both C/C++ and .Net environments (for different modules). Both C++ and .Net modules create logs in some XML files. But I am now facing many problems in maintaining all the log files (mostly because of their sizes). I am planning to create my logs in some database. But I am not familiar with using any database with C++ or with .Net code. Here are my requirements: 1 The very first requirement is that database should be free to use. 2 database should be able to connect with both C++ module and .Net (C# module) Can anybody suggest me any such database that can be used freely. Also help me in knowing some tutorial by which I can connect my application with that free database. Thanks in Advance Aseem

    C P D 3 Replies Last reply
    0
    • A Aseem Sharma

      Hi all, I am making an application comprising both C/C++ and .Net environments (for different modules). Both C++ and .Net modules create logs in some XML files. But I am now facing many problems in maintaining all the log files (mostly because of their sizes). I am planning to create my logs in some database. But I am not familiar with using any database with C++ or with .Net code. Here are my requirements: 1 The very first requirement is that database should be free to use. 2 database should be able to connect with both C++ module and .Net (C# module) Can anybody suggest me any such database that can be used freely. Also help me in knowing some tutorial by which I can connect my application with that free database. Thanks in Advance Aseem

      C Offline
      C Offline
      Covean
      wrote on last edited by
      #2

      1. - Microsoft SQL-Server Express is for free, but you can't use databases with a size over 4gb. - There also exists a free database version from IBM DB2. - At least you could look for an oracle version (I thought there is also a free version, but I'm not sure). [Edit:]You could also use a MySQL database. But its not my favorite![/edit] 2. You should be able to connect to all named databases above!

      Greetings Covean

      V 1 Reply Last reply
      0
      • C Covean

        1. - Microsoft SQL-Server Express is for free, but you can't use databases with a size over 4gb. - There also exists a free database version from IBM DB2. - At least you could look for an oracle version (I thought there is also a free version, but I'm not sure). [Edit:]You could also use a MySQL database. But its not my favorite![/edit] 2. You should be able to connect to all named databases above!

        Greetings Covean

        V Offline
        V Offline
        vivasaayi
        wrote on last edited by
        #3

        Try the following databases. Small and Fast. http://www.db4o.com[^] http://sqlite.phxsoftware.com/[^]

        1 Reply Last reply
        0
        • A Aseem Sharma

          Hi all, I am making an application comprising both C/C++ and .Net environments (for different modules). Both C++ and .Net modules create logs in some XML files. But I am now facing many problems in maintaining all the log files (mostly because of their sizes). I am planning to create my logs in some database. But I am not familiar with using any database with C++ or with .Net code. Here are my requirements: 1 The very first requirement is that database should be free to use. 2 database should be able to connect with both C++ module and .Net (C# module) Can anybody suggest me any such database that can be used freely. Also help me in knowing some tutorial by which I can connect my application with that free database. Thanks in Advance Aseem

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          Free stuff is often not worth the price. I wouldn't use a database as a log file. For one thing, how does the application log a message saying it can't access the database? A logging system should be as simple as possible, with the fewest points of failure you can achieve. I tend to use SQL Server Express for the little applications I write. A customer can then upgrade to full-blown SQL Server if they choose.

          L 1 Reply Last reply
          0
          • P PIEBALDconsult

            Free stuff is often not worth the price. I wouldn't use a database as a log file. For one thing, how does the application log a message saying it can't access the database? A logging system should be as simple as possible, with the fewest points of failure you can achieve. I tend to use SQL Server Express for the little applications I write. A customer can then upgrade to full-blown SQL Server if they choose.

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            Dito. :thumbsup:

            Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


            I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
            [The QA section does it automatically now, I hope we soon get it on regular forums as well]


            1 Reply Last reply
            0
            • A Aseem Sharma

              Hi all, I am making an application comprising both C/C++ and .Net environments (for different modules). Both C++ and .Net modules create logs in some XML files. But I am now facing many problems in maintaining all the log files (mostly because of their sizes). I am planning to create my logs in some database. But I am not familiar with using any database with C++ or with .Net code. Here are my requirements: 1 The very first requirement is that database should be free to use. 2 database should be able to connect with both C++ module and .Net (C# module) Can anybody suggest me any such database that can be used freely. Also help me in knowing some tutorial by which I can connect my application with that free database. Thanks in Advance Aseem

              D Offline
              D Offline
              Daniel Grunwald
              wrote on last edited by
              #6

              For something like log files, you don't really need a full-blown database. If you just want a database to make working with large files easier, I suggest you take a look at SQLite[^] (.NET wrapper[^]). It is not a database server, but a library that runs directly in your process. It's ideal for client-side databases where you don't want to deal with deploying a database server; it's just another .dll to be copied with your app.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups