TiDB 3.0.9 Release Notes
Release date: January 14, 2020
TiDB version: 3.0.9
TiDB Ansible version: 3.0.9
TiDB
- Executor
- Fix the incorrect result when the aggregate function is applied to the
ENUMcolumn and the collection column #14364
- Fix the incorrect result when the aggregate function is applied to the
- Server
- Support the
auto_increment_incrementandauto_increment_offsetsystem variables #14396 - Add the
tidb_tikvclient_ttl_lifetime_reach_totalmonitoring metric to monitor the number of pessimistic transactions with a TTL of 10 minutes #14300 - Output the SQL information in the log when the SQL query causes a panic during its execution #14322
- Add the
planandplan_digestfields in the statement summary table to record theplanthat is being executed and theplansignature #14285 - Adjust the default value of the
stmt-summary.max-stmt-countconfiguration item from100to200#14285 - Add the
plan_digestfield in the slow query table to record theplansignature #14292
- Support the
- DDL
- Planner
- Optimize the performance of statements such as
select max(a), min(a) from t. If an index exists in theacolumn, the statement is optimized toselect * from (select a from t order by a desc limit 1) as t1, (select a from t order by a limit 1) as t2to avoid full table scan #14410
- Optimize the performance of statements such as
TiKV
- Raftstore
- Speed up the configuration change to speed up the Region scattering #6421
- Transaction
- Add the
tikv_lock_manager_waiter_lifetime_duration,tikv_lock_manager_detect_duration, andtikv_lock_manager_detect_durationmonitoring metrics to monitorwaiters’ lifetime, the time cost of detecting deadlocks, and the status ofWaittable #6392 - Optimize the following configuration items to reduce transaction execution latency caused by changing Region leader or the leader of deadlock detector in extreme situations #6429
- Change the default value of
wait-for-lock-timefrom3sto1s - Change the default value of
wake-up-delay-durationfrom100msto20ms
- Change the default value of
- Fix the issue that the leader of the deadlock detector might be incorrect during the Region Merge process #6431
- Add the
PD
- Support using backlash
/in the location label name #2083 - Fix the incorrect statistics because the tombstone store is mistakenly included by the label counter #2067
Tools
- TiDB Binlog
TiDB Ansible
- Support automatically creating directories to optimize the deployment of TiDB Lightning #1105