How can I avoid a full table scan on mysql?
In general, by making sure you have a usable index on fields that appear in WHERE
, JOIN
and ORDER BY
clauses.
Index your data.
Write queries that use those indexes.
Anything more than that we need specifics.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With