MySQL 安裝 bi-gram 做 Fulltext Search

於 MySQL 5.5、5.6 的版本,想要靠 MySQL 本身的 MyISAM 做 Fulltext search,需要搭配 Bigram 的套件

  • 註1:此篇文章的環境是 Debian jessie 預設的 MySQL 5.5 版
  • 註2:Percona 預設有啟用 ngram,就不需要另外安裝 bigram

閱讀全文〈MySQL 安裝 bi-gram 做 Fulltext Search〉

MySQL myisamchk 遇到 Disk is full 的解法

MySQL 使用 myisamchk 修復 *.MYI 時, 出現下述訊息:

myisamchk: Disk is full writing '/tmp/ST3lJjsW' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to c ontinue after freeing disk space)

myisamchk: Retry in 60 secs. Message reprinted in 600 secs

閱讀全文〈MySQL myisamchk 遇到 Disk is full 的解法〉