Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 6.2升级到6.5之后变慢了
After upgrading from 6.2 to 6.5, the query speed of TiFlash has slowed down; previously it took 3 seconds for 700 million, now it takes 8 seconds.
The default value of tidb_enable_clustered_index
is INT_ONLY
, which means that only tables with integer primary keys will use clustered indexes by default.
Previously, TiFlash was already enabled. Now, the only noticeable improvement is that count operations are faster, but other group queries have become slower.
This parameter does have some impact. After adjustment, the performance is basically on par with version 6.2.
Note: If the FastScan feature is enabled (set to ON
), TiFlash can provide more efficient query performance, but it does not guarantee the accuracy and data consistency of the query results.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.