Wednesday, 15 June 2011

profiling - Understanding MongoDb runtimeStats object got as a result of enabling "recordQueryStats : true" -



profiling - Understanding MongoDb runtimeStats object got as a result of enabling "recordQueryStats : true" -

i using nodejs-mongodb version 1.3.19 nodejs. query stats i've set recordquerystats:true :

{ querystats: { m_n: 22, m_oldm: 666.9545454545455, m_olds: 45735878.95454546, m_newm: 666.9545454545455, m_news: 45735878.95454546, numdatavalues: [getter], mean: [getter], variance: [getter], standarddeviation: [getter], sscore: [getter] } }

as i'm new this, can explain these fields resemble?

the querystats object contains request latency statistics. m_* values used calculate statistics provided via "getter" functions. next blog entry provides more background on these stats: http://www.johndcook.com/standard_deviation.html

within driver new info point recorded here.

mongodb profiling

No comments:

Post a Comment