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

Oracle: Missing foreign key index on ancestors table

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.5
    • Component/s: Core VCS
    • Environment:
      Oracle

      Description

      The ancestors.hierarchy_id has no index.

      Foreign key must be indexed to prevent Oracle TM contention and ORA-00060 dead lock on concurrent DML.

      The SQL fix:

      CREATE INDEX ANCESTORS_HIERARCHY_ID_IDX ON ANCESTORS(hierarchy_id);
      

      Note that JPBM has lots of unindexed FK.

        Attachments

          Activity

            People

            • Assignee:
              bdelbosc Benoit Delbosc
              Reporter:
              bdelbosc Benoit Delbosc
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: