亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: 大數(shù)據(jù)量插入測(cè)試 [打印本頁(yè)]

作者: imtj    時(shí)間: 2008-06-18 11:38
標(biāo)題: 大數(shù)據(jù)量插入測(cè)試
reate table test7(id number(10),hire_date date);
create index test7_indx on test7(id);
alter table test7 nologging ;

declare
i int;
begin
for i in 1..600000 loop
insert into test7 values (i,sysdate);
end loop;
end;
需要190秒




create table test8(id number(10),hire_date date)
create index test8_indx on test7(id)
alter table test7 nologging;
alter index test7_indx nologging;
declare
i int;
begin
for i in 1..600000 loop
insert into test8 values (i,sysdate);
end loop;
end;
需要148秒

create table test9(id number(10),hire_date date)
alter table test9 nologging;
declare
i int;
begin
for i in 1..600000 loop
insert into test9 values (i,sysdate);
end loop;
end;
需要75秒


create table test10(id number(10),hire_date date)
declare
i int;
begin
for i in 1..600000 loop
insert into test10 values (i,sysdate);
end loop;
end;
需要81秒

create table test11(id number(10),hire_date date);
alter table test11 nologging;
declare
i int;
begin
for i in 1..600000 loop
insert /+* APPAND +/ into test11 values (i,sysdate);
end loop;
end;
需要69秒

h
作者: ILoveMK    時(shí)間: 2008-06-18 11:55
提示: 作者被禁止或刪除 內(nèi)容自動(dòng)屏蔽




歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2