Normally I would not consider this, but I wonder how this can be harmful?
My current setup:
- each client has up to 150,000 rows
- I am performing a full-text search on two columns.
- another column is the client identifier
As the table grows larger, searches become extremely slow, although, like most, each search needs to be performed on only 150,000 rows.
It is very difficult to ONLY look for client strings when using full-text indexes.
One option is to create a third full-text column that contains a composite customer identifier, plus characters that will not be found in full-text strings, and include this third column in a full full-text search. pah.
Is it VERY VERY wrong to set up a unique table for each client and just search on their table? In my tests, the search is very fast. How is this true after you start working with multiple MySQL servers?
Shaun source share