This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
use OPTIMISTIC mode default #751
Labels
type/feature-request
This issue is a feature request
Milestone
Feature Request
Is your feature request related to a problem? Please describe:
Starting from v3.0.8, newly created TiDB clusters use the pessimistic transaction model by default
but for dm we can set session level optimistic transaction as default to improve performance.
ref https://pingcap.com/docs/dev/pessimistic-transaction/
Describe the feature you'd like:
Add optimistic txn session config connect to TiDB
Describe alternatives you've considered:
And merge multiple statements into one statement with multiple values in one transaction would help to improve performance.
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: