Re: Query to a partitioned table using all partitions
Posted by:
Rick James
Date: November 19, 2016 03:42PM
I suspect it is "not a bug" because any range of days would be complex to work with in BY RANGE(DAY(...)) -- it might wrap the list of partitions, it might include all partitions if, for example, you say
WHERE date BETWEEN NOW() - INTERVAL 44 DAY AND NOW()
BY RANGE(TO_DAYS(...)), instead always produces a simple range of partitions.
You could counter-argue that that was being lazy; maybe you would be right. Since there are dozens (hundreds?) of different cases that it fails to handle as a human might desire, I suspect it was a deliberate simplification.
Subject
Views
Written By
Posted
3034
November 06, 2016 11:22PM
1496
November 12, 2016 05:55PM
1261
November 18, 2016 03:16AM
Re: Query to a partitioned table using all partitions
1281
November 19, 2016 03:42PM
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.