Skip to content

fix build error on change streams page #6036

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2021
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,10 @@ stream catches up to the first chunk migration, the ``documentKey`` in the
change stream notification document only includes the ``_id`` of the document,
not the full shard key.

Indexes and Performance
-----------------------
Indexes
-------

Change streams cannot use indexes. MongoDB does not support creating
indexes on the :term:`oplog` collection. Therefore, avoid opening a high
number of :ref:`specifically-targeted <changeStreams-watch-deployment>`
change streams as these can impact server performance.

Change Stream Optimization
~~~~~~~~~~~~~~~~~~~~~~~~~~

.. |change-streams| replace:: change streams

.. include:: /includes/change-streams-optimization.rst