[Zope] Large BTreeFolder2 batching/pagination

2009-11-01 Thread Ken Ara
We have some BTreeFolder2's containing hundreds of thousands of objects, even one containing over 2 million instances of Folder. That is really no problem in itself. Under our setup, beyond 300-400,000 contained objects, the batching provided by getBatchObjectListing becomes unusable. I've see

Re: [Zope] Large BTreeFolder2 batching/pagination

2009-11-01 Thread Andreas Jung
What kind of practical sense does it make to batch 400k objects? I can no imagine single usecase where one would be interested in walking through such an amount of objects manually. Better organize your data in a more handy way or implement some search logic for bringing the batch size to a number