How to index a TEXT field to increase search performance?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sudhakaranr
    New Member
    • Dec 2006
    • 24

    How to index a TEXT field to increase search performance?

    Hi all....

    I am using table, which has 5 million rows. In this, i have a column called "comp_name" . this is defined as TEXT.

    If i want to search a particular pattern in the text field, it is taking enormous time.

    so, i want my search faster....

    What are the possibilities to make it faster?

    Your help is highly appreciable.... ..

    Thanks
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    You are on the right path. Are you using MyISAM for this table?
    Here is a good starting point.

    Comment

    • Atli
      Recognized Expert Expert
      • Nov 2006
      • 5062

      #3
      I've cleaned up the title of this thread and made it a little clearer.
      Please refrain from flooding your titles with question and exclamation marks!

      Comment

      • sudhakaranr
        New Member
        • Dec 2006
        • 24

        #4
        Hey,

        Thanks. But, I used this Full text search in my table. but, i couldn't search less than 3 characters as my input. so What is the solution for this?


        sudhakar

        Comment

        • Atli
          Recognized Expert Expert
          • Nov 2006
          • 5062

          #5
          Try reading the link he already posted.
          More specifically, the 'Fine-Tuning MySQL Full-Text Search' part.

          Comment

          Working...