You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a big table with many records (millions). For some obscure reason, SQL database keep using wrong index, so selecting few rows takes 20 seconds instead of 9 ms. It would be very helpful, if there will be a possibility to set index hints: https://dev.mysql.com/doc/refman/8.0/en/index-hints.html
For example:
SELECT*FROM`big_table`
USE INDEX (my_better_index)
WHERE ...
The text was updated successfully, but these errors were encountered:
I have a big table with many records (millions). For some obscure reason, SQL database keep using wrong index, so selecting few rows takes 20 seconds instead of 9 ms. It would be very helpful, if there will be a possibility to set index hints:
https://dev.mysql.com/doc/refman/8.0/en/index-hints.html
For example:
The text was updated successfully, but these errors were encountered: