[ZODB-Dev] History-less FileStorage?

Dieter Maurer dieter at handshake.de
Sun Dec 31 16:35:25 EST 2006


Stephan Richter wrote at 2006-12-29 12:18 -0500:
>On Friday 29 December 2006 11:26, Tino Wildenhain wrote:
>> Stefan H. Holek schrieb:
>> > Do we have a history-less (i.e. no-grow) FileStorage?
>>
>> How do you think it should work? I mean, technically
>> in theory? How would you implement MVCC?
>
>Well, it is basically a "pack" after each write access. I do not know exactely 
>how pack works, but I would hope it leaves the DB file in a good state at all 
>times.

It does. But packing is performed by copying the content to a new
file thereby omitting things no longer needed. You would not want such
an operation after every write -- at least not for a somewhat larger
storage.



-- 
Dieter


More information about the ZODB-Dev mailing list