[SERVER-16020] Suppress non-applicable profiling data when using WT Created: 29/Oct/14  Updated: 17/May/19  Resolved: 13/Nov/14

Status: Closed
Project: Core Server
Component/s: Diagnostics, Storage
Affects Version/s: None
Fix Version/s: 2.8.0-rc1

Type: Improvement Priority: Major - P3
Reporter: Daniel Pasette (Inactive) Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-4447 Update profiling data output example Closed
Related
related to SERVER-16305 Suppress saveState , restoreState sta... Closed
Tested
Backwards Compatibility: Major Change
Participants:

 Description   

Think about suppressing fields that don't apply:

> db.system.profile.find().pretty()
{
	"op" : "query",
	"ns" : "test.system.profile",
	"query" : {
 
	},
	"ntoreturn" : 0,
	"ntoskip" : 0,
	"nscanned" : 0,
	"nscannedObjects" : 0,
        "keyUpdates" : 0,
        "numYield" : 0,                          <=== this no longer applies
	"lockStats" : {                            <=== this no longer applies
		"timeLockedMicros" : {
 
		},
		"timeAcquiringMicros" : {
 
		}
	},
	"nreturned" : 0,
	"responseLength" : 20,
	"millis" : 0,
	"execStats" : {
		"stage" : "COLLSCAN",
		"filter" : {
			"$and" : [ ]
		},
		"nReturned" : 0,
		"executionTimeMillisEstimate" : 0,
		"works" : 2,
		"advanced" : 0,
		"needTime" : 1,
		"saveState" : 0,
		"restoreState" : 0,
		"isEOF" : 1,
		"invalidates" : 0,
		"direction" : "forward",
		"docsExamined" : 0
	},
	"ts" : ISODate("2014-10-29T15:23:30.045Z"),
	"client" : "127.0.0.1",
	"allUsers" : [ ],
	"user" : ""
}



 Comments   
Comment by Githook User [ 13/Nov/14 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-16020: Suppress non-applicable profiling data when using WT
Branch: master
https://github.com/mongodb/mongo/commit/08e15d0ea10a9445cb356b14c29c1a0499b35337

Generated at Thu Feb 08 03:39:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.