« SQL*Plus中 Set timing on的时间显示单位 | Blog首页 | Oracle 11gR2 : ACFS 文件系统 呼之欲出 »
Oracle 11g 的INTERVAL分区不支持IOT表
作者:eygle | 【转载时请以超链接形式标明文章出处和作者信息及本声明】
链接:http://www.eygle.com/archives/2009/03/oracle_11g_inte.html
今天测试发现Oracle Database 11g中的INTERVAL分区不支持IOT表:链接:http://www.eygle.com/archives/2009/03/oracle_11g_inte.html
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) | Del.icio.us | Google | Oracle10g/11g | Edit |Pageviews:
搜索本站:

发表留言