diff --git a/roadmap.md b/roadmap.md index 382b4b561f170..92de0e67c7f34 100644 --- a/roadmap.md +++ b/roadmap.md @@ -11,91 +11,62 @@ This roadmap brings you what's coming in the 1-year future, so you can see the n - + - - - - - - - + + + - - - + + - - - + + - - - + + + - - - + + - - - + + - - - + + - - - + + + - - - + + - - - + + + - - + + - - - - - - - - - - - - - - - - - - - -
ScenarioDomain Feature Description
Support JSONSupport JSON function.In business scenarios that require flexible schema definitions, the application can use JSON to store information for ODS, transaction indicators, commodities, game characters, and props.
  • Support expression indexes.
  • Support generated columns.
Provide query acceleration for specific field indexes in JSON scenarios.Scalability & StabilitySupport resource management framework.
  • Provide a basic resource management and control framework to effectively control the resource squeeze of background tasks on front-end tasks (user operations), and improve cluster stability.
  • Refine resource management in the multi-service aggregation scenario.
FlashbackSupport cluster-level flashback.In game rollback scenarios, the flashback can be used to achieve a fast rollback of the current cluster. This solves the common problems in the gaming industry such as version errors and bugs.Enhance the plan cache feature.
  • Support in-session subquery, expression index, and prepared plan cache for partitions, which expands the usage scenarios of plan cache.
  • Support plan cache for general SQL statements in a session to save cache resources, improve the hit rate of general execution plans, and improve SQL performance.
  • Support cross-session plan cache, save cache resources, improve the hit rate of general execution plans, and improve SQL performance. In general scenarios, reusing execution plans can improve memory utilization and to achieve higher throughputs.
TiFlash result write-back (supports INSERT INTO SELECT)
  • Easily write the analysis results in TiFlash back to TiDB.
  • Provide complete ACID transactions, more convenient and reliable than general ETL solutions.
  • Set a hard limit on the threshold of intermediate result size, and report an error if the threshold is exceeded.
  • Support fully distributed transactions, and remove or relax the limit on the intermediate result size.
These features combined enable a way to materialize intermediate results. The analysis results can be easily reused, which reduces unnecessary ad-hoc queries, improves the performance of BI and other applications (by pulling results directly) and reduces system load (by avoiding duplicated computation), thereby improving the overall data pipeline efficiency and reducing costs. It will make TiFlash an online service.Support dynamic region.Support dynamic region size adjustment (heterogeneous) and huge region size for scenarios with fast business growth and a large amount of data.
Time to live (TTL)Support automatically deleting expired table data based on custom rules. This feature enables automatic data cleanup in limited data archiving scenarios.SQLSupport the JSON function.
  • Expression index
  • Multi-value index
  • Partial index
  • +
In business scenarios that require flexible schema definitions, the application can use JSON to store information for ODS, transaction indicators, commodities, game characters, and props.
Multi-value IndexSupport array index.Array is one of the commonly used data types in JSON scenarios. For inclusive queries in arrays, multi-value indexes can efficiently improve the query speed. Support cluster-level flashback.In game rollback scenarios, the flashback can be used to achieve a fast rollback of the current cluster. This solves the common problems in the gaming industry such as version errors and bugs.
TiFlash kernel optimization
  • FastScan provides weak consistency but faster table scan capability.
  • Further optimize the join order, shuffle, and exchange algorithms to improve computing efficiency and boost performance for complex queries.
  • Add a fine-grained data sharding mechanism to optimize the COUNT(DISTINCT) function and high cardinality aggregation.
Improve the basic computing capability of TiFlash, and optimize the performance and reliability of the underlying algorithms of the columnar storage and MPP engine.Support time to live (TTL).This feature enables automatic data cleanup in limited data archiving scenarios.
TiDB proxyImplement automatic load balancing so that upgrading a cluster or modifying configurations does not affect the application. After scaling out or scaling in the cluster, the application can automatically rebalance the connection without reconnecting.In scenarios such as upgrades and configuration changes, TiDB proxy is more business-friendly.Implement a DDL parallel execution framework.Implement a distributed parallel DDL execution framework, so that DDL tasks executed by only one TiDB Owner node can be coordinated and executed by all TiDB nodes in the cluster. Improve the execution speed of DDL tasks and cluster resource utilization.
By converting the execution of DDL tasks to distributed mode, this feature accelerates the execution speed of DDL tasks and improves the utilization of computing resources in the entire cluster. At present, DDL tasks that need to improve the speed include large table indexing and lossy column type modification tasks.
PB-level scalabilitySupport huge region size.Scenarios with fast business growth and a large amount of dataHybrid Transactional and Analytical Processing (HTAP)Support TiFlash result write-back.

Support INSERT INTO SELECT.

  • Easily write analysis results in TiFlash back to TiDB.
  • Provide complete ACID transactions, more convenient and reliable than general ETL solutions.
  • Set a hard limit on the threshold of intermediate result size, and report an error if the threshold is exceeded.
  • Support fully distributed transactions, and remove or relax the limit on the intermediate result size.

These features combined enable a way to materialize intermediate results. The analysis results can be easily reused, which reduces unnecessary ad-hoc queries, improves the performance of BI and other applications (by pulling results directly) and reduces system load (by avoiding duplicated computation), thereby improving the overall data pipeline efficiency and reducing costs. It will make TiFlash an online service.

Distributed DDL parallel frameworkImplement a distributed parallel DDL execution framework, so that DDL tasks executed by only one TiDB Owner node can be coordinated and executed by all TiDB nodes in the cluster. Improve the execution speed of DDL tasks and cluster resource utilization.By converting the execution of DDL tasks to distributed mode, this feature accelerates the execution speed of DDL tasks and improves the utilization of computing resources in the entire cluster. At present, DDL tasks that need to improve the speed include large table indexing and lossy column type modification tasks.Support FastScan for TiFlash.
  • FastScan provides weak consistency but faster table scan capability.
  • Further optimize the join order, shuffle, and exchange algorithms to improve computing efficiency and boost performance for complex queries.
  • Add a fine-grained data sharding mechanism to optimize the COUNT(DISTINCT) function and high cardinality aggregation.

This feature improves the basic computing capability of TiFlash, and optimizes the performance and reliability of the underlying algorithms of the columnar storage and MPP engine.

Non-prepared Plan CacheSupport plan cache for general SQL statements in a session to save cache resources, improve the hit rate of general execution plans, and improve SQL performance.Non-prepared plan cache. Improve real-time and throughputs of OLTP in general scenarios.ProxySupport TiDB proxy.Implement automatic load balancing so that upgrading a cluster or modifying configurations does not affect the application. After scaling out or scaling in the cluster, the application can automatically rebalance the connection without reconnecting.
In scenarios such as upgrades and configuration changes, TiDB proxy is more business-friendly.
SQL blocklistSupport a rule-based SQL blocklist mechanism.MaintenanceSupport rule-based SQL blocklist. In multi-service aggregation scenarios, provide SQL management and control capabilities, and improve cluster stability by prohibiting high-resource-consuming SQL statements.
Resource managementProvide a basic resource management and control framework to effectively control the resource squeeze of background tasks on front-end tasks (user operations), and improve cluster stability.Refine resource management in the multi-service aggregation scenario.
Prepared Plan CacheSupport in-session subquery, expression index, and prepared plan cache for Partition.Expand the usage scenarios of plan cache.
PB-level scalabilitySupport dynamic region size adjustment (heterogeneous).For scenarios with fast business growth and a large amount of data.
Instance plan cacheSupport cross-session plan cache, save cache resources, improve the hit rate of general execution plans, and improve SQL performance.In general scenarios, reuse execution plans to improve memory utilization and to achieve higher throughputs.
@@ -104,7 +75,7 @@ This roadmap brings you what's coming in the 1-year future, so you can see the n - + @@ -123,7 +94,7 @@ This roadmap brings you what's coming in the 1-year future, so you can see the n
ScenarioDomain Feature Description
- + @@ -131,7 +102,7 @@ This roadmap brings you what's coming in the 1-year future, so you can see the n - + @@ -141,7 +112,7 @@ This roadmap brings you what's coming in the 1-year future, so you can see the n - + @@ -150,7 +121,7 @@ This roadmap brings you what's coming in the 1-year future, so you can see the n - + @@ -161,24 +132,15 @@ This roadmap brings you what's coming in the 1-year future, so you can see the n
ScenarioDomain Feature Description
Backup and restoreEBS snapshot-based backup and restoreAWS EBS or GCP persistent disk snapshot-based backup and restore. Support backup and restore based on AWS EBS or GCP persistent disk snapshots.
Data replication to downstream systems via TiCDCReduce TiCDC replication latency in planned offline scenarios.Reduce TiCDC replication latency in daily operations. When TiKV, TiDB, PD, or TiCDC nodes are offline in a planned maintenance window, the replication latency of TiCDC can be reduced to less than 10 seconds.
Data migrationTiDB Lightning supports table-level and partition-level incremental data import.TiDB Lightning supports table-level and partition-level online data import. TiDB Lightning provides comprehensive table-level and partition-level data import capabilities.
- + - - - - - - - - - - + @@ -202,7 +164,7 @@ This roadmap brings you what's coming in the 1-year future, so you can see the n - +
ScenarioDomain Feature Description
ShangMi (SM) algorithmsEncryption-at-rest (TiKV and TiFlash) supports the SM4 algorithm.Supports encrypting data stored in TiKV and TiFlash based on the SM4 algorithm.
TiDB authentication supports the SM3 algorithm. Provide a user authentication plugin based on the SM3 algorithm, which encrypts the password using the SM3 algorithm.
Log redaction
  • Data redaction in execution plans in TiDB Dashboard.
  • Data redaction in TiDB-related logs.
  • Support data redaction in execution plans in TiDB Dashboard.
  • Enhance data redaction in TiDB-related logs.
Redact sensitive information in execution plans and various logs to enhance the security of user data.
TiDB already supports cluster-level, database-level, and table-level privilege management. On top of that, TiDB will support column-level privilege management to meet the principle of least privilege and provide fine-grained data access control.
Audit logging capability refactorAudit logging capability enhancement Support configurable audit log policies, configurable audit filters (filter by objects, users, and operation types), and visual access to audit logs. Improve the completeness and usability of the audit log feature.