Bug #100812 | slow query unless connected using WorkBench | ||
---|---|---|---|
Submitted: | 11 Sep 2020 10:51 | Modified: | 29 Sep 2020 14:38 |
Reporter: | Dani Kaplan | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Workbench | Severity: | S5 (Performance) |
Version: | 8.0.21 | OS: | Windows |
Assigned to: | CPU Architecture: | x86 | |
Tags: | performance |
[11 Sep 2020 10:51]
Dani Kaplan
[23 Sep 2020 12:00]
MySQL Verification Team
Hi Mr. Kaplan, Thank you for your bug report. It is quite possible that Workbench rewrites the query in order to get index utilised. It is also possible that some optimiser switches are added. You can first try to change the last expression to : AND colb >= 281471982716236; If that does not help, turn the query log on and see what did the final query look like.
[23 Sep 2020 12:22]
Dani Kaplan
changing the order of the parameters didn't change a thing 7s on navicat, same on workbench: 1.25s I've run it with performance schema - the results can be seen here: https://stackoverflow.com/questions/63807405/remote-query-against-mysql-server-takes-much-... slow log shows different execution time to the same query - depends where it came from .
[23 Sep 2020 12:24]
Dani Kaplan
one more comment - the same table with the same query - on mariadb - shows the same execution time no matter which clients runs it.
[23 Sep 2020 12:24]
MySQL Verification Team
Hi, Then, please, turn the query log as instructed and see what the final query looked like.
[28 Sep 2020 12:21]
MySQL Verification Team
Thank you for the feedback, Mr. Kaplan. Not a bug.
[29 Sep 2020 12:27]
MySQL Verification Team
Hi Mr. Kaplan, We are ready to examine your case, but we require data for that table. Sufficient number of data so that problem might be shown. You can send us the tablespace with .cfg file, instead. Yo ucan compress it and upload it using "Files" tab.
[29 Sep 2020 14:38]
Dani Kaplan
since the data file is proprietary (and not mine) - is there a way I can send it without having the public access to it ?
[29 Sep 2020 15:14]
MySQL Verification Team
Yes, Use the "Files" tab. It is accessible only to the few of us. Do not forget both the tablespace and .cfg file, compressed together.