2012年11月9日

SQL语句索引优化

摘要: 先通过一个实验探讨一下索引的问题创建测试环境create table test01(c1 number,c2 number);declare i number:=1;begin while i<=100000 loop insert into test01(c1,c2) select i,dbms_random.value(1,100000) from dual; if mod(i,1000)=0 then commit; end if; i:=i+1; end loop;end;create index idx_test01_c1 on test01(... 阅读全文

posted @ 2012-11-09 17:29 AssassinAnn 阅读(295) 评论(0) 推荐(1) 编辑

导航