[pybsddb] len() sometimes slow for bsddb3 backed shelves

Gregg Lind gregg at renesys.com
Fri Sep 19 19:08:55 CEST 2008


More info:

bsddb3  version 4.7.2

db version : db4-4.3.29-9.fc6

I tried doing:

db_stat -f -d mydb.db, and *this* was slow as well.  I guess I don't get 
what the "fast" flag is for, if it's going to go traverse the db 
anyway.  The reason I'm trying to get db lengths is so that I don't 
*have* to traverse the db. 

So, this seems to be outside your specific domain, but if you have 
ideas, I'd love to hear them!

Thanks,

Gregg



More information about the pybsddb mailing list