Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: bsrdjan on December 01, 2012, 06:18:53 PM

Title: Database?
Post by: 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?
Title: Re: Database?
Post by: laurent on December 02, 2012, 12:13:56 AM
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.