From 62c1f3ac43af320bd4e0e19b377c393cf1635f27 Mon Sep 17 00:00:00 2001 From: Keke Yi <40977455+yikeke@users.noreply.github.com> Date: Fri, 12 Jun 2020 12:45:05 +0800 Subject: [PATCH] Update transaction-overview.md --- transaction-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transaction-overview.md b/transaction-overview.md index ddb89989beac0..442085b2b5a72 100644 --- a/transaction-overview.md +++ b/transaction-overview.md @@ -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.