标签:
容量和速度:
create table rt1 (a varchar2(10),b varchar2(10),c varchar2(10)); @procrt1.sql exec procrt1 alter table rt1 modify a varchar2(2000); alter table rt1 modify b varchar2(2000); alter table rt1 modify c varchar2(2000); update rt1 set a=lpad(‘1‘,2000,‘*‘),b=lpad(‘1‘,2000,‘*‘),c=lpad(‘1‘,2000,‘*‘); commit; set autotrace traceonly set linesize 1000 select * from rt1;
Statistics ---------------------------------------------------------- 0 recursive calls 0 db block gets 248 consistent gets 0 physical reads 0 redo size 1212109 bytes sent via SQL*Net to client 666 bytes received via SQL*Net from client 15 SQL*Net roundtrips to/from client 0 sorts (memory) 0 sorts (disk) 200 rows processed
create table rt2 as select * from rt1; select * from rt2;
Statistics ---------------------------------------------------------- 0 recursive calls 0 db block gets 204 consistent gets 0 physical reads 0 redo size 1210909 bytes sent via SQL*Net to client 666 bytes received via SQL*Net from client 15 SQL*Net roundtrips to/from client 0 sorts (memory) 0 sorts (disk) 200 rows processed
create or replace procedure procrt1 as begin for i in 1..200 loop insert into rt1 values( ‘AA‘,‘BB‘,‘CC‘ ); end loop; commit; end; /
select pct_free from user_tables where table_name=‘RT1‘;
标签:
原文地址:http://www.cnblogs.com/alexweng/p/4409501.html