[ZODB-Dev] Re: IStorageIteration
Thomas Lotze
thomas at thomas-lotze.de
Tue Feb 12 05:09:22 EST 2008
Jim Fulton wrote:
>
> On Feb 11, 2008, at 1:25 PM, Christian Theune wrote:
>>
>> There is the pattern like undoInfo/Log and record_iternext which
>> provides context by passing in ranges of records to return + tolerance
>> for ranges that don't exist.
>
>
> 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.
--
Thomas
More information about the ZODB-Dev
mailing list