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

  1. create table in structure want using create select partitions , sub partitions.
  2. switch names of 2 tables.

you can explore use of dbms_redefinition if have luxury of littel downtime it's not worth it.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -