TiDB 3.0.9 发布,分布式 NewSQL 数据库
TiDB3.0.9现已发布,该版本更新内容如下: TiDB Executor 修复聚合函数作用于枚举和集合列时结果不正确的问题#14364 Server 支持系统变量auto_increment_increment和auto_increment_offset#14396 新增tidb_tikvclient_ttl_lifetime_reach_total监控项,监控悲观事务 TTL 达到 10 分钟的数量#14300 执行 SQL 过程中当发生 panic 时输出导致 panic 的 SQL 信息#14322 statement summary 系统表新增plan和plan_digest字段,记录当前正在执行的plan和plan的签名#14285 配置项stmt-summary.max-stmt-count的默认值从100调整至200#14285 slow query 表新增plan_digest字段,记录plan的签名#14292 DDL 修复alter table ... add index语句创建匿名索引行为与 MySQL 不一致的问题#14310 修复drop table错误删除视图的问题#14052 Planner 提升类似select max(a), min(a) from t语句的性能。如果a列表上有索引,该语句会被优化为select * from (select a from t order by a desc limit 1) as t1, (select a from t order by a limit 1) as t2以避免全表扫#14410 TiKV Raftstore 提升 Raft 成员变更的速度#6421 Transaction 新增tikv_lock_manager_waiter_lifetime_duration、tikv_lock_manager_detect_duration、tikv_lock_manager_detect_duration监控项,用于监控waiter的生命周期、死锁检测耗费时间、wait table的状态#6392 通过优化配置项wait-for-lock-time默认值从3s调整到1s、wake-up-delay-duration默认值从100ms调整为20ms,以降低极端场景下 Region Leader 切换、切换死锁检测的 leader 导致的事务执行延迟#6429 修复 Region Merge 过程中可能导致死锁检测器 leader 角色误判的问题#6431 PD 新增 location label 的名字中允许使用斜杠/的功能#2083 修复因为不正确地统计了 tombstone 的标签,导致该统计信息不准的问题#2060 Tools TiDB Binlog Drainer 输出的 binlog 协议中新增 unique key 信息#862 Drainer 支持使用加密后的数据库连接密码#868 TiDB Ansible 优化 Lightning 部署,自动创建相关目录#1105 发布说明