Jump to content

[SOLVED] varchar(64000) search


jaymc

Recommended Posts

I am building a forum, all the tables are InnoDB

 

I want a search feature so people can search for words in all posts.

 

I tested this on a table i have which has 300,000 posts, it took 20 seconds

 

Now I know with MYISQM you can put a fulltext index on, but innodb does not allow this

 

For this feature, do i have to create a MYISAM table dedicated to storing just post_id and post_content to get the performance advantages of using the FULLTEXT index

 

Or, is there something I can do with innodb to that field to optimize it for searches

 

Cheers

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.