I have an DB with 40 million values and I am using autosuggest with jquery and the suggestion is getting very slow. I need know two things: how can I speedup with this data (using mysql db with php) and will java with any other db improve the speed?
LIKE 'xxx%'
(where xxx is the input so far); never LIKE '%xxx%'
LIMIT 10
on the database, never on the app.edit: borrowing from bpeterson76's answer:
SELECT *
, get only the fields you need.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