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;
select count(*) from article_detail where instr(content, 'Oracle')>0;