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?
Share
LIKE 'xxx%'(where xxx is the input so far); neverLIKE '%xxx%'LIMIT 10on the database, never on the app.edit: borrowing from bpeterson76’s answer:
SELECT *, get only the fields you need.