based on NUMBER column:
create table trans_summary (
product_code number,
tot_amount number(12,2)
)
partition by list (product_code)
(
partition p1 values (1),
partition p2 values (2),
partition p3 values (3),
partition p4 values (4),
partition p5 values (5),
partition p6 values (6),
partition p7 values (7),
partition p8 values (8),
partition p9 values (9),
partition p10 values (10)
)
Same can be used for VARCHAR2 if you can make decission how to divide the ranges.
Main Topics
Browse All Topics





by: schwertnerPosted on 2008-05-27 at 00:58:21ID: 21650120
This is so, because dates divide the 'axis' in good intervals and is the common measuring.
nology/ora mag/oracle /06-sep/ o5 6partition .html
You can also partition a table based on intervals on every column.
Very good article is
http://www.oracle.com/tech