Releases: pingcap/tidb
Releases · pingcap/tidb
tidb-server v1.0.4
- Speed up the loading of the statistics when starting the
tidb-server
- Improve the performance of the
show variables
statement - Fix a potential issue when using the
Add Index
statement to handle the combined indexes - Fix a potential issue when using the
Rename Table
statement to move a table to another database - Accelerate the effectiveness for the
Alter/Drop User
statement
tidb-server v1.0.3
- Optimize the performance in transaction conflicts scenario
- Add the
TokenLimit
option in the config file - Output the default database in slow query logs
- Remove the DDL statement from query duration metrics
- Optimize the query cost estimation
- Fix the index prefix issue when creating tables
- Support pushing down the expressions for the Float type to TiKV
- Fix the issue that it is slow to add index for tables with discrete integer primary index
- Reduce the unnecessary statistics updates
- Fix a potential issue during the transaction retry
To upgrade from 1.0.2 to 1.0.3, follow the rolling upgrade order of PD->TiKV->TiDB.
tidb-server v1.0.2
- Optimize the cost estimation of index point query.
- Support the
Alter Table Add Column ( ColumnDef ColumnPosition)
syntax. - Optimize the queries whose
where
conditions are contradictory. - Optimize the
Add Index
operation to rectify the progress and reduce repetitive operations. - Optimize the
Index Look Join
operator to accelerate the query speed for small data size. - Fix the issue with prefix index judgement.
tidb-server v1.0.1
- Support canceling DDL Job.
- Optimize the
IN
expresssion. - Correct the result type of the
Show
statement. - Support log slow query into a seperate log file.
- Fix bugs.
tidb-server v1.0.0
- The SQL query optimizer:
- Adjust the cost model
- Analyze pushdown
- Function signature pushdown
- Optimize the internal data format to reduce the intrium data size
- Enhance the MySQL compatibility
- Support the
NO_SQL_CACHE
syntax and limit the cache usage in the storage engine - Refactor the Hash Aggregator operator to reduce the memory usage
- Support the Stream Aggragator operator
tidb-server 1.0 Pre-GA
- The SQL query optimizer:
- Adjust the cost model
- Use index scan to handle the
where
clause with thecompare
expression which has different types on each side - Support the Greedy algorithm based Join Reorder
- Many enhancements have been introduced to be more compatible with MySQL
- Support
Natural Join
- Support the JSON type (Experimental), including the query, update and index of the JSON fields
- Prune the useless data to reduce the consumption of the executor memory
- Support configuring prioritization in the SQL statements and automatically set the prioritization for some of the statements according to the query type
- Completed the expression refactor and the speed is increased by about 30%
tidb-server rc4
- The SQL query optimizer refactoring:
- Better support for TopN queries
- Support the automatic choice of the of the
Join
physical operator based on the cost - Improved Projection Elimination
- The version check of schema is based on Table to avoid the impact of DDL on the ongoing transactions
- Support
BatchIndexJoin
- Improve the
Explain
statement - Improve the
Index Scan
performance - Many enhancements have been introduced to be more compatible with MySQL
- Support the JSON type and operations
- Support the configuration of query prioritizing and isolation level
- Speed up DropIndex operation
tidb-server rc3
- The following features are added or improved in the SQL query optimizer:
- Support incremental statistics
- Support the
Merge Sort Join
operator - Support the
Index Lookup Join
operator - Support the
Optimizer Hint
Syntax - Optimize the memory consumption of the
Scan
,Join
,Aggregation
operators - Optimize the Cost Based Optimizer (CBO) framework
- Refactor
Expression
- Support more complete privilege management
- DDL acceleration
- Support using HTTP API to get the data distribution information of tables
- Support using system variables to control the query concurrency
- Add more MySQL built-in functions
- Support using system variables to automatically split a big transaction into smaller ones to commit
tidb-server rc2
- Query optimizer
- Collect column/index statistics and use them in the query optimizer
- Optimize the correlated subquery
- Optimize the Cost Based Optimizer (CBO) framework
- Eliminate aggregation using unique key information
- Refactor expression evaluation framework
- Convert Distinct to GroupBy
- Support the topn operation push-down
- Support basic privilege management
- Add lots of MySQL built-in functions
- Improve the Alter Table statement and support the modification of table name, default value and comment
- Support the Create Table Like statement
- Support the Show Warnings statement
- Support the Rename Table statement
- Restrict the size of a single transaction to avoid the cluster blocking of large transactions
- Automatically split data in the process of Load Data
- Optimize the performance of the AddIndex and Delete statement
- Support “ANSI_QUOTES” sql_mode
- Improve the monitoring system
- Solve the problem of memory leak
- Fix Bugs
tidb-server rc2-preview
plan: only plans that have apply will add cache. (#2564)