File Database for C ++

I want to use the database in my application. But it should not be a server database (e.g. MySQL). Are there any database file systems for C ++? Better if you can offer a non-relational database. as an XML based file ...

+5
source share
4 answers

I'm not sure what you mean by a file database. For example, Informix and MySQL store their data in files.

However, you mentioned a non-relational database, so I suggest you start with couchdb or mongoDB .

SQL lite is a great relational database, and if you were already used to SQL, it would be a very good choice IMHO. I have not ventured into any production code with a non-relational database, but just looking at the key structure makes me realize that a lot of thoughts above and outside the usual design of the SQL database table will be involved before I feel safe, just throwing data into a non-relational database.

0
source

Why, yes, there is. Try SQLite .

+8
source

: ZWinSQL

This C ++ library provides a thin shell for using DR Hipp SQLite, which is a single-file SQL database. ZWinSql is not much more than it allows you to create, modify and query a database contained in one local file using standard SQL commands.

+3
source

if you are not looking for a relational database, maybe http://soprano.sourceforge.net is what might suit you. it can be configured to work directly with local files.

0
source

All Articles