PingCAP, developers of the "NewSQL" database TiDB, have announced the general availability of TiDB 2.1. It's a Hybrid Transactional and Analytical Processing (HTAP) database that provides elastic horizontal scalability, strong consistency and high availability. TiDB has a MySQL-compatible interface and can be used for OLTP (Online Transactional Processing) and OLAP (Online Analytical Processing) workloads.
In TiDB 2.1 PingCAP have improved the cost-based optimizer (CBO) that in addition now allows manually adding hints for cases the optimizer doesn't pick up. TiDB 2.1 includes improvements to the execution of certain physical plans to increase performance, especially for hash aggregation and projection, by adding multi-thread execution.
Other notable features are an improved implementation of the Raft consensus algorithm, a concurrent DDL (data description language), readable EXPLAIN and EXPLAIN ANALYZE output, hotspot scheduling and a more efficient garbage collection process.
TiDB is licensed under the Apache 2.0 license and available on GitHub.