What method should be used for searching this mysql dataset?
Posted
by GeoffreyF67
on Stack Overflow
See other posts from Stack Overflow
or by GeoffreyF67
Published on 2010-04-18T21:40:05Z
Indexed on
2010/04/18
21:43 UTC
Read the original article
Hit count: 327
I've got a mysql dataset that contains 86 million rows.
I need to have a relatively fast search through this data.
The data I'll be searching through is all strings.
I also need to do partial matches.
Now, if I have 'foobar' and search for '%oob%' I know it'll be really slow - it has to look at every row to see if there is a match.
What methods can be used to speed queries like this up?
G-Man
© Stack Overflow or respective owner