Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30432

Add MongoDB indexes on fetch annotation requests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF49, 11.x, 2021.5
    • Component/s: Annotations

      Description

      For some setup, the NEV viewer is the default one, this means that each document opening will trigger a fetch of annotations stored in Nuxeo.

      Even if the requests aren't very slow, making a lot of them could degrade performance when the DB is under load.

      We should add indexes for:

      • comment:parentId
      • annotation:xpath

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: