embedded db in python app?

Alessio Pace puccio_13 at yahoo.it
Sat Jun 21 09:15:01 EDT 2003


John J. Lee wrote:

> 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.

Thanks, I'll give it a try :-)

> 
> 
> John

-- 
bye
Alessio Pace




More information about the Python-list mailing list