File tree Expand file tree Collapse file tree 4 files changed +45
-5
lines changed Expand file tree Collapse file tree 4 files changed +45
-5
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,13 @@ encryption at rest configuration.
6565
6666.. _inmemory-concurrency:
6767
68- Concurrency
69- -----------
68+ Transaction (Read and Write) Concurrency
69+ ----------------------------------------
70+
71+ .. include:: /includes/fact-dynamic-concurrency.rst
72+
73+ Document Level Concurrency
74+ --------------------------
7075
7176The in-memory storage engine uses *document-level* concurrency control for write
7277operations. As a result, multiple clients can modify different
Original file line number Diff line number Diff line change @@ -60,6 +60,22 @@ engine:
6060 WiredTiger doesn't allocate cache on a per-database or per-collection
6161 level.
6262
63+ Transaction (Read and Write) Concurrency
64+ ----------------------------------------
65+
66+ .. include:: /includes/fact-dynamic-concurrency.rst
67+
68+ To view the number of concurrent read transactions (read tickets) and
69+ write transactions (write tickets) allowed in the WiredTiger storage
70+ engine, use the :dbcommand:`serverStatus` command and see the
71+ :serverstatus:`wiredTiger.concurrentTransactions` parameter.
72+
73+ .. note::
74+
75+ A low value of :serverstatus:`wiredTiger.concurrentTransactions` does
76+ not indicate a cluster overload. Use the number of queued read and
77+ write tickets as an indication of cluster overload.
78+
6379Document Level Concurrency
6480--------------------------
6581
Original file line number Diff line number Diff line change 1- Starting in MongoDB 7.0, a default algorithm is used to dynamically adjust
2- the maximum number of concurrent storage engine transactions (including both
3- read and write tickets) to optimize database throughput during overload.
1+ Starting in version 7.0, MongoDB uses a default algorithm to dynamically
2+ adjust the maximum number of concurrent storage engine transactions
3+ (including both read and write tickets) to optimize database throughput
4+ during overload.
45
56The following table summarizes how to identify overload scenarios for MongoDB
677.0 and prior releases:
Original file line number Diff line number Diff line change 1+ Starting in version 7.0, MongoDB uses a default algorithm to dynamically
2+ adjust the maximum number of concurrent storage engine transactions
3+ (read and write tickets). The dynamic concurrent storage engine
4+ transaction algirithm optimizes database throughput during cluster
5+ overload. The maximum number of concurrent storage engine transactions
6+ (read and write tickets) never exceeds 128 read tickets and 128
7+ write tickets and may differ across nodes in a cluster. The maximum
8+ number of read tickets and write tickets within a single node are always
9+ equal.
10+
11+ To specify a maximum number of read and write transactions (read and
12+ write tickets) that the dynamic maximum can not exceed, use
13+ :parameter: `storageEngineConcurrentReadTransactions ` and
14+ :parameter: `storageEngineConcurrentWriteTransactions `.
15+
16+ If you want to disable the dynamic concurrent storage engine
17+ transactions algorithm, file a support request to work with a MongoDB
18+ Technical Services Engineer.
You can’t perform that action at this time.
0 commit comments