I have a Database with ~ 15 Million Entries.
Here is its structure:
SELECT count(*) FROM hash.list; ~ 77 seconds
SELECT * FROM hash.list where plain = "aaaa"; ~~ 94 seconds
How can i make this faster ~ 5 seconds or what else?
I have a Database with ~ 15 Million Entries.
Here is its structure:
SELECT count(*) FROM hash.list; ~ 77 seconds
SELECT * FROM hash.list where plain = "aaaa"; ~~ 94 seconds
How can i make this faster ~ 5 seconds or what else?
You can do following things to make it fast 1. Idexing ,I think you have done 2. Make partition of this table and only fetch records which fall under your criteria . 3. Also choos Explain to get what is taking most of time in your query .
Some suggestions:
plain
column.