Skip to content

DOCS-984 multiple-index builds #705

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

Closed
wants to merge 1 commit into from
Closed
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
8 changes: 6 additions & 2 deletions source/core/indexes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -557,9 +557,13 @@ following:
Be aware of the following behaviors with background index
construction:

- A :program:`mongod` instance can only build one background index per
database, at a time.
- A :program:`mongod` instance can build more than one index in the
background concurrently.

.. versionchanged:: 2.4
Before 2.4, a :program:`mongod` instance could only build one
background index per database at a time.

.. versionchanged:: 2.2
Before 2.2, a single :program:`mongod` instance could only build
one index at a time.
Expand Down
8 changes: 8 additions & 0 deletions source/release-notes/2.4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1382,3 +1382,11 @@ and :setting:`setParameter` in the configuration file. Currently

See :doc:`/reference/parameters` for full documentation of available
parameters and their use.

Multiple Index Builds
~~~~~~~~~~~~~~~~~~~~~

A single :program:`mongod` instance can build more than one index in
the background concurrently. This feature is useful when :ref:`building
indexes in the background <index-creation-background>`. Foreground
index builds hold a database lock and must proceed one at a time.