Skip to content

Commit 2b6b082

Browse files
authored
DOCS-16595 New planCache Query Counter (#6068)
1 parent b69a18d commit 2b6b082

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

source/reference/command/serverStatus.txt

+18-2
Original file line numberDiff line numberDiff line change
@@ -3907,11 +3907,13 @@ planCache
39073907
totalSizeEstimateBytes : Long("<num>"),
39083908
classic : {
39093909
hits : Long("<num>"),
3910-
misses : Long("<num>")
3910+
misses : Long("<num>"),
3911+
skipped : Long("<num>")
39113912
},
39123913
sbe : {
39133914
hits : Long("<num>"),
3914-
misses: Long("<num>")
3915+
misses: Long("<num>"),
3916+
skipped : Long("<num>")
39153917
}
39163918
}
39173919

@@ -3948,6 +3950,13 @@ planCache
39483950
Number of classic execution engine query plans which were not found
39493951
in the query cache and went through the query planning phase.
39503952

3953+
.. serverstatus:: planCache.classic.skipped
3954+
3955+
Number of classic execution engine query plans that were not found in the
3956+
query cache because the query is ineligible for caching.
3957+
3958+
.. versionadded:: 7.3
3959+
39513960
.. serverstatus:: planCache.sbe.hits
39523961

39533962
Number of |sbe-short| query plans found in the query
@@ -3958,6 +3967,13 @@ planCache
39583967
Number of |sbe-short| plans which were not found
39593968
in the query cache and went through the query planning phase.
39603969

3970+
.. serverstatus:: planCache.sbe.skipped
3971+
3972+
Number of |sbe-short| query plans that were not found in the
3973+
query cache because the query is ineligible for caching.
3974+
3975+
.. versionadded:: 7.3
3976+
39613977
.. _server-status-queryStats:
39623978

39633979
queryStats

source/release-notes/7.3.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ includes the following new metrics:
3939

4040
- :serverstatus:`metrics.repl.waiters.replication`
4141
- :serverstatus:`metrics.repl.waiters.opTime`
42-
42+
- :serverstatus:`planCache.classic.skipped`
43+
- :serverstatus:`planCache.sbe.skipped`

0 commit comments

Comments
 (0)