Metadata manager for database query optimizer
First Claim
1. An apparatus, comprising:
- (a) a metadata manager configured to collect metadata associated with a database; and
(b) a plurality of optimizer instances, each optimizer instance configured to generate an execution plan for an associated query using metadata collected by the metadata manager.
4 Assignments
0 Petitions
Accused Products
Abstract
A metadata manager is used in a database management system to collect and maintain metadata associated with a database. Multiple optimizer instances are permitted to access the metadata maintained by the metadata manager, often eliminating the need for individual optimizer instances to retrieve and process metadata directly from the database. As such, the overhead associated with operations such as collecting, refining, retrieving and/or maintaining of metadata can be off-loaded from the optimizer instances, often accelerating individual cost estimation calculations by optimizer instances, facilitating reuse of metadata calculations and refinements, and improving metadata consistency between multiple related cost estimates.
-
Citations
39 Claims
-
1. An apparatus, comprising:
-
(a) a metadata manager configured to collect metadata associated with a database; and
(b) a plurality of optimizer instances, each optimizer instance configured to generate an execution plan for an associated query using metadata collected by the metadata manager. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. An apparatus, comprising:
-
(a) a processor; and
(b) program code configured to execute on the processor to collect metadata associated with a database, the program code further configured to supply the metadata to at least one query optimizer for use in generating an execution plan for a database query. - View Dependent Claims (19, 20, 21, 22, 23, 24)
-
-
25. A program product, comprising:
-
(a) program code configured to collect metadata associated with a database, the program code further configured to supply the metadata to at least one query optimizer for use in generating an execution plan for a database query; and
(b) a signal bearing medium bearing the program code. - View Dependent Claims (26)
-
-
27. A method of managing metadata for a database, the method comprising:
-
(a) collecting metadata associated with a database; and
(b) responding to a plurality of requests by at least one query optimizer by supplying the collected metadata thereto. - View Dependent Claims (28, 29, 30, 31, 32, 33, 34, 35, 36)
-
-
37. A method of optimizing a database query, the method comprising:
-
(a) accessing a metadata manager to retrieve metadata associated with a database; and
(b) using the retrieved metadata to optimize a database query. - View Dependent Claims (38, 39)
-
Specification