Compute QueryShapeHash only in cases when QuerySettings are set for a given collection

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2023-10-16, QE 2023-10-30, QE 2023-11-13
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In order to perform QuerySettings lookup, QueryShapeHash is required.

      In situation when $queryStats is off, QueryShapeHash has to be computed.

      Currently we avoid computing QueryShapeHash in situation, when no QuerySettings are set for the given tenant. 

      As part of this ticket we would need to modify the QuerySettingsManager to store QuerySettings in such a way, that we could avoid computing QueryShapeHash in situations when no QuerySettings are set for the given collection. This way we would reduce the performance impact of QuerySettings lookup even further

            Assignee:
            Catalin Sumanaru
            Reporter:
            Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: