Submitted by : Dmitry Astapov at: 2004-12-22T06:25:15+00:00 (16 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Any page display results in call(s) to pages(), pageNames() and/or pageIds(). All these methods make use of pages(), which, in turn, results in ensureCompleteMetadataIn() being called for each page in the zwiki web. This methods verifyes that all metadata mentioned in PAGE_METADATA is present in ZCatalog, and if not - looks it up in ZODB.

What happens if you do not have run /setupTracker? registers additional metadata in PAGE_METADATA, and ensureCompleteMetadataIn() tries to look it up in ZODB. For each page display. Againg and again. Until /setupTracker populates catalog with these additional metadata fields.

But if admin does not want to use tracker, this will mean constant speed penalty during each page display.

property change --simon, Thu, 27 Jan 2005 15:14:07 -0800 reply

Name: '#993 Modern ZWiki gets speed penalty for not having a catalog' => '#993 /setupTracker also required for good large wiki performance now'

clarification --simon, Thu, 27 Jan 2005 15:22:28 -0800 reply

Visiting 'PAGE/setupCatalog' used to be sufficient to set up a catalog for maximum large-wiki performance. But a dependency on some tracker fields has crept in, so for the moment you must run '/setupTracker', even if you're not using a tracker. You can delete the sample issue page it creates.

fixed for 0.38; /setupCatalog now adds all metadata fields --simon, Sat, 29 Jan 2005 17:03:57 -0800 reply

Status: open => closed

fixed for 0.38; /setupCatalog now adds all metadata fields --Bob McElrath?, Sat, 29 Jan 2005 17:45:30 -0800 reply

simon []? wrote: > Status: open => closed

Uh...I don't think this should be closed until one can set up a wiki that doesn't require a tracker...IMHO...

Clearly not everyone wants one...

... --simon, Sun, 30 Jan 2005 16:09:04 -0800 reply

You can.