我正在尝试调试以查找为什么单个字段更新需要60秒以上的根本原因,但无法弄清楚。如果你帮助我指明如何继续,那将会很棒。
system.pofile文件:
{
"_id" : ObjectId("5aa2e63b27001947449f1eed"),
"op" : "update",
"ns" : "abc.xyz",
"query" : {
"aId" : "5aa298dce4b0ef9feffe70e1",
},
"updateobj" : {
"$set" : {
"psdt" : ISODate("2018-03-09T17:36:31.277Z")
}
},
"nscanned" : 20,
"nscannedObjects" : 20,
"nMatched" : 20,
"nModified" : 20,
"keyUpdates" : 0,
"writeConflicts" : 0,
"numYield" : 5,
"locks" : {
"Global" : {
"acquireCount" : {
"r" : NumberLong(26),
"w" : NumberLong(26)
}
},
"Database" : {
"acquireCount" : {
"w" : NumberLong(26)
}
},
"Collection" : {
"acquireCount" : {
"w" : NumberLong(6)
}
},
"oplog" : {
"acquireCount" : {
"w" : NumberLong(20)
}
}
},
"millis" : 69765
}