Home >Database >Mysql Tutorial >Oracle 11g R2 延迟段创建

Oracle 11g R2 延迟段创建

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 17:24:45923browse

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

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn