create tablespace wei
datafile 'd:\disk9\wei.dbf'size 10m
minimun extent 50k extent management local
default storage(initial 50k next 50k maxextents 100 pctincrease 0)
报错:ORA-25143:默认存储子句与分配策略部兼容但是如果 create tablespace wei
datafile 'd:\disk9\wei.dbf'size 10m
minimun extent 50k 
default storage(initial 50k next 50k maxextents 100 pctincrease 0)
不要extent management local的话。能创建表空间,但是SEGMEN 是 AUTO。而且MAXEXTENTS不为设定的100
貌似是系统默认的。之后用ALTER TABLESPACE更改表空间的存储设置参数。如MINIMUM EXTENT等
都报错:ORA-25143:默认存储子句与分配策略部兼容
哪位大大帮忙解决下。这问题困恼我3天了。。

解决方案 »

  1.   

    http://ms.itpub.net/redirect.php?fid=67&tid=1241123&goto=nextnewset
      

  2.   

    If you specify local in a create tablespace command, you cannot
    specify a default storage clause, minextents, or temporary. If you use
    the create temporary tablespace command to create the tablespace,
    you can specify extent_management local.
      

  3.   

    MINIMUM EXTENT Clause  和 DEFAULT storage_clause  只能用于定义“字典管理的表空间”(extent management dictionary)。如果没有定义 extent management local,oracle 通过 MINIMUM EXTENT Clause  和 DEFAULT storage_clause 的定义确定扩展的管理模式。具体参看下面的链接
    http://download.oracle.com/docs/cd/B13789_01/server.101/b10759/statements_7003.htm#i2063392