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

Log whether allowDiskUse:true aggregations used disk

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0, v3.6
    • Sprint:
      Query 2018-07-02, Query 2018-07-16, Query 2018-07-30, Query 2018-08-13
    • Case:

      Description

      For an aggregation query using the {allowDiskUse:true} option, there is currently no way to determine if a given query used disk, and if so, how much disk space it used. We should add this information to the slow query log entry in the mongod log and to the database profiler output in system.profile.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: