这些语法的含义介绍在oracle的文档中都有讲解的。
sql reference
http://gigabase.idi.ntnu.no/oradoc/nav/docindex.htm

解决方案 »

  1.   

    1、CONSTRAINT PK_GUARDCODE
      PRIMARY KEY ( ID ) 
        USING INDEX 
         TABLESPACE USERS PCTFREE 10
         STORAGE ( INITIAL 131072 NEXT 131072 PCTINCREASE 0 ))
    这是定义一个约束(CONSTRAINT),名字叫 PK_GUARDCODE :
    主键ID使用索引表空间 USERS 和 大小定义(STORAGE)2、TABLESPACE USERS
       PCTFREE 10
       PCTUSED 40
       INITRANS 1
       MAXTRANS 255
      STORAGE ( 
       INITIAL 131072
       NEXT 131072
       MINEXTENTS 1
       MAXEXTENTS 2147483645
       FREELISTS 1 FREELIST GROUPS 1 )定义的是这个表qqqq,使用的表空间USERS 和 大小定义(STORAGE)3、NOCACHE表示这个表不是经常使用,在全行扫描时,放在LRU队列的末尾。建议你找个CREATE TABLE 参数说明的资料看看
      

  2.   

    contraint,tablespace还有可能用到,其他的一般使用默认即可。
      

  3.   

    CONSTRAINT约束关键字,上面例子为主键ID建立约束名称
      

  4.   

    FREELISTS
    For objects other than tablespaces, specify the number of free lists for each of the free list groups for the table, partition, cluster, or index. The default and minimum value for this parameter is 1, meaning that each free list group contains one free list. The maximum value of this parameter depends on the data block size. If you specify a FREELISTS value that is too large, Oracle returns an error indicating the maximum value对于对象而不是表空间。给表,分区,簇或者索引
    每一个freelist groups指定 自由列表的数量。
    默认和最小值是1,意思是每个free list group 包含有一张自由列表。
    这个参数的最大值取决于数据块的大小。
    如果你指定的freelists值太大了,oralce返回一个最大值错误说明。
      

  5.   

    MINEXTENTS
    Specify the total number of extents to allocate when the object is created. This parameter lets you allocate a large amount of space when you create an object, even if the space available is not contiguous. The default and minimum value is 1, meaning that Oracle allocates only the initial extent, except for rollback segments, for which the default and minimum value is 2. The maximum value depends on your operating system. 指定当对象创建时总分区分配数量。
    当你创建一个对象时,这个参数可以让你分配大量的空间,即使可用的空间是不连续的。
    默认和最小值是1,意味着oracle只分配初始区,但是回滚段默认和最小值是2。
    最大值取决于你的操作系统。
      

  6.   

    maxextends
    Specify the total number of extents, including the first, that Oracle can allocate for the object. The minimum value is 1 (except for rollback segments, which always have a minimum value of 2). The default value depends on your data block size. Restriction: You cannot change the value of MAXEXTENTS for an object that resides in a locally managed tablespace. 指定oralce能够分配给这个对象的总的分区数量。
    限制:你不可以改变本地表空间的对象的maxextents的值。