How To Have A Single Range Column Partition With Hashed Subpartitions
(Doc ID 863699.1)
Last updated on FEBRUARY 01, 2022
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 to 220.127.116.11 [Release 11.1 to 11.2]
Information in this document applies to any platform.
This is an "HOW TO" style article and as such will work on all supported versions.
This was tested against Oracle RDBMS 18.104.22.168.
The following requirement for a Partitioned table has been implemented and tested. The requirement states:
"A large partitioned table requires all negative values to be in a single partition for column NUM_COL, and the positive values to be in another partition which requires hashed sub-partitions. Thus allowing the efficient storage and accessibility of the positive values for future SQL queries."
One of the questions that requires answering here during the partition design phase is number of sub-partitions required in the positive number partition. This is important as a future redesign of this table with large amounts of data will be a large task. An example of the possible formula to use for this is:
NOTE. Here the #rows_in_table is defined as the positive numbers as we are not interested in the negative values.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document