Prevent CE caching above a threshold number of intervals in an index bounds set

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The CE cache uses MatchExpression hashes as keys, so adding index bounds to the cache involves converting them to a match expression, which can be very expensive for long queries.

      Determine a threshold number of intervals at which building the MatchExpression to hash as a cache key is more expensive than the CE computation itself. Prevent CE caching from occurring in these instances.

      This was discovered in relation to the long running CE for large $in queries and is necessary to bring samplingCE performance for those cases in line with existing MP performance.

            Assignee:
            Natalie Hill
            Reporter:
            Natalie Hill
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: