Which ones are free databases?
-
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
-
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
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
-
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
Try the following databases. Small and Fast. http://www.db4o.com[^] http://sqlite.phxsoftware.com/[^]
-
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
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.
-
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.
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]
-
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
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.