partitioning - Add sub partition on another column in oracle -
i have table has 2 partitions (by range): first_half , second_half based on column "insert_day".
i need add subpartitions "success" , "nonsuccess" based on values of column "status" (subpartition list) i.e. need transform range partition composite (range-list) partition.
i not wish drop existing tables or partitions. alter query this?
ps: database oracle 9i
no alter query adding subpartitions far know. desired result performe folowing steps
- create table in structure want using
create select
partitions , sub partitions. - switch names of 2 tables.
you can explore use of dbms_redefinition
if have luxury of littel downtime it's not worth it.
Comments
Post a Comment