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
1 change: 1 addition & 0 deletions snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ toc_landing_pages = [
"/tutorial/install-mongodb-on-suse",
"/tutorial/install-mongodb-on-ubuntu",
"/tutorial/install-mongodb-on-windows",
"/tutorial/manage-the-database-profiler",
"/tutorial/query-documents",
"/tutorial/remove-documents",
"/tutorial/update-documents"
Expand Down
7 changes: 5 additions & 2 deletions source/reference/database-profiler.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,18 @@ use normal MongoDB queries on the :data:`system.profile
database, the profiler will profile some write activity, even for
databases that are otherwise read-only.

.. versionchanged:: 3.4

:dbcommand:`currentOp` and the
:doc:`database profiler</reference/database-profiler>` report the same
basic diagnostic information for all CRUD operations, including the
following:

.. include:: /includes/fact-diagnostic-info.rst

Starting in MongoDB 4.4, it is no longer possible to perform any
operation, including reads, on the :data:`system.profile
<<database>.system.profile>` collection from within a
:doc:`transaction </core/transactions>`.

Example ``system.profile`` Document
-----------------------------------

Expand Down
5 changes: 5 additions & 0 deletions source/tutorial/manage-the-database-profiler.txt
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,11 @@ To view profiling information, query the :data:`system.profile
:ref:`database-profiling-example-queries`. For an explanation of the
output data, see :doc:`/reference/database-profiler`.

Starting in MongoDB 4.4, it is no longer possible to perform any
operation, including reads, on the :data:`system.profile
<<database>.system.profile>` collection from within a
:doc:`transaction </core/transactions>`.

.. tip::

You can use :query:`$comment` to add data to the query predicate to
Expand Down