TiDB 2.1.6 Release Notes
On March 15, 2019, TiDB 2.1.6 is released. The corresponding TiDB Ansible 2.1.6 is also released. Compared with TiDB 2.1.5, this release has greatly improved the stability, the SQL optimizer, statistics, and the execution engine.
TiDB
SQL Optimizer/Executor
- Optimize planner to select the outer table based on cost when both tables are specified in Hint of
TIDB_INLJ
#9615 - Fix the issue that
IndexScan
cannot be selected correctly in some cases #9587 - Fix incompatibility with MySQL of check in the
agg
function in subqueries #9551 - Make
show stats_histograms
only output valid columns to avoid panics #9502
- Optimize planner to select the outer table based on cost when both tables are specified in Hint of
Server
DDL
TiKV
- Fix the issue that a
protobuf
parsing failure would in some cases cause aStoreNotMatch
error #4303
Tools
- Lightning
- Change the default
region-split-size
of importer to 512 MiB #4369 - Save the intermediate SST previously cached in memory to the local disk to reduce memory usage #4369
- Limit the memory usage of RocksDB #4369
- Fix the issue that Regions are scattered before scheduling is finished #4369
- Separate importing of data and indexes for large tables to effectively reduce time consumption when importing in batches #132
- Support CSV #111
- Fix the error of import failure due to non-alphanumeric characters in schema names #9547
- Change the default