Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions source/includes/getMore-slow-queries.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Starting in MongoDB 5.1 (and 4.4.4 and 4.2.12), when a
:dbcommand:`getMore` command is logged as a :ref:`slow query
<log-message-slow-ops>`, the :ref:`queryHash <query-hash>` and
:ref:`planCacheKey <plan-cache-key>` fields are added to the :ref:`slow
query log message <log-message-slow-ops>` and the :doc:`profiler log
message </tutorial/manage-the-database-profiler>`.
4 changes: 4 additions & 0 deletions source/reference/command/getMore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -216,3 +216,7 @@ For :doc:`multi-document transactions </core/transactions>`:

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

Slow Queries
~~~~~~~~~~~~

.. include:: /includes/getMore-slow-queries.rst
5 changes: 5 additions & 0 deletions source/release-notes/5.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ Opcode Counters
Resharding Statistics
- :serverstatus:`shardingStatistics.resharding.lastOpEndingChunkImbalance`

Extra Logging Fields for Slow Queries with ``getMore`` Command
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. include:: /includes/getMore-slow-queries.rst

Schema Validation Errors Contain Description Field
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down