docker-compose.yml way to build a good test environment TiDB
Enterprise
2019-08-21 11:58:33
views: null
stmt-count-limit
- The maximum sentence TiDB a number of transactions allowed limit.
- Default: 5000
- No rollback or commit a transaction after more than stmt-count-limit statement, TiDB will return statement count 5001 exceeds the transaction limitation, autocommit = false errors.
Tidb-server need to modify the configuration file, view into the container, to the root directory,
check docker-compose.yml file, that file is mapped out, the file server on a physical modification, the modified stmt-count-limit for the 100000, after Tidb-server service will restart normal configuration changed
- Increasing the limit on the number of things choose a single statement tidb, but this can lead to memory prices.
Origin blog.51cto.com/13767724/2431262