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

Suppress saveState , restoreState stats from profiling output for WT

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Works as Designed
    • 2.8.0-rc1
    • None
    • Diagnostics, Storage
    • Fully Compatible

    Description

      Example Profiling document for WT:

      {
      	"op" : "query",
      	"ns" : "test.system.profile",
      	"query" : {
      		"op" : "insert"
      	},
      	"cursorid" : 14724506024,
      	"ntoreturn" : 0,
      	"ntoskip" : 0,
      	"nscanned" : 0,
      	"nscannedObjects" : 101,
      	"keyUpdates" : 0,
      	"nreturned" : 101,
      	"responseLength" : 19917,
      	"millis" : 1,
      	"execStats" : {
      		"stage" : "COLLSCAN",
      		"filter" : {
      			"op" : {
      				"$eq" : "insert"
      			}
      		},
      		"nReturned" : 101,
      		"executionTimeMillisEstimate" : 0,
      		"works" : 102,
      		"advanced" : 101,
      		"needTime" : 1,
      		"needFetch" : 0,
      		"saveState" : 0,
      		"restoreState" : 0,
      		"isEOF" : 0,
      		"invalidates" : 0,
      		"direction" : "forward",
      		"docsExamined" : 101
      	},
      	"ts" : ISODate("2014-11-24T21:54:23.550Z"),
      	"client" : "127.0.0.1",
      	"allUsers" : [ ],
      	"user" : ""
      }

      Notice that execStats.saveState and execStats.restoreState is 0. It is always 0 for all the documents. It seems to be related to yielding and since numYield was suppressed from WT (SERVER-16020), we should probably suppress execStats.saveState and execStats.restoreState .

      Attachments

        Issue Links

          Activity

            People

              david.storch@mongodb.com David Storch
              jalpa.trivedi@mongodb.com Jalpa Trivedi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: