Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-16866

Page Restriction design does not scale well due to re-indexing of all sub-pages

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Page restrictions, when applied to large spaces, can cause significant performance problems (instance becomes inoperable) due to the need to reindex every page (including every attachment). We've only recently begun to diagnose this in support, but we suspect it's been a problem for some time (based on the high frequency of incidents since learning what to look for).

      http://confluence.atlassian.com/display/DOC/Page+Restrictions+Performance+Considerations

      Implementation notice
      The solution to this issue is to batch the contentns of the index queue. That way Confluence should remain responsive while re-indexing. The batch size defaults to 1500 so it should be large enough that most instances do not need to adjust it. However should you wish to adjust the batch size it is possible by passing -Dindex.queue.batch.size=1500 (replacing 1500 with your desired batch size).

      Attachments

        Issue Links

          Activity

            People

              dkjellin Daniel
              jlargman Jeremy Largman
              Votes:
              18 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: