From 7a47d4cb77311c940e76bbd75061207c60cab105 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Mon, 8 Nov 2021 10:39:33 +0800 Subject: [PATCH 1/2] Refine the layout of basic-features.md --- basic-features.md | 54 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 6 deletions(-) diff --git a/basic-features.md b/basic-features.md index 1e78236b369dd..576025eb766e4 100644 --- a/basic-features.md +++ b/basic-features.md @@ -6,7 +6,9 @@ aliases: ['/docs/dev/basic-features/'] # TiDB Features -The following table provides an overview of the feature development history of TiDB. Note that features under active development might change before the final release. +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 | Data types, functions, and operators | 5.2 | 5.1 | 5.0 | 4.0 | |----------------------------------------------------------------------------------------------------------|:------------:|:------------:|:------------:|:------------:| @@ -28,7 +30,11 @@ The following table provides an overview of the feature development history of T | [Miscellaneous functions](/functions-and-operators/miscellaneous-functions.md) | Y | Y | Y | Y | | [Operators](/functions-and-operators/operators.md) | Y | Y | Y | Y | | [Character sets and collations](/character-set-and-collation.md) [^1] | Y | Y | Y | Y | -| **Indexing and constraints** | **5.2** | **5.1** | **5.0** | **4.0** | + +## Indexing and constraints + +| Indexing and constraints | **5.2** | **5.1** | **5.0** | **4.0** | +|----------------------------------------------------------------------------------------------------------|:------------:|:------------:|:------------:|:------------:| | [Expression indexes](/sql-statements/sql-statement-create-index.md#expression-index) | Experimental | Experimental | Experimental | Experimental | | [Columnar storage (TiFlash)](/tiflash/tiflash-overview.md) | Y | Y | Y | Y | | [RocksDB engine](/storage-engine/rocksdb-overview.md) | Y | Y | Y | Y | @@ -38,12 +44,16 @@ The following table provides an overview of the feature development history of T | [Unique indexes](/constraints.md) | Y | Y | Y | Y | | [Clustered index on integer `PRIMARY KEY`](/constraints.md) | Y | Y | Y | Y | | [Clustered index on composite or non-integer key](/constraints.md) | Y | Y | Y | N | + +## SQL statements + | **SQL statements** [^2] | **5.2** | **5.1** | **5.0** | **4.0** | +|----------------------------------------------------------------------------------------------------------|:------------:|:------------:|:------------:|:------------:| | Basic `SELECT`, `INSERT`, `UPDATE`, `DELETE`, `REPLACE` | Y | Y | Y | Y | | `INSERT ON DUPLICATE KEY UPDATE` | Y | Y | Y | Y | | `LOAD DATA INFILE` | Y | Y | Y | Y | | `SELECT INTO OUTFILE` | Y | Y | Y | Y | -| `INNER JOIN`, `LEFT\|RIGHT [OUTER] JOIN` | Y | Y | Y | Y | +| `INNER JOIN`, `LEFT|RIGHT [OUTER] JOIN` | Y | Y | Y | Y | | `UNION`, `UNION ALL` | Y | Y | Y | Y | | [`EXCEPT` and `INTERSECT` operators](/functions-and-operators/set-operators.md) | Y | Y | Y | N | | `GROUP BY`, `ORDER BY` | Y | Y | Y | Y | @@ -53,7 +63,11 @@ The following table provides an overview of the feature development history of T | [`EXPLAIN`](/sql-statements/sql-statement-explain.md) | Y | Y | Y | Y | | [`EXPLAIN ANALYZE`](/sql-statements/sql-statement-explain-analyze.md) | Y | Y | Y | Y | | [User-defined variables](/user-defined-variables.md) | Experimental | Experimental | Experimental | Experimental | -| **Advanced SQL Features** | **5.2** | **5.1** | **5.0** | **4.0** | + +## Advanced SQL features + +| **Advanced SQL features** | **5.2** | **5.1** | **5.0** | **4.0** | +|----------------------------------------------------------------------------------------------------------|:------------:|:------------:|:------------:|:------------:| | [Prepared statement cache](/sql-prepare-plan-cache.md) | Experimental | Experimental | Experimental | Experimental | | [SQL plan management (SPM)](/sql-plan-management.md) | Y | Y | Y | Y | | [Coprocessor cache](/coprocessor-cache.md) | Y | Y | Y | Experimental | @@ -63,7 +77,11 @@ The following table provides an overview of the feature development history of T | [Optimizer hints](/optimizer-hints.md) | Y | Y | Y | Y | | [MPP Exection Engine](/explain-mpp.md) | Y | Y | Y | N | | [Index Merge Join](/explain-index-merge.md) | Experimental | Experimental | Experimental | Experimental | + +## Data definition language (DDL) + | **Data definition language (DDL)** | **5.2** | **5.1** | **5.0** | **4.0** | +|----------------------------------------------------------------------------------------------------------|:------------:|:------------:|:------------:|:------------:| | Basic `CREATE`, `DROP`, `ALTER`, `RENAME`, `TRUNCATE` | Y | Y | Y | Y | | [Generated columns](/generated-columns.md) | Experimental | Experimental | Experimental | Experimental | | [Views](/views.md) | Y | Y | Y | Y | @@ -73,7 +91,11 @@ The following table provides an overview of the feature development history of T | [DDL algorithm assertions](/sql-statements/sql-statement-alter-table.md) | Y | Y | Y | Y | | Multi schema change: add column(s) | Experimental | Experimental | Experimental | Experimental | | [Change column type](/sql-statements/sql-statement-modify-column.md) | Y | Y | N | N | + +## Transactions + | **Transactions** | **5.2** | **5.1** | **5.0** | **4.0** | +|----------------------------------------------------------------------------------------------------------|:------------:|:------------:|:------------:|:------------:| | [Async commit](/system-variables.md#tidb_enable_async_commit-new-in-v50) | Y | Y | Y | N | | [1PC](/system-variables.md#tidb_enable_1pc-new-in-v50) | Y | Y | Y | N | | [Large transactions (10GB)](/transaction-overview.md#transaction-size-limit) | Y | Y | Y | Y | @@ -81,20 +103,32 @@ The following table provides an overview of the feature development history of T | [Optimistic transactions](/optimistic-transaction.md) | Y | Y | Y | Y | | [Repeatable-read isolation (snapshot isolation)](/transaction-isolation-levels.md) | Y | Y | Y | Y | | [Read-committed isolation](/transaction-isolation-levels.md) | Y | Y | Y | Y | + +## Partitioning + | **Partitioning** | **5.2** | **5.1** | **5.0** | **4.0** | +|----------------------------------------------------------------------------------------------------------|:------------:|:------------:|:------------:|:------------:| | [Range partitioning](/partitioned-table.md) | Y | Y | Y | Y | | [Hash partitioning](/partitioned-table.md) | Y | Y | Y | Y | | [List partitioning](/partitioned-table.md) | Experimental | Experimental | Experimental | N | | [List COLUMNS partitioning](/partitioned-table.md) | Experimental | Experimental | Experimental | N | | [`EXCHANGE PARTITION`](/partitioned-table.md) | Experimental | Experimental | Experimental | N | | [Dynamic Pruning](/partitioned-table.md#dynamic-pruning-mode) | Experimental | Experimental | N | N | + +## Statistics + | **Statistics** | **5.2** | **5.1** | **5.0** | **4.0** | +|----------------------------------------------------------------------------------------------------------|:------------:|:------------:|:------------:|:------------:| | [CMSketch](/statistics.md) | Deprecated | Deprecated | Deprecated | Y | | [Histograms](/statistics.md) | Y | Y | Y | Y | | [Extended statistics (multiple columns)](/statistics.md) | Experimental | Experimental | Experimental | N | | [Statistics Feedback](/statistics.md#automatic-update) | Experimental | Experimental | Experimental | Experimental | | [Fast Analyze](/system-variables.md#tidb_enable_fast_analyze) | Experimental | Experimental | Experimental | Experimental | + +## Security + | **Security** | **5.2** | **5.1** | **5.0** | **4.0** | +|----------------------------------------------------------------------------------------------------------|:------------:|:------------:|:------------:|:------------:| | [Transparent layer security (TLS)](/enable-tls-between-clients-and-servers.md) | Y | Y | Y | Y | | [Encryption at rest (TDE)](/encryption-at-rest.md) | Y | Y | Y | Y | | [Role-based authentication (RBAC)](/role-based-access-control.md) | Y | Y | Y | Y | @@ -104,15 +138,23 @@ The following table provides an overview of the feature development history of T | [Dynamic Privileges](/privilege-management.md#dynamic-privileges) | Y | Y | N | N | | [Security Enhanced Mode](/system-variables.md#tidb_enable_enhanced_security) | Y | Y | N | N | | [Redacted Log Files](/log-redaction.md) | Y | Y | Y | N | + +## Data import and export + | **Data import and export** | **5.2** | **5.1** | **5.0** | **4.0** | +|----------------------------------------------------------------------------------------------------------|:------------:|:------------:|:------------:|:------------:| | [Fast Importer (TiDB Lightning)](/tidb-lightning/tidb-lightning-overview.md) | Y | Y | Y | Y | | mydumper logical dumper | Deprecated | Deprecated | Deprecated | Deprecated | | [Dumpling logical dumper](/dumpling-overview.md) | Y | Y | Y | Y | | [Transactional `LOAD DATA`](/sql-statements/sql-statement-load-data.md) | Y | Y | Y | N | | [Database migration toolkit (DM)](/migration-overview.md) | Y | Y | Y | Y | -| [TiDB Binlog](/tidb-binlog/tidb-binlog-overview.md) | Deprecated | Deprecated | Deprecated | Deprecated | +| [TiDB Binlog](/tidb-binlog/tidb-binlog-overview.md) | Y | Y | Y | Y | | [Change data capture (CDC)](/ticdc/ticdc-overview.md) | Y | Y | Y | Y | -| **Management, observability and tools** | **5.2** | **5.1** | **5.0** | **4.0** | + +## Management, observability, and tools + +| **Management, observability, and tools** | **5.2** | **5.1** | **5.0** | **4.0** | +|----------------------------------------------------------------------------------------------------------|:------------:|:------------:|:------------:|:------------:| | [TiDB Dashboard](/dashboard/dashboard-intro.md) | Y | Y | Y | Y | | [SQL diagnostics](/information-schema/information-schema-sql-diagnostics.md) | Experimental | Experimental | Experimental | Experimental | | [Information schema](/information-schema/information-schema.md) | Y | Y | Y | Y | From 86d8a6fab849f895be2cf8e56ffa18a2eef8ee1e Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Mon, 8 Nov 2021 11:05:48 +0800 Subject: [PATCH 2/2] Update basic-features.md --- basic-features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic-features.md b/basic-features.md index 576025eb766e4..ccb8098d2a0e7 100644 --- a/basic-features.md +++ b/basic-features.md @@ -53,7 +53,7 @@ This document lists the features supported in each TiDB version. Note that suppo | `INSERT ON DUPLICATE KEY UPDATE` | Y | Y | Y | Y | | `LOAD DATA INFILE` | Y | Y | Y | Y | | `SELECT INTO OUTFILE` | Y | Y | Y | Y | -| `INNER JOIN`, `LEFT|RIGHT [OUTER] JOIN` | Y | Y | Y | Y | +| `INNER JOIN`, `LEFT\|RIGHT [OUTER] JOIN` | Y | Y | Y | Y | | `UNION`, `UNION ALL` | Y | Y | Y | Y | | [`EXCEPT` and `INTERSECT` operators](/functions-and-operators/set-operators.md) | Y | Y | Y | N | | `GROUP BY`, `ORDER BY` | Y | Y | Y | Y |