@@ -1657,6 +1657,8 @@ metrics
1657
1657
totalTimeToFirstNonAuthCommandMillis : Long("<num>")
1658
1658
},
1659
1659
operation : {
1660
+ killedDueToClientDisconnect : Long("<num>"), // Added in MongoDB 7.1 (*Also available in 7.0.5*)
1661
+ killedDueToMaxTimeMSExpired : Long("<num>"), // Added in MongoDB 7.2 (*Also available in 7.0.5*)
1660
1662
numConnectionNetworkTimeouts : Long("<num>"), // Added in MongoDB 6.3
1661
1663
totalTimeWaitingBeforeConnectionTimeoutMillis : Long("<num>"), // Added in MongoDB 6.3
1662
1664
scanAndOrder : Long("<num>"),
@@ -1672,7 +1674,6 @@ metrics
1672
1674
},
1673
1675
query: {
1674
1676
allowDiskUseFalse: Long("<num>"),
1675
- planCacheTotalSizeEstimateBytes: Long("<num>"),
1676
1677
updateOneOpStyleBroadcastWithExactIDCount: Long("<num>"),
1677
1678
lookup: {
1678
1679
hashLookup: Long("<num>"),
@@ -2148,6 +2149,19 @@ metrics
2148
2149
A document that holds counters for several types of update and query
2149
2150
operations that MongoDB handles using special operation types.
2150
2151
2152
+ .. serverstatus:: metrics.operation.killedDueToClientDisconnect
2153
+
2154
+ .. versionadded:: 7.1 (*Also available in 7.0.5*)
2155
+
2156
+ Total number of operations cancelled before completion
2157
+ because the client disconnected.
2158
+
2159
+ .. serverstatus:: metrics.operation.killedDueToMaxTimeMSExpired
2160
+
2161
+ .. versionadded:: 7.2 (*Also available in 7.0.5*)
2162
+
2163
+ Total number of operations that timed out before completion.
2164
+
2151
2165
.. serverstatus:: metrics.operation.numConnectionNetworkTimeouts
2152
2166
2153
2167
.. versionadded:: 6.3
@@ -3853,15 +3867,41 @@ planCache
3853
3867
3854
3868
.. code-block:: javascript
3855
3869
3856
- planCache: {
3857
- classic: { hits: Long("<num>"), misses: Long("<num>") },
3858
- sbe: { hits: Long("<num>"), misses: Long("<num>") }
3870
+ planCache : {
3871
+ totalQueryShapes : Long("<num>"),
3872
+ totalSizeEstimateBytes : Long("<num>"),
3873
+ classic : {
3874
+ hits : Long("<num>"),
3875
+ misses : Long("<num>")
3876
+ },
3877
+ sbe : {
3878
+ hits : Long("<num>"),
3879
+ misses: Long("<num>")
3880
+ }
3859
3881
}
3860
3882
3861
3883
.. serverstatus:: planCache
3862
3884
3863
3885
A document that reports query plan cache statistics.
3864
3886
3887
+ .. serverstatus:: planCache.totalQueryShapes
3888
+
3889
+ Approximate number of :term:`query shapes <query shape>`.
3890
+
3891
+ Prior to version 7.2, information on the number of query shapes was stored in
3892
+ the ``query.planCacheTotalQueryShapes`` field.
3893
+
3894
+ .. versionadded:: 7.2 (*Also available in 7.0.5*)
3895
+
3896
+ .. serverstatus:: planCache.totalSizeEstimateBytes
3897
+
3898
+ Total size of the plan cache in bytes.
3899
+
3900
+ Prior to version 7.2, information on the plan cache size was stored in the
3901
+ ``query.planCacheTotalSizeEstimateBytes`` field.
3902
+
3903
+ .. versionadded:: 7.2 (*Also available in 7.0.5*)
3904
+
3865
3905
.. serverstatus:: planCache.classic.hits
3866
3906
3867
3907
Number of classic execution engine query plans found in the query
@@ -3874,12 +3914,12 @@ planCache
3874
3914
3875
3915
.. serverstatus:: planCache.sbe.hits
3876
3916
3877
- Number of slot-based execution engine query plans found in the query
3917
+ Number of |sbe-short| query plans found in the query
3878
3918
cache and reused to avoid the query planning phase.
3879
3919
3880
3920
.. serverstatus:: planCache.sbe.misses
3881
3921
3882
- Number of slot-based execution engine query plans which were not found
3922
+ Number of |sbe-short| plans which were not found
3883
3923
in the query cache and went through the query planning phase.
3884
3924
3885
3925
.. _server-status-queryAnalyzers:
@@ -6733,7 +6773,7 @@ wiredTiger
6733
6773
6734
6774
.. serverstatus:: wiredTiger.cache.bytes currently in the cache
6735
6775
6736
- Size in byte of the data currently in cache. This value should
6776
+ Size in bytes of the data currently in cache. This value should
6737
6777
not be greater than the ``maximum bytes configured`` value.
6738
6778
6739
6779
.. serverstatus:: wiredTiger.cache.unmodified pages evicted
0 commit comments