Skip to content

Commit

Permalink
Update transaction-overview.md (pingcap#2818)
Browse files Browse the repository at this point in the history
  • Loading branch information
yikeke authored Jun 12, 2020
1 parent a578a68 commit 54180ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transaction-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ TiDB supports both optimistic and pessimistic transactions, and optimistic trans

By default, TiDB sets the total size of a single transaction to no more than 100 MB. You can modify this default value via `txn-total-size-limit` in the configuration file. The maximum value of `txn-total-size-limit` is 10 GB.

The actual individual transaction size limit also depends on the amount of remaining memory available to the server, because when a transaction is executed, the memory usage of the TiDB process is approximately six times larger than the total size of transactions.
The actual individual transaction size limit also depends on the amount of remaining memory available to the server, because when a transaction is executed, the memory usage of the TiDB process is approximately six times the size of the transaction.

Before v4.0, TiDB restricts the total number of key-value pairs for a single transaction to no more than 300,000. This limitation is removed since v4.0.

Expand Down

0 comments on commit 54180ca

Please sign in to comment.