Function semantic based partition-wise SQL execution and partition pruning
AssigneeOracle International Corporation
InventorsSrikanth Bellamkonda, Andrew Witkowski, Manish Pratap Singh, Madhuri Kandepi
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsSrikanth Bellamkonda, Andrew Witkowski, Manish Pratap Singh, Madhuri Kandepi
Estimating the term…
An approach for implementing function semantic based partition-wise SQL execution and partition pruning in a data processing system is provided. The system receives a query directed to a range-partitioned table and determines if operation key(s) of the query include(s) function(s) over the table partitioning key(s). If so, the system obtains a set of values corresponding to each partition by evaluating the function(s) on a low bound and/or a high bound table partitioning key value corresponding to the partition. The system may then compare the sets of values corresponding to different partitions and determine whether to aggregate results obtained by executing the query over the partitions based on the comparison. The system may also determine whether to prune any partitions from processing based on a set of correlations between the set of values for each partition and predicate(s) of the query including function(s) over the table partitioning key(s).
A method for processing a request to perform an operation directed to a partitioned table that has been range-partitioned into a plurality of partitions based at least in part upon a table partitioning key, the partitioned table comprising a column corresponding to the table partitioning key, the method comprising:
A non-transitory computer readable medium having stored thereon a sequence of instructions which, when executed by a processor, causes a set of acts for processing a request to perform an operation directed to a partitioned table that has been range-partitioned into a plurality of partitions based at least in part upon a table partitioning key, the partitioned table comprising a column corresponding to the table partitioning key, the set of acts comprising:
A computer system for processing a request to perform an operation directed to a ranged-partitioned table that has been partitioned into a plurality of partitions based at least in part upon a table partitioning key, the partitioned table comprising a column corresponding to the table partitioning key, comprising:
A non-transitory computer readable medium having stored thereon a sequence of instructions which, when executed by a processor, causes the processor to execute a set of acts for processing a request to perform an operation directed to a partitioned table that has been range-partitioned into a plurality of partitions based at least in part upon a table partitioning key, the set of acts comprising:
Dependencies are inferred from the claim text.