Re: not able to create multi column partition keys
What you can try is to either split the DATETIME column into two columns, DATE and TIME.
CREATE TABLE t (id INT, d DATE, t TIME)
PARTITION BY LIST COLUMNS(id, d)
...
Or you can try to do RANGE COLUMNS (d, id).
One other suggestion is to use subpartitioning:
PARTITION BY RANGE COLUMNS(d)
SUBPARTITION BY HASH (id) SUBPARTITIONS 3
(PARTTION p1 VALUES LESS THAN ('2010-01-01'),
...);
This way it is even easier to manage the partitions.
Subject
Views
Written By
Posted
4477
December 02, 2010 03:06AM
1911
December 02, 2010 10:31AM
4617
December 03, 2010 02:02AM
Re: not able to create multi column partition keys
2816
December 03, 2010 03:11AM
1682
December 03, 2010 03:41AM
1866
December 05, 2010 12:46AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.