Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Query Optimization
-
Fully Compatible
-
QO 2023-05-15, QO 2023-05-29
Description
db.runCommand(
|
{
|
aggregate: "<collection>" || 1, |
pipeline: [ <stage>, <...> ],
|
explain: <boolean>, |
allowDiskUse: <boolean>, |
cursor: <document>,
|
maxTimeMS: <int>, |
bypassDocumentValidation: <boolean>, |
readConcern: <document>,
|
collation: <document>,
|
hint: <string or document>,
|
comment: <any>,
|
writeConcern: <document>,
|
let: <document> // Added in MongoDB 5.0 |
}
|
)
|
The fields aggregate, pipeline, explain, allowDiskUse, collation, hint, and let are part of the query shape and will be abstracted as such. The remaining field values should have literals abstracted.
Attachments
Issue Links
- depends on
-
SERVER-75139 Add shapification for DocumentSources which contain sub-pipelines
-
- Closed
-
-
SERVER-76367 Introduce interface to abstract out query request telemetry key generation and serialization
-
- Closed
-
- is depended on by
-
SERVER-75512 Store a hashed telemetry key rather than a BSONObj
-
- Closed
-
-
SERVER-75596 Stress $queryStats read path for aggregation
-
- Closed
-
-
SERVER-77325 Aggregate shapification on mongos
-
- Closed
-
-
SERVER-85075 Tracking: Milestone 2
-
- Closed
-
-
SERVER-76145 Refactor telemetry key
-
- Closed
-