山本@アデリーシステムズです。 At 12:55 2004/01/13 +0900, you wrote: > select count(*) from news_table where message like '%日本%' and flg=1; > と検索すると、20秒くらい掛かってしまいます。 LIKEだからでしょう。 select count(*) from news_table where message ~ '日本' and flg=1; ではどうなりますか。 Adelie Systems Inc. Kazu Yamamoto <kazu @ adelie.co.jp>