[ZODB-Dev] Question about BTree transaction data

Dieter Maurer dieter at handshake.de
Tue Apr 11 15:56:51 EDT 2006


Pascal Peregrina wrote at 2006-4-10 09:04 +0100:
>I would like to know if from BTree state data, it is possible to compute
>which keys were added/deleted.

Of course not from a single state: it just tells you about the
current keys, not about their history.

If you are using a storage with history (e.g. "FileStorage"),
then the history can allow you to retrieve earlier states.
Comparing the current and some earlier state allows you to
determine additions/deletions (to some extend).

-- 
Dieter


More information about the ZODB-Dev mailing list