时间:2021-07-01 10:21:17 帮助过:36人阅读
linuxidc@LINUXIDC11gt; create table seg_test( x int primary key, y varchar2(20)); Table created. linuxidc@LINUXIDC11gt
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