oracle表分割槽:範圍分割槽
oracle.表分割槽:雜湊分割槽
oracle.表分割槽:列表分割槽
oracle.表分割槽:復合分割槽
oracle表分割槽:操縱已分割槽的表
範圍分割槽與雜湊分割槽或列表分割槽的組合
語法:
partition by range (column_name1)
subpartition by hash (column_name2)
subpartitions number_of_partitions
( partition part1 value less than(range1),
partition part2 value less than(range2),
...partition partn value less than(maxvalue)
);
例:
create table sales
( product_id varchar2 (5),
sales_date date not null,
sales_cost number (10)
)partition by range (sales_date)
subpartition by hash (product_id)
subpartitions 5
( partition s1 values less than (to_date(『01/4月/2001','dd/mon/yyyy')),
partition s2 values less than (to_date(『01/7月/2001','dd/mon/yyyy')),
partition s3 values less than (to_date(『01/9月/2001','dd/mon/yyyy')),
partition s4 values less than (maxvalue)
);
Oracle 復合分割槽
create table wzw sales acct no number 5 person varchar2 30 sales amount number 8 week no number 2 partition by range week no subpartition by list acct...
oracle高階 列表分割槽 復合分割槽
列表分割槽 create table student sid number,sname varchar2 20 province varchar2 20 partition by list province partition north values 河南 安徽 河北 山東 partition s...
oracle復合分割槽型別
在 10g 中,復合分割槽只支援 range list 和 range hash,而在在 11g 中復合分割槽的型別大大增加,現在 range,list,interval 都可以作為 top level 分割槽,而 second level 則可以是 range,list,hash,也就是在 11g...