Method and mechanism for database partitioning
First Claim
Patent Images
1. A method of executing a query against a first database object that is partitioned using a partition definition based upon information located in a second database object, comprising:
- accessing metadata containing the partition definition;
matching the partition definition against a predicate in the query to determine a set of one or more partitions not relevant to the query; and
pruning the set of one or more partitions not relevant to the query.
0 Assignments
0 Petitions
Accused Products
Abstract
The present invention is directed to a method and mechanism for partitioning using information not directly located in the object being partitioned. According to an embodiment of the invention, foreign key-primary key relationships are utilized to create join conditions between multiple database tables to implement partitioning of a database object. Also, disclosed are methods and mechanisms to perform partition pruning.
-
Citations
20 Claims
-
1. A method of executing a query against a first database object that is partitioned using a partition definition based upon information located in a second database object, comprising:
-
accessing metadata containing the partition definition;
matching the partition definition against a predicate in the query to determine a set of one or more partitions not relevant to the query; and
pruning the set of one or more partitions not relevant to the query. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product that includes a medium usable by a processor, the medium having stored thereon a sequence of instructions which, when executed by said processor, causes said processor to execute a process for executing a query against a first database object that is partitioned using a partition definition based upon information located in a second database object, said process comprising:
-
accessing metadata containing the partition definition;
matching the partition definition against a predicate in the query to determine a set of one or more partitions not relevant to the query; and
pruning the set of one or more partitions not relevant to the query. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system for executing a query against a first database object that is partitioned using a partition definition based upon information located in a second database object, the system comprising:
-
means for accessing metadata containing the partition definition;
means for matching the partition definition against a predicate in the query to determine a set of one or more partitions not relevant to the query; and
means for pruning the set of one or more partitions not relevant to the query. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification