Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-99650

Expose sampling metrics in CBR explain section

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

      For debugging sampling queries, we need to expose the following:

      • Number of documents sampled from the collection
      • Microseconds we spent sampling the collection
      • Microseconds we spent in the sampling estimator
        • I'm not sure whether this should be broken down by predicate we estimate or if we should report a total number for all time spent in sampling estimator

      There may be some design work here to decide where these entries should go, for example in queryPlanner or executionStats sections.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: