In my post from yesterday, I ended up resorting to using
multiple-column fulltext indexes to make it so I was actually
using the indexes on the columns specified in the query. Well,
that worked. But it also resulted in HUGE indexes!
Before change:
-rw-rw---- 1 mysql mysql 1177773692 2008-06-05 12:37 items_text.MYD -rw-rw---- 1 mysql mysql 1136713728 2008-06-05 12:37 items_text.MYI
After adding more indexes:
-rw-rw---- 1 mysql mysql 1156516200 2008-06-04 17:14 items_text.MYD -rw-rw---- 1 mysql mysql 1978787840 2008-06-04 17:14 items_text.MYI
Furthermore, this made the table much harder to update.
Replication kept lagging last night (nagios was complaining
loudly).
I've since reverted back to the way I had it, not using the
index, which is the least worse of my …