eygle.com   eygle.com
eygle.com eygle
eygle.com  
 

« SQL*Plus中 Set timing on的时间显示单位 | Blog首页 | Oracle 11gR2 : ACFS 文件系统 呼之欲出 »

Oracle 11g 的INTERVAL分区不支持IOT表
modb.pro

今天测试发现Oracle Database 11g中的INTERVAL分区不支持IOT表:

SQL> CREATE TABLE iship (
  2  aindex  NUMBER,
  3  smmsih  VARCHAR2(20),
  4  idatet  DATE,
  5  odatet  DATE,
  6  CONSTRAINT pk_iship PRIMARY KEY(aindex,smmsih,idatet,odatet))
  7  ORGANIZATION INDEX
  8  COMPRESS 2
  9  PARTITION BY RANGE (idatet)
10  INTERVAL (NUMTODSINTERVAL(1,'day'))
11  (
12  PARTITION day090301 VALUES LESS THAN (TO_DATE('2009-03-02', 'YYYY-MM-DD'))
13  )
14  ;
(
*
ERROR at line 11:
ORA-25198: only range, list, and hash partitioning are supported for index-organized table

提示表明,IOT表仅支持Range、List、Hash分区,而且IOT表不支持复合分区。
INTERVAL分区的限制还包括:
Index Organized tables (IOTs) are not supported by interval partitioning.
Domain index cannot be created on interval partitioned tables.
Only one partitioning key column can be set for the interval partition and it must be either a DATE or NUMBER data type.

INTERVAL的实现对与维护有很大的帮助,在IOT的RANGE分区上应当没有多大的难度,期望在将来版本中,Oracle能够增加这一支持。


历史上的今天...
    >> 2018-03-05文章:
    >> 2012-03-05文章:
    >> 2006-03-05文章:

By eygle on 2009-03-05 16:55 | Comments (0) | Oracle12c/11g | 2218 |


CopyRight © 2004~2020 云和恩墨,成就未来!, All rights reserved.
数据恢复·紧急救援·性能优化 云和恩墨 24x7 热线电话:400-600-8755 业务咨询:010-59007017-7040 or 7037 业务合作: marketing@enmotech.com