Full text index and other complex indexes together

by Harun Yayli on Monday, April 30th, 2007 at 11:21 pm under Programming

Always remember, if you’re using MyIsam tables, KEEP THE INDEX AS SMALL AS POSSIBLE.

That means, your full text index will be huge and you don’t want to keep them together with other types of index for faster queries.

Simply create another table to have the text fields and full text indexes and left join. It works way faster for me on a table with 230K rows.

Data take about 500MB and the indexes take about 700MB. I don’t think I over indexed the table because of the delicate business logic. Even for a simple 1 field query (with normal index on it) it was taking more than 30secs. I removed the table with out the full text indexes and now it takes 1 sec.
Wow, a good thing to remember. A mental note to myself again.

Thoughts Aside:
The process of data security is the best computer backup solution and it is the way of ensuring that backup computer files are kept protected from corruption with free software and that access to it is properly controlled on a back up server. It also facilitates the process of online file sharing. The globalization of data recovery hardware networking is a facility with the help of which your stock can be sourced from anywhere in the world by doing up with your online storage.

Recent Entries

One Response to “Full text index and other complex indexes together”

  1. Andrew Aksyonoff Says:

    Try moving your fulltext indexes to Sphinx, http://sphinxsearch.com/

    That way you could still have fulltext searches on that table without hurting other queries.

Leave a Reply

authimage