CREATE TABLE employees_demo
    ( employee_id    NUMBER(6)
    ) 
   TABLESPACE example 
   STORAGE (INITIAL     6144  
            NEXT        6144 
            MINEXTENTS     1  
            MAXEXTENTS     5 ); 
这里的storage 是什么意思?我在一本参考书上说是存储分配参数,但是我还是没有理解?

解决方案 »

  1.   

    STORAGE 
        specifies the storage characteristics for the table.  This clause 
        has performance ramifications for large tables.  Storage should be 
        allocated to minimize dynamic allocation of additional space.
      

  2.   

    ORACLE 按区给表分配空间,STORAGE参数指空间分配原则。INITIAL 第一个区的大小
    NEXT    第二个区的大小 
    MINEXTENTS  最少要分配多少个区
    MAXEXTENTS   最多可以分配多少区。
    区不是分区。
      

  3.   

    SQL> create table aa (sex varchar2(2) constraint sex_check check(sex in('男','女')));Table created