Oracle 11g R2 延迟段创建

linuxidc@LINUXIDC11> create table seg_test( x int primary key, y varchar2(20));


Table created.


linuxidc@LINUXIDC11> select owner,header_file,header_block,bytes,blocks,extents from dba_segments where segment_name = 'SEG_TEST';


no rows selected ---没有初始化是数据, 所以还没有段


linuxidc@LINUXIDC11> insert into seg_test values(1,'linuxidc');


1 row created.


linuxidc@LINUXIDC11> commit;


Commit complete.


linuxidc@LINUXIDC11> select owner,header_file,header_block,bytes,blocks,extents from dba_segments where segment_name = 'SEG_TEST';


OWNER                          HEADER_FILE HEADER_BLOCK      BYTES    BLOCKS    EXTENTS
------------------------------ -----------      ------------      ---------- ---------- ----------
linuxidc                                    4                  57858            65536          8          1

相关推荐