I want to use fulltext
in a big table, and I can't update mysql for support fulltext
in innodb
or use external search engine.
So I think I have 2 option here.
1.Using innodb
and search database with LIKE
2.Convert my table to MyISAM
I don't know what is the best way and need help for this.
Option 3 is better: Upgrade to MySQL 5.6 where FULLTEXT
indexes are supported on InnoDB .
If you can't do this you're really asking for trouble.
Using #1 is futile, it won't scale beyond even the most trivial sized databases.
Going with #2 is a bad call, MyISAM is a notoriously troublesome database engine that doesn't support transactions or journaling. Data integrity is always approximate and a server crash can scramble your database into an unusable state since there's no transaction journal for recovery and streaming replication isn't an option.
The alternative is to use an add-on searching tool like Sphinx . If this is a no-go you're really going to have to re-evaluate your constraints.
Honestly, upgrading to MySQL 5.6 is as seamless as it gets. Most in-place upgrades work flawlessly.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.