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

Alphabetical page list (under Browse Space) is too slow on large spaces

XMLWordPrintable

      Internal view of CONF-10333, from CSP-1435.

      In the support issue, the user had ~6000 pages in a space. Current logic has three "slow" points:

      1. When the user clicks "Alphabetical", the search is run on the whole space.
      2. In listpages-alphaview.vm the getItems call (which runs the search) is directly called twice in addition to the (correct) call through the paginationSupport delegate.
      3. The search itself "getPermittedEntitiesOf(spaceManager.getPagesStartingWith(getSpace(), startString));" is very slow.

      1 is a design problem - no upper limit is set on the number of pages returned
      2 is an easy fix, doing now.
      3 is the actual problem - Charles' comments in CONf-9972 could be very helpful.

        1. space.txt
          11 kB
          Jeremy Largman

              matt@atlassian.com Matt Ryall
              dtaylor David Taylor (Inactive)
              Votes:
              17 Vote for this issue
              Watchers:
              21 Start watching this issue

                Created:
                Updated:
                Resolved: