ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zope-list
zope-list
[Zope] Large BTreeFolder2 batching/pagination
by Ken Ara other posts by this author
Nov 1 2009 3:05PM messages near this date
Re: [Zope] sharing instance_home? | Re: [Zope] Large BTreeFolder2 batching/pagination
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 getBatchObje
ctListing becomes unusable. I've seen this problem mentioned somewhere but never any hint of
 a solution.

We have a new application that will require pagination, or ideally, the ability to go forwar
d and back through the items (any order). Is there a way to refer to the contained items by 
something like offset? It might be easy if the objects had sequential, consecutive numeric i
ds, but sadly this cannot be the case.

We are using the BTreeFolder2-1.0.2 version that came with Zope 2.10.

Thanks.

Ken





      
Thread:
Ken Ara
Andreas Jung
Ken Ara
Andreas Jung
Ken Ara
Andreas Jung
Ken Ara

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved