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

Improve STARTSWITH operator on PostgreSQL adding a GIN index

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6.0-HF15
    • Fix Version/s: 5.6.0-HF17, 5.7.1
    • Component/s: Core VCS
    • Environment:
      PostgreSQL

      Description

      Adding a gin index on the ancestors.ancestors field improve performance of NXQL query with the STARTSWITH operator.

      CREATE INDEX ancestors_ancestors_idx ON ancestors USING gin(ancestors) WHERE ancestors;
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: