[ZODB-Dev] Re: IStorageIteration

Dieter Maurer dieter at handshake.de
Mon Feb 25 13:06:47 EST 2008


Thomas Lotze wrote at 2008-2-12 11:09 +0100:
> ...
>> I don't think that's going to work here.  Iterating through the
>> transactions in the database for each iteration is going to be totally
>> non-scalable.
>
>It seems to us that it would actually be the right thing to require that
>storages have an efficient, scalable and stateless way of accessing their
>transactions by ID. In the case of FileStorage, this might be achieved
>using an index analogous to the one mapping object IDs to file positions.

How often do you need it?
It is worse the additional index? Especially in view that a storage
may contain a very large number of transactions?



-- 
Dieter


More information about the ZODB-Dev mailing list