You are viewing the archived documentation of TiDB, which no longer receives updates.View latest LTS version docs

TiDB Features

This document lists the features supported in each TiDB version. Note that supports for experimental features might change before the final release.

Data types, functions, and operators

Indexing and constraints

SQL statements

SQL statements 25.25.15.04.0
Basic SELECT, INSERT, UPDATE, DELETE, REPLACEYYYY
INSERT ON DUPLICATE KEY UPDATEYYYY
LOAD DATA INFILEYYYY
SELECT INTO OUTFILEYYYY
INNER JOIN, LEFT\|RIGHT [OUTER] JOINYYYY
UNION, UNION ALLYYYY
EXCEPT and INTERSECT operatorsYYYN
GROUP BY, ORDER BYYYYY
Window FunctionsYYYY
Common Table Expressions (CTE)YYNN
START TRANSACTION, COMMIT, ROLLBACKYYYY
EXPLAINYYYY
EXPLAIN ANALYZEYYYY
User-defined variablesExperimentalExperimentalExperimentalExperimental
Table LockExperimentalExperimentalExperimentalExperimental

Advanced SQL features

Advanced SQL features5.25.15.04.0
Prepared statement cacheExperimentalExperimentalExperimentalExperimental
SQL plan management (SPM)YYYY
Coprocessor cacheYYYExperimental
Stale ReadYYNN
Follower readsYYYY
Read historical data (tidb_snapshot)YYYY
Optimizer hintsYYYY
MPP Execution EngineYYYN
Index Merge JoinExperimentalExperimentalExperimentalExperimental

Data definition language (DDL)

Data definition language (DDL)5.25.15.04.0
Basic CREATE, DROP, ALTER, RENAME, TRUNCATEYYYY
Generated columnsExperimentalExperimentalExperimentalExperimental
ViewsYYYY
SequencesYYYY
Auto incrementYYYY
Auto randomYYYY
DDL algorithm assertionsYYYY
Multi-schema change: add columnsExperimentalExperimentalExperimentalExperimental
Change column typeYYNN

Transactions

Partitioning

Partitioning5.25.15.04.0
Range partitioningYYYY
Hash partitioningYYYY
List partitioningExperimentalExperimentalExperimentalN
List COLUMNS partitioningExperimentalExperimentalExperimentalN
EXCHANGE PARTITIONExperimentalExperimentalExperimentalN
Dynamic PruningExperimentalExperimentalNN

Statistics

Statistics5.25.15.04.0
CMSketchDeprecatedDeprecatedDeprecatedY
HistogramsYYYY
Extended statistics (multiple columns)ExperimentalExperimentalExperimentalN
Statistics FeedbackExperimentalExperimentalExperimentalExperimental

Security

Data import and export

Data import and export5.25.15.04.0
Fast Importer (TiDB Lightning)YYYY
mydumper logical dumperDeprecatedDeprecatedDeprecatedDeprecated
Dumpling logical dumperYYYY
Transactional LOAD DATAYYYN
Database migration toolkit (DM)YYYY
TiDB BinlogYYYY
Change data capture (CDC)YYYY

Management, observability, and tools

Management, observability, and tools5.25.15.04.0
TiDB DashboardYYYY
SQL diagnosticsExperimentalExperimentalExperimentalExperimental
Information schemaYYYY
Metrics schemaYYYY
Statements summary tablesYYYY
Slow query logYYYY
TiUP deploymentYYYY
Ansible deploymentNNNDeprecated
Kubernetes operatorYYYY
Built-in physical backupYYYY
Global KillExperimentalExperimentalExperimentalExperimental
Lock ViewYExperimentalExperimentalExperimental
SHOW CONFIGYYYY
SET CONFIGExperimentalExperimentalExperimentalExperimental

  1. TiDB incorrectly treats latin1 as a subset of utf8. See TiDB #18955 for more details.
  2. See Statement Reference for a full list of SQL statements supported.