Skip to content

Commit

Permalink
sysvar: debug expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
TomShawn authored and ti-chi-bot committed Aug 18, 2022
1 parent c7573f8 commit 6dbbeb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
- Type: Boolean
- Default value: `OFF`
- This variable controls the way commit TS is calculated for async commit. By default (with the `OFF` value), the two-phase commit requests a new TS from the PD server and uses the TS to calculate the final commit TS. In this situation, linearizability is guaranteed for all the concurrent transactions.
- If you set this variable to `ON`, the TS fetched from the PD server is saved, with the cost that only causal consistency is guaranteed but not linearizability. For more details, see the blog post [Async Commit, the Accelerator for Transaction Commit in TiDB 5.0](https://en.pingcap.com/blog/async-commit-the-accelerator-for-transaction-commit-in-tidb-5-0/).
- If you set this variable to `ON`, the process of fetching TS from the PD server is skipped, with the cost that only causal consistency is guaranteed but not linearizability. For more details, see the blog post [Async Commit, the Accelerator for Transaction Commit in TiDB 5.0](https://en.pingcap.com/blog/async-commit-the-accelerator-for-transaction-commit-in-tidb-5-0/).
- For scenarios that require only causal consistency, you can set this variable to `ON` to improve performance.

### tidb_hash_join_concurrency
Expand Down

0 comments on commit 6dbbeb4

Please sign in to comment.