Andreas Jung wrote:
>
> huh? You have to walk through the whole folder hierarchy?1
So? With a catalog query you'll have return the *whole* catalog contents.
And if you're stupid enough to get getObject involved, then you drag
them all into memory *and* the catalog anyway...
Chris
--
Simplisti
Andreas Jung wrote:
> There is a difference pulling 500k brains out-of-the catalog compared to
> traversing a ZODB with 500k object. I assume that the catalog solution
> is slightly faster :)
Yes, well, you kno what they say about assumptions...
Chris
--
Simplistix - Content Management, Zope
On 28.11.2008 12:56 Uhr, Chris Withers wrote:
Andreas Jung wrote:
There is a difference pulling 500k brains out-of-the catalog compared
to traversing a ZODB with 500k object. I assume that the catalog
solution is slightly faster :)
Yes, well, you kno what they say about assumptions...
ok, yo
Andreas Jung wrote:
> This is a *VERY EXPENSIVE* operation unless you use something like
> Plone or CMF and ask the portal_catalog for all objects.
How is that any less expensive?
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_
On 28.11.2008 12:21 Uhr, Chris Withers wrote:
Andreas Jung wrote:
huh? You have to walk through the whole folder hierarchy?1
So? With a catalog query you'll have return the *whole* catalog contents.
There is a difference pulling 500k brains out-of-the catalog compared to
traversing a ZODB
On 28.11.2008 12:15 Uhr, Chris Withers wrote:
Andreas Jung wrote:
This is a *VERY EXPENSIVE* operation unless you use something like
Plone or CMF and ask the portal_catalog for all objects.
How is that any less expensive?
huh? You have to walk through the whole folder hierarchy?1
-aj
begi
Does anyone know of an existing tool for restoring all security
settings/rolemaps from the ground up? Obviously I can use rolemap.xml
where applicable and update workflow security. I want to first restore
the Zope root to code defaults and restore the whole hierarchy to just
acquire.
I'm going t