[Dev] ZODB for object persistence [Was: ZODB is not a Storage Technology]

Morgen Sagen morgen at osafoundation.org
Mon Nov 11 12:21:49 PST 2002


The 20,000/300 figures aren't related to ZODB, they're from a BerkeleyDB
test I did comparing transactional/non-transactional writes (I discovered
the cache was set too small so disregard those numbers).  The ZODB test I
wrote a while ago did this:

- Create 1000 object instances (subclass of Persistence), assign 3
properties, add to OOBTree, commit()
- Repeat 10 times

For ZODB3.1(B1), I got the following objects/sec:

- Minimal (BerkeleyDB) = 1800/sec
- Full (BerkeleyDB)    =  100/sec
- FileStorage          = 3030/sec

For ZODB4, I tested only the FileStorage:

- FileStorage          = 1200/sec

~morgen




More information about the Dev mailing list