Releases: pingcap/tidb
Releases · pingcap/tidb
tidb-server v2.0.0-rc.3
- Fix the wrong result issue of
MAX/MINin some scenarios - Fix the issue that the result of
Sort Merge Joindoes not show in order of Join Key in some scenarios - Fix the error of comparison between
uintandintin boundary conditions - Optimize checks on length and precision of the floating point type, to improve compatibility with MySQL
- Improve the parsing error log of time type and add more error information
- Improve memory control and add statistics about
IndexLookupExecutormemory - Optimize the execution speed of
ADD INDEXto greatly increase the speed in some scenarios - Use the Stream Aggregation operator when the
GROUP BYsubstatement is empty, to increase the speed - Support bypass the
Join Reorderoptimization in the optimizer usingSTRAIGHT_JOIN - Output more detailed status information of DDL jobs in
ADMIN SHOW DDL JOBS - Support querying the original statements of currently running DDL jobs using
ADMIN SHOW DDL JOB QUERIES - Support recovering the index data using
ADMIN RECOVER INDEXfor disaster recovery - Attach a lower priority to the
ADD INDEXoperation to reduce the impact on online business - Support aggregation functions with JSON type parameters, such as
SUM/AVG - Support modifying the
lower_case_table_namessystem variable in the configuration file, to support the OGG data synchronization tool - Improve compatibility with the Navicat management tool
- Support using implicit RowID in CRUD operations
tidb-server v2.0.0-rc.1
- Support limiting the memory usage by a single SQL statement, to reduce the risk of OOM
- Support pushing the Stream Aggregate operator down to TiKV
- Support validating the configuration file
- Support obtaining the configuration of TiDB through HTTP API
- Compatible with more MySQL syntax in Parser
- Improve the compatibility with Navicat
- Improve the optimizer and extract common expressions with multiple OR conditions, to choose a better query plan
- Improve the optimizer and convert subqueries to Join operators in more scenarios, to choose a better query plan
- Resolve Lock in the Batch mode to increase the garbage collection speed
- Fix the length of Boolean field to improve compatibility
- Optimize the Add Index operation and give lower priority to all write and read operations, to reduce the impact on online business
tidb-server v1.1.0-beta
- Add more monitoring metrics and refine the log
- Compatible with more MySQL syntax
- Support displaying the table creating time in
information_schema - Optimize queries containing the
MaxOneRowoperator - Configure the size of intermediate result sets generated by Join, to further reduce the memory used by Join
- Add the
tidb_configsession variable to output the current TiDB configuration - Fix the panic issue in the
UnionandIndex Joinoperators - Fix the wrong result issue of the
Sort Merge Joinoperator in some scenarios - Fix the issue that the
Show Indexstatement shows indexes that are in the process of adding - Fix the failure of the
Drop Statsstatement - Optimize the query performance of the SQL engine to improve the test result of the Sysbench -
Select/OLTP by 10% - Improve the computing speed of subqueries in the optimizer using the new execution engine; compared with TiDB 1.0, TiDB 1.1 Beta has great improvement in tests like TPC-H and TPC-DS
tidb-server v1.0.8
- Fix issues in the
Outer Joinresult in some scenarios - Optimize the performance of the
InsertIntoIgnorestatement - Fix the issue in the
ShardRowIDoption - Add limitation (Configurable, the default value is 5000) to the DML statements number within a transaction
- Fix an issue in the Table/Column aliases returned by the
Preparestatement - Fix an issue in updating statistics delta
- Fix a panic error in the
Drop Columnstatement - Fix an DML issue when running the
Add Column Afterstatement - Improve the stability of the GC process by ignoring the regions with GC errors
- Run GC concurrently to accelerate the GC process
- Provide syntax support for the
CREATE INDEXstatement
tidb-server v1.1.0-alpha.1
- SQL parser
- Support more syntax
- SQL query optimizer
- Use more compact structure to reduce statistics info memory usage
- Speed up loading statistics info when starting the tidb-server
- Provide more accurate query cost evaluation
- Use Count-Min Sketch to evaluate the cost of queries using unique index more accurately
- Support more complex conditions to make full use of index
- SQL executor
- Refactor all executor operators using Chunk architecture, improve the execution performance of analytical statements and reduce memory usage
- Optimize performance of the INSERT IGNORE statement
- Push down more types and functions to TiKV
- Support more SQL_MODE
- Optimize the
Load Dataperformance to increase the speed by 10 times - Optimize the
Use Databaseperformance - Support statistics on the memory usage of physical operators
- Server
- Support the PROXY protocol
tidb-server v1.0.7
- Optimize the
FIELD_LISTcommand - Fix data race of the information schema
- Avoid adding read-only statements to history
- Add the
sessionvariable to control the log query - Fix the resource leak issue in statistics
- Fix the goroutine leak issue
- Add schema info API for the http status server
- Fix an issue about
IndexJoin - Update the behavior when
RunWorkeris false in DDL - Improve the stability of test results in statistics
- Support
PACK_KEYSsyntax for theCREATE TABLEstatement - Add
row_idcolumn for the null pushdown schema to optimize performance
tidb-server v1.0.6
- Support the
Alter Table Auto_Incrementsyntax - Fix the bug in Cost Based computation and the
Null Jsonissue in statistics - Support the extension syntax to shard the implicit row ID to avoid write hot spot for a single table
- Fix a potential DDL issue
- Consider the timezone setting in the
curtime,sysdateandcurdatefunctions - Support the
SEPARATORsyntax in theGROUP_CONCATfunction - Fix the wrong return type issue of the
GROUP_CONCATfunction
tidb-server v1.0.5
- Add the max value for the current Auto_Increment ID in the
Show Create Tablestatement. - Fix a potential goroutine leak.
- Support outputting slow queries into a separate file.
- Load the
TimeZonevariable from TiKV when creating a new session. - Support the schema state check so that the
Show Create TableandAnalyzestatements process the public table/index only. - The
set transaction read onlyshould affect thetx_read_onlyvariable. - Clean up incremental statistic data when rolling back.
- Fix the issue of missing index length in the
Show Create Tablestatement.
tidb-server v1.0.4
- Speed up the loading of the statistics when starting the
tidb-server - Improve the performance of the
show variablesstatement - Fix a potential issue when using the
Add Indexstatement to handle the combined indexes - Fix a potential issue when using the
Rename Tablestatement to move a table to another database - Accelerate the effectiveness for the
Alter/Drop Userstatement
tidb-server v1.0.3
- Optimize the performance in transaction conflicts scenario
- Add the
TokenLimitoption 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.