MySQL Full-text Search Workaround for innoDB tables

前端 未结 5 969
小鲜肉
小鲜肉 2020-12-05 01:15

I\'m designing an internal web application that uses MySQL as its backend database. The integrity of the data is crucial, so I am using the innoDB engine for i

5条回答
  •  不思量自难忘°
    2020-12-05 01:44

    You can create a mirror table. That's probably less than ideal, as the MyISAM table will not respect your transactions (if a transaction failed on InnoDB, your changes made to MyISAM in that transaction will still appear).

    You could use a dedicated full-text search system like Sphinx, which is what I have used for full-text searching (Since my database is InnoDB).

提交回复
热议问题