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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • 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:
            Matt Olma
            Reporter:
            Naafiyan Ahmed
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: