White scenery @showyou, hatena

If you have any comments, you may also send twitter @shsub or @showyou.

groonga-storage engineの検索

select * from reply where src_text like "%おはよう%"; ->1.22sec
select * from reply_table where match(src_text) against("おはよう"); ->0.23sec

約50万件、100MB相当のtweetテーブル(bigint, text, text)からの検索。textが二つあるのは返信と返信元のtweet調べてるから。
こうして見るとgroongaの検索が早いというか、like検索もそこそこ早い気もするんだけど。こんな早いもんだっけ?一旦ロードしたからメモリに載ってるのかもしれない。


もっとでかいデータで調べてみる。