Method and system for executing a database query
First Claim
1. A method for executing a query against a database, wherein the database includes partitions for storing table data based on a partitioning schema with each partition associated with a partition identifier and database catalog information associated with the database, the method comprising:
- (a) identifying a partition identifier in accordance with the partitioning schema;
(b) selecting the partition identifier based upon the contents of the query and the database catalog information; and
(c) executing the query against the identified partition.
3 Assignments
0 Petitions
Accused Products
Abstract
For a database management system installed in a data processing system, the database management system for managing a database having partitions for storing table data based on a partitioning schema, in which each partition has an associated partition identifier, and in which the database has database catalog information associated therewith, a method for executing a query against the database is disclosed. The method includes identifying a partition identifier in accordance with the partitioning schema, selecting the partition identifier based on the contents of the query and the database catalog information, and executing the query against the identified partition. The method improves the execution of queries while minimizing the consumption of network resources.
54 Citations
18 Claims
-
1. A method for executing a query against a database, wherein the database includes partitions for storing table data based on a partitioning schema with each partition associated with a partition identifier and database catalog information associated with the database, the method comprising:
-
(a) identifying a partition identifier in accordance with the partitioning schema;
(b) selecting the partition identifier based upon the contents of the query and the database catalog information; and
(c) executing the query against the identified partition. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A database management system for executing a query against a database, wherein the database includes partitions for storing table data based on a partitioning schema with each partition associated with a partition identifier and database catalog information associated with the database, the method comprising:
-
a schema-lookup module to identify a partition identifier in accordance with the partitioning schema;
a partition-router module to select the partition identifier based upon the contents of the query and the database catalog information; and
a data-manager module to execute the query against the identified partition. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A program product apparatus having a computer readable medium with computer program logic recorded thereon for executing a query against a database, wherein the database includes partitions for storing table data based on a partitioning schema with each partition associated with a partition identifier and database catalog information associated with the database, said program product apparatus comprising:
-
a schema-lookup module to identify a partition identifier in accordance with the partitioning schema;
a partition-router module to select the partition identifier based upon the contents of the query and the database catalog information; and
a data-manager module to execute the query against the identified partition. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification