[Zope] Re: rename lots of files
Ausum Studio
ausum_studio@hotmail.com
Tue, 29 Apr 2003 07:58:36 +0000
A workaround is to use an ExternalMethod and the same logic that
manage_rename delivers, but avoiding the reindexing part, in favor of a
further catalog updating.
Ausum
>From: Maik Jablonski <maik.jablonski@uni-bielefeld.de>
>To: zope@zope.org
>Subject: [Zope] Re: rename lots of files
>Date: Tue, 29 Apr 2003 08:23:27 +0200
>
>Dylan Reinhardt wrote:
>>When you're doing a large-scale operation on a folder that contains
>>hundreds of objects (or more), the resources required to redraw the ZMI
>>are surprisingly immense. I suspect there may be other issues at play
>>here as well, though I haven't read far enough into the code to know.
>
>If the objects are CatalogAware, renaming (internally a delete and create
>again operation) means reindexing all the objects. That is very, very
>expensive job for a Zope-Server.
>
>Cheers, Maik
>
>
>
>_______________________________________________
>Zope maillist - Zope@zope.org
>http://mail.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
>http://mail.zope.org/mailman/listinfo/zope-dev )
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail