pingcap / tidb

TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.
https://pingcap.com
Apache License 2.0
37.29k stars 5.85k forks source link

Reduce the absolute latency of TP statements #18006

Open scsldb opened 4 years ago

scsldb commented 4 years ago

Feature Request

Description

In some mission-critical scenarios, there are dozens of SQL statements in a transaction. And there is a clear requirement for the max latency of these transactions, for example, must under 100ms.

So we should reduce the absolute latency of these CRUD operations.

Category

Performance

Value

Provide high-quality service

Task list

The handle id is a uint64 generated by TiDB. There are some disadvantages for this type of data arrangement:

In the clustered index, we arrange row data by primary key, in the above example, there will be only one key-value pair for each row data, this will the disadvantages mentioned above:

Workload estimation

500

Time

GanttStart: 2020-06-15 GanttDue: 2020-08-30 GanttProgress: 95%

zhangjinpeng87 commented 4 years ago

/assign