-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index creation in TiDB 5.0 is much slower than 4.0. #1730
Comments
I tested in idc81 with the modified test binary:
There is little difference between 4.0 and 5.0 qps, both several hundred(with fluctuation over time)
4.0 qps 100+ |
A minimal and generally reproduce tiup playground v5.0.0 --tiflash 0 mysql> create table t(a int);
Query OK, 0 rows affected (0.12 sec)
mysql> create index i on t(a);
Query OK, 0 rows affected (2.83 sec) tiup playground v4.0.12 --tiflash 0 mysql> create table t(a int);
Query OK, 0 rows affected (0.08 sec)
mysql> create index i on t(a);
Query OK, 0 rows affected (0.36 sec) |
grep |
sleep added in pingcap/tidb#23364 |
I think we can explain roughly in the document, at what-is-the-processing-time-of-a-ddl-operation. Related to pingcap/docs-cn#6020 |
The schrodinger/sqllogic test is about 4 times slower than 4.0 on 5.0.
https://internal.pingcap.net/idc-jenkins/blue/organizations/jenkins/tiflash_schrodinger_test/activity/
https://pingcap.slack.com/archives/CQ3EL6Q95/p1616368188001100
I tested in idc81, for the same sqllogic binary, the 4.0 cluster is many times faster than the 5.0 cluster, no matter mpp is enabled.
The text was updated successfully, but these errors were encountered: