Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Sharding NYC
-
Fully Compatible
-
Sharding NYC 2023-02-06, Sharding NYC 2023-02-20, Sharding NYC 2023-03-06
Description
From the design:
The $currentOp output on mongos and mongod will contain a document of the following format for each collection with query sampling enabled:
{
|
desc: "query analyzer",
|
ns: "<database>.<collection>",
|
collUuid: <uuid>,
|
sampleRate: <double>, // On a shared cluster, this is a mongos-only field since shardsvr mongods don’t know about sample rates.
|
sampledReadsCount: <integer>,
|
sampledWritesCount: <integer>,
|
sampledReadsBytes: <integer>,
|
sampledWritesBytes: <integer>
|
}
|
Attachments
Issue Links
- is related to
-
SERVER-70996 Add serverStatus reporting for query analysis
-
- Closed
-