做一个 initial 小于uniform size的实验,验证 该表建立后:建立了minextents 个uniform size的extents.

做一个 initial  小于uniform size的实验,验证 该表建立后:建立了minextents 个uniform size的extents.

相关知识参考链接:http://blog.csdn.net/msdnchina/article/details/43836411

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> alter system set deferred_segment_creation=false;

System altered.

SQL> show parameter defer

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
deferred_segment_creation            boolean     FALSE

SQL> create tablespace test_uni_sz_2m  
  2  datafile '/u01/app/oracle/oradata/test/test_uni_sz_2m_01.dbf' size 50m  
  3  extent management local uniform size 2m;  

Tablespace created.

SQL> create table test_tab_2 (col1 varchar2(2)) tablespace test_uni_sz_2m storage(initial 65535 minextents 3);

Table created.

SQL> select bytes from dba_extents where segment_name = 'TEST_TAB_2' and owner = 'SCOTT';  

     BYTES
----------
   2097152
   2097152
   2097152

SQL> show user
USER is "SCOTT"
SQL>    



 

你可能感兴趣的:(table,size,initial,uniform,minextents)