embedded db in python app?
John J. Lee
jjl at pobox.com
Sat Jun 21 13:44:32 CEST 2003
Alessio Pace <puccio_13 at yahoo.it> writes:
> Hi, I wrote a python application which needs to persistently store 2 *big*
> hash maps at the end of its execution and retrieve them when it starts
> again. Up to now I just used pickle to serialize 2 objects that
> "encapsulate" those hash maps (and nothing else). I wonder if using an
> embedded db (but which one??) to store those two hash maps would be faster
> both in storing and in retrieval.
BSDDB3. Useful google terms: pybsddb3, BSDDB, DB3, sleepycat.
IIRC, the standard Python library module is known to be buggy (may
have been fixed in 2.3, can't remember), so don't use that.
More information about the Python-list