I have a 7 Node Hana Instance ; I have to implement a Multi-Level Hash Range Partitioning on a Date Column .
I want to partition in a way to take advantage of partition pruning and load distribution across all nodes .
My Partition statement looks like
ALETR TABLE A PARTITIO0N BY HASH (COL1) PARTITION 7 ,
RANGE (COL2)
(PARTITION '2015-01-01' <= VALUES < '2015-01-06',
PARTITION '2015-01-06' <- VALUES < '2015-01-11',
.....
150 PARTITIONS )
This is failing for me with a message "Number of Parts must not exceed 1000" . I know HANA has a limit of max 1000 Partitions .
But here in this case , its not the number of Ranges which are getting counted (150 in this case ) ; but the number of partitions is being calculated as
7 * 150 = 1050
How do we work around the 1000 partition limit . In my case this translates to just 150 Range Partitions ; which falls short of the requirement .