Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use index hint for
idx_contracts_fcid_timestamp
, MySQL does not sel…
…ect it otherwise (#1059) I was still seeing `SLOW SQL` warnings for `SELECT * FROM contracts WHERE contracts.timestamp >= 1709984700000 AND contracts.timestamp < 1710071100000 AND contracts.fcid = '<binary>' LIMIT 1`, after `EXPLAIN`ing I found that `MySQL` doesn't use the index we added.
- Loading branch information