Closed Bug 287169 Opened 20 years ago Closed 16 years ago

Need to be able to do fulltext searches on longdescs.thetext even with most tables using InnoDB

Categories

(Bugzilla :: Creating/Changing Bugs, enhancement)

2.19.2
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 399370

People

(Reporter: mkanat, Unassigned)

Details

We need to have a MyISAM table for fulltext searches, but InnoDB tables for transactions. longdescs.thetext is one of our only fulltext fields, so it needs its own table. I was thinking that it would become comments_fulltext.comment. It actually should be relatively easy to move, though the checksetup migration may take a while.
Summary: Move longdescs.thetext to its own table → Need to be able to do fulltext searches on longdescs.thetext even with most tables using InnoDB
InnoDB tables would also strongly simplify the code as we wouldn't have to worry about all tables depending on another table (and sanitycheck.cgi would become useless as cascading would do the job for us). Table locks could be removed too, IIRC, as locks are automatically done at the row level instead of at the entire table. One side-effect is that these InnoDB tables are a bit slower than MyISAM tables.
We would still have to lock certain tables, I believe, based on how MySQL's transactions work, in order to get unique IDs. But yes, it would be nice to be able to use InnoDB tables for certain things. We should test it, though--some people complain about InnoDB tables having problems that MyISAM tables don't have.
FWIW, there is a text-search plug-in for MySQL. Although this would be tough to integrate in a database abstract manner. http://sphinxsearch.com/
No longer blocks: bz-transactions
Max, isn't this bug fixed by bug 399370?
Yeah, to the point that it's a total duplicate.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.