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

      Each query that runs through the sampling estimator currently holds a sample in memory. Currently, the memory usage of that sample is already computed in SamplingEstimatorImpl::getSamplingMetadata() but this is only exposed in explain:

      • It is not charged to the operation's memory tracker, so it does not show up in peakTrackedMemBytes.
      • No serverStatus metric reports the memory size of the sample bytes so this information is not available in FTDC.

      This would be an extremely valuable tool in diagnosing future HELP tickets that may arise.

            Assignee:
            Unassigned
            Reporter:
            Naafiyan Ahmed
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: