Avoid creating sample when answering a query with an empty filter {} (find all query)

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Critical - P2
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should be able to skip generating a sample when we are processing a find({}) query because the cardinality in this case is the collection cardinality which we can access from the collection metadata.

            Assignee:
            Kartal Kaan Bozdogan
            Reporter:
            Naafiyan Ahmed
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: