TiDB 3.0.9 has been released, this version updates are as follows:
TiDB
- Executor
- Repair aggregate functions when applied to enumerate a collection of columns in the result and not the right questions # 14364
- Server
- Support system variables
auto_increment_increment
andauto_increment_offset
# 14396 - New
tidb_tikvclient_ttl_lifetime_reach_total
monitoring item, transaction monitoring pessimistic TTL to 10 minutes Number # 14300 - Output leads to panic when you execute the SQL in SQL procedures when panic occurs # 14322
- statement summary new system tables
plan
andplan_digest
fields, records currently being executedplan
andplan
signature # 14285 - Configuration Item
stmt-summary.max-stmt-count
default values from100
the adjustment to200
# 14285 - slow query table new
plan_digest
fields, recordsplan
the signature # 14292
- Support system variables
- DDL
- Planner
- Upgrade similar
select max(a), min(a) from t
statement performance. Ifa
there is an index on the list, the statement will be optimizedselect * from (select a from t order by a desc limit 1) as t1, (select a from t order by a limit 1) as t2
to avoid full table scan # 14410
- Upgrade similar
TiKV
- Raftstore
- Raft members to enhance the speed of change # 6421
- Transaction
- New
tikv_lock_manager_waiter_lifetime_duration
,tikv_lock_manager_detect_duration
,tikv_lock_manager_detect_duration
monitored item for monitoringwaiter
of the life cycle, deadlock detection time-consuming,wait table
the state # 6392 - By optimizing the configuration item
wait-for-lock-time
The default value from the3s
adjusted1s
,wake-up-delay-duration
the default value from the100ms
adjusted as20ms
to reduce the switching Region Leader extreme scenario, the deadlock detection switch leader transaction execution delays due to # 6429 - Region Merge repair process may lead to deadlock detector leader role misjudgment question # 6431
- New
PD
- New location label names are allowed slashes
/
functions # 2083 - Repair because they do not correctly count the tombstone of the label, leading the statistics are not allowed to question # 2060
Tools
- TiDB Binlog
TiDB Ansible
- Lightning optimization deployment, automatically creates the relevant directories # 1105