Hello
I have a MySQL database that I replicate from another server. The database contains a table with this columns
ID, FileName and FileSize
In the table there are more than 4'000'000 records. I want to make fast a search in FileName (varchar) column
I found that I can use for this Sphinx search engine. The problem is that I want to restrict searches by filetype. Do I have to and how (trigers?) to extract file extensions for all rows? May be I have to create another table (because this one is replicated) and join them in 1:1 relation?
Can you give me some advices please :)