Performances

Version 2.1 by Vincent Massol on 2007/12/07
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Performances

Invalid macro parameters used for the [toc] macro. Cause: [Failed to validate bean: [must be greater than or equal to 1]]. Click on this message for details.

Database Indexes

Make sure you've set Database indexes. This is especially important when you start having lots of documents.

Panels

Some Panels take more resources than others. For example the Navigation panel should NOT be used for wikis with a lot of documents since it displays all documents in the wiki. In the future that Panel should be improve for performances but that's not the case right. Originally this Panel was only meant as a starting point. A better approach is to use a Quick Links Panel as we've now set up in the default XWiki Enterprise wiki version 1.1 (we've removed the default usage of the Navigation Panel in that version).

Statistics

The statistics module is off by default since it's quite Database intensive. If you don't need it you should turn it off.

Cache sizes

TODO: Recommend cache sizes here

Rendering cache

Some pages are complex to render (they may aggregate outside data for example or do complex and slow queries). For these pages you can add the following to their content to cache them after they are rendered. For example to cache the rendered content for 60 seconds you would add:

$context.setCacheDuration(60)

Get Connected