Database?

Started by bsrdjan, December 01, 2012, 06:18:53 PM

Previous topic - Next topic

bsrdjan

Are there any other databases to be considered for O'xino/Python, except sqlite? Only two requirements: small and fast.

if sql not really needed, what else could be used as a data storage ? Files?

laurent

Quote from: bsrdjan on December 01, 2012, 06:18:53 PM
Are there any other databases to be considered for O'xino/Python, except sqlite? Only two requirements: small and fast.

if sql not really needed, what else could be used as a data storage ? Files?
sqlite is small and fast, and match perfectly with your requirements and the target platform.
Anyway, if you're not especially look for sql databases, you should have a look to key/values databases like berkeley db.
You can also store information on XML documents, with DOM librairies widely availables on different languages.
Simple files are obviously the fastest way to store and manipulate informations, but you should avoid flexibility and ease to store structurated informations, without adding a lot of code.