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
Re: [Zope] Large BTreeFolder2 batching/pagination
by Ken Ara other posts by this author
Nov 2 2009 2:28AM messages near this date
Re: [Zope] Large BTreeFolder2 batching/pagination | Re: [Zope] Large BTreeFolder2 batching/pagination
I agree it is hard to imagine, but I am just the web guy... 

If I dare to guess, I would say that what they want to do is improve access to the informati
on for the users. The two million objects are strongly interlinked, so this is the navigatio
n system used up to now. But why not open it up to browsing?

For the content team, it might also be nice to use the ZMI or similar when working with this
 content.

We have not been successful to create a Catalog of this many objects. The process seemed to 
time out after many hours, probably hardware-bound. Also, the size of the resulting ZODB is 
of concern, but we may try again with the Catalog on a mounted database.

My general question remains: Is there a way to address the objects contained in a BTreeFolde
r2 using something like an 'offset' or other identifier? Has anyone found a strategy that sc
ales better than getBatchObjectListing?

Thanks

Ken

--- On Mon, 11/2/09, Andreas Jung <lists@[...].com>  wrote:

From: Andreas Jung <lists@[...].com> 
Subject: Re: [Zope] Large BTreeFolder2 batching/pagination
To: "Ken Ara" <feedreader@[...].com> 
Cc: zope@[...].org
Date: Monday, November 2, 2009, 6:23 AM

What kind of practical sense does it make to batch 400k objects? I can no imagine single use
case where one
would be interested in walking through such an amount of objects manually. Better organize y
our data in a more

handy way or implement some search logic for bringing the batch size to a number of relevant
 object.s

-aj

On Mon, Nov 2, 2009 at 00:04, Ken Ara <feedreader@[...].com>  wrote:




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.








      
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