Oracle12c/11g
2009-03-05
Oracle 11g 的INTERVAL分区不支持IOT表
今天测试发现Oracle Database 11g中的INTERVAL分区不支持IOT表:
提示表明,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能够增加这一支持。
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 Oracle 18c 安装ORA-12754 Runtime Environment的两种解决方案
- 2012-03-05 Oracle数据恢复:异常中断的操作都很危险
- 2006-03-05 这是谁家的蜘蛛(hl_ftien_spider) ?