Oracle 中 instr 性能比 like 好

在Oracle中,在300万的数据中,经测试,发现Insert 性能比like好!

 

select count(*from article_detail where content like '%Oracle%';

select count(*from article_detail where instr(content, 'Oracle')>0;

 

 

posted on 2010-01-21 21:50  思静  阅读(888)  评论(0编辑  收藏  举报