On November 30, 2018, TiKV 2.1 GA is released. See the following updates in this release. Compared with TiKV 2.0, this release has great improvements in stability, performance, and usability.
Coprocessor
- Add more built-in functions
- Add Coprocessor
ReadPoolto improve the concurrency in processing the requests - Fix the time function parsing issue and the time zone related issues
- Optimize the memory usage for pushdown aggregation computing
Transaction
- Optimize the read logic and memory usage of MVCC to improve the performance of the scan operation and the performance of full table scan is 1 time better than that in TiDB 2.0
- Fold the continuous Rollback records to ensure the read performance
- Add the
UnsafeDestroyRangeAPI to support to collecting space for the dropping table/index - Separate the GC module to reduce the impact on write
- Add the
upper boundsupport in thekv_scancommand
Raftstore
- Improve the snapshot writing process to avoid RocksDB stall
- Add the
LocalReaderthread to process read requests and reduce the delay for read requests - Support
BatchSplitto avoid large Region brought by large amounts of write - Support
Region Splitaccording to statistics to reduce the I/O overhead - Support
Region Splitaccording to the number of keys to improve the concurrency of index scan - Improve the Raft message process to avoid unnecessary delay brought by
Region Split - Enable the
PreVotefeature by default to reduce the impact of network isolation on services
Storage Engine
- Fix the
CompactFilesbug in RocksDB and reduce the impact on importing data using Lightning - Upgrade RocksDB to v5.15 to fix the possible issue of snapshot file corruption
- Improve
IngestExternalFileto avoid the issue that flush could block write
tikv-ctl
- Add the
ldbcommand to diagnose RocksDB related issues - The
compactcommand supports specifying whether to compact data in the bottommost level