Oracle 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能够增加这一支持。
By eygle on 2009-03-05 16:55 |
Comments (0) |
Oracle12c/11g | 2218 |