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
4294
December 02, 2010 03:06AM
1809
December 02, 2010 10:31AM
4481
December 03, 2010 02:02AM
Re: not able to create multi column partition keys
2704
December 03, 2010 03:11AM
1597
December 03, 2010 03:41AM
1770
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.