Submitted by : Simon Michael at: 2004-04-17T02:58:48+00:00 (13 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Geir Bækholt wrote:


>After adding my hour-tracking content-type on our intranet,- they are
>of the kind that you keep adding many of - , we noticed how horribly
>sluggishly our Plone performed when adding items...
>
>After some investigations, something really nasty appeared to be the
>cause..
>
>The Zwiki product adds a new index and metadata to the catalog named
>links on install. This is nice for Zwiki pages, but for other
>objects, not being wikis, that call gets routed to the plone default
>template named links - making a filtered folder_listing ..
>Every time you add or edit an object, it renders a full template with
>a list of links and indexes the full rendered html source and adds
>it to theindex and the metadata. This takes a LOT of time!
>
>(it does of course not make things any better that some inconsistency
>in the workflow machinery (or at least that is what i believe it is)
>makes the indexing happen two or three times, but that is another
>problem..).
>
>adding my trackHour objects in a site with Zwiki installed takes about
>40 seconds. Without Zwiki installed, about 3 seconds. uninstalling
>Zwiki and removing the index and metadata (yes it has to be done
>manually) removes the problem.
>
>This leads to two points:
>
>1 ) If you feel your site is performing really bad when adding items, and
>you have Zwiki installed. this is most probably the cause. (note that
>the effect is that all other content types, not wikipages, are slow)
>
>2 ) We should try to find a way ( a naming convention, or a technical
>solution) to avoid having users or product-authors breaking sites by
>having inappropriately named indexes that backfire on them because of
>acquisition. There has been an example or two of this happening on
>plone-users lately IIRC...
>
>You are hereby warned. ;)
>
>


comments:

sounds like it's epoz's links.xml --SimonMichael, Sun, 18 Apr 2004 10:34:35 -0700 reply
Title: 'IssueNo0784? links catalog field causing slow updates in plone sites' => IssueNo0784 zwiki + epoz may cause slow updates in plone sites Category: zwiki: general => general Severity: normal => serious

workaround --SimonMichael, Sun, 18 Apr 2004 10:35:56 -0700 reply
delete the links index and metadata from portal_catalog in the ZMI

fixed in 0.30 --simon, Mon, 26 Apr 2004 16:50:38 -0700 reply
Status: open => closed

(I have dropped the links index and metadata as of 0.30. You'll still need to remove them by hand in the ZMI, though.)

property change --SimonMichael, Mon, 17 May 2004 20:07:33 -0700 reply
Title: IssueNo0784 zwiki + epoz may cause slow updates in plone sites => IssueNo0784 zwiki < 0.30 may cause catalog bloat and slow updates in plone sites