[Zope-dev] objectValues performance
Brett Carter
brett@kavi.com
28 Nov 2000 11:14:16 -0800
Ok, I'll bite. Why doesn't the standard folder scale? Seems like a
design flaw to me - why doesn't the default folder use catalogs or BTrees?
-Brett
>>>>> "Casey" == Casey Duncan <cduncan@kaivo.com> writes:
Casey> Brett Carter wrote:
>>> I have a folder with greater than 5000 ZClass instances in it. It
>>> takes > 5mins to do an objectValues for every object in the folder -
>>> is there a higher perfomance call I could make?
>>> -Brett
Casey> Standard folder performance degrades pretty quickly once you get
Casey> a lot of objects in it. There are two solutions to this:
Casey> Subdivide your objects into multiple folders.
Casey> Use a BTreeFolder which should be much faster.
Casey> You can download the BTreeFolder product
Casey> here: http://www.zope.org/Members/hathawsh/BTreeFolder/
Casey> hth,
Casey> Casey Duncan