[maemo-developers] Maemo-mapper vector data backend follow-up

From: Eero Tamminen eero.tamminen at nokia.com
Date: Wed Sep 24 09:51:01 EEST 2008
Hi,

ext Andrew Zabolotny wrote:
> I would strongly suggest against using Python and MySQL for such a
> project. Python has a very large memory overhead compared to C/C++, and
> a NIT doesn't have much memory to waste (I'd rather use the memory to
> launch some extra program). MySQL is not easy to set up, and it's
> simply much more than you generally need.
> 
> If you definitely need SQL, I would suggest the SQLite library, which
> basically just stores a SQL database in a single file and does not
> need any server process.
> 
> But I would even suggest against using SQL, if that's possible, because
> parsing and interpreting SQL language involves unneeded overhead.
> A thing such simple as a vector map could be easily stored in a plain
> Berkley database.

And device has by default libdb1 (older version of Berkley database)
and libsqlite3-0 (SQLite v3) installed...

(I remember reading some issues about Python's Berkley DB support,
but I don't know whether they apply to above version of the DB and
whether Python bindings for that are even available for Maemo
currently.)


	- Eero

More information about the maemo-developers mailing list