Skip to content

Commit bf91714

Browse files
jason-price-mongodbjason-price-mongodb
and
jason-price-mongodb
authored
DOCS-14927 queryHash and planCacheKey (#6153)
Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 633b036 commit bf91714

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Starting in MongoDB 5.1 (and 4.4.4 and 4.2.12), when a
2+
:dbcommand:`getMore` command is logged as a :ref:`slow query
3+
<log-message-slow-ops>`, the :ref:`queryHash <query-hash>` and
4+
:ref:`planCacheKey <plan-cache-key>` fields are added to the :ref:`slow
5+
query log message <log-message-slow-ops>` and the :doc:`profiler log
6+
message </tutorial/manage-the-database-profiler>`.

source/reference/command/getMore.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,7 @@ For :doc:`multi-document transactions </core/transactions>`:
216216

217217
.. include:: /includes/extracts/transactions-operations-getMore.rst
218218

219+
Slow Queries
220+
~~~~~~~~~~~~
221+
222+
.. include:: /includes/getMore-slow-queries.rst

source/release-notes/5.1.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ Opcode Counters
179179
Resharding Statistics
180180
- :serverstatus:`shardingStatistics.resharding.lastOpEndingChunkImbalance`
181181

182+
Extra Logging Fields for Slow Queries with ``getMore`` Command
183+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
184+
185+
.. include:: /includes/getMore-slow-queries.rst
186+
182187
Schema Validation Errors Contain Description Field
183188
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
184189

0 commit comments

Comments
 (0)