[Python-Dev] Durus memory

Binger David dbinger at mems-exchange.org
Thu Sep 4 18:55:01 CEST 2008


I'm sorry this post is a bit off-topic, but I think I should correct  
this.

On Sep 4, 2008, at 11:54 AM, Oleg wrote:

> Durus (and ZODB) has an index of all objects, the index is stored in
> memory AFAIK - a real problem if one has millions of objects.


Durus now has an option to store the index in the data file in a form
that is usable directly from disk.  With this option, the in-memory
index is only for objects changed since the last pack.

Durus works fine with millions of objects, as long as you don't have
millions of rapidly-changing objects.

I haven't used the Berkeley DB storage for Durus, but I'm pretty
sure that the Durus/Python side of that would not use
any in-memory index.





More information about the Python-Dev mailing list