Create UUID to CollectionOrViewAcquisition map in MultipleCollectionAccessor

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the MultipleCollectionAccessor only maintains a map of NamespaceString to CollectionOrViewAcquisition for all secondary acquisitions. This means that a lookup of a Collection by UUID requires a linear scan of the secondaryAcq map. We can create a UUID to CollectionOrViewAcquisition on MultipleCollectionAccessor that provides us with constant time access.

      This will be helpful for the Join Optimization Plan Cache as we are using collection UUID to do invalidation on DDLs operations.

            Assignee:
            Unassigned
            Reporter:
            Naafiyan Ahmed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: