Uploaded image for project: 'Nuxeo Documentation'
  1. Nuxeo Documentation
  2. NXDOC-2520

Document new indexes creation in 2021 HF

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021
    • Component/s: None

      Description

      We need a document section to describe how MongoDB indexes should be managed on existing instances.
      Since LTS 2021 indexes are defined in document schemas and created during Nuxeo start.
      This is fine when starting from scratch, but is not recommended on existing instance with large amount of documents,
      because creating an index is an heavy operation that can timeout or impact the MongoDB performance.

      The recommended solution for large instance should be:

      • disable the auto create index on start
      • read carefully the upgrade notes when applying HF, they should contain commands to create manually the new indexes.

        Attachments

          Activity

            People

            • Assignee:
              grenard Guillaume Renard
              Reporter:
              grenard Guillaume Renard
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: