Systems and methods for statistics over complex objects
First Claim
1. A system that facilitates employment of statistics in connection with database optimization, comprising:
- a first component that receives information relating to database performance;
an optimization component that automatically identifies, from the information, a minimal set of statistics to employ in a query;
a second component that automatically creates or updates the set of statistics upon detection the statistics are absent or stale with respect to a column or a computed column; and
a loader that dynamically loads and employs the set of statistics during an optimization process.
2 Assignments
0 Petitions
Accused Products
Abstract
The subject invention relates to systems and methods that automatically create, update, and use statistics over complex objects within a database query processor. A system is provided that facilitates employment of statistics in connection with database optimization. The system includes a component that receives information relating to database performance and an optimization component that automatically identifies, from the information, a minimal set of statistics to employ in a query. A loader dynamically loads and employs the set of statistics during a query optimization process. The optimization component can employ the statistics over computed columns, whereby the columns can be computed from persisted and non-persisted data.
-
Citations
20 Claims
-
1. A system that facilitates employment of statistics in connection with database optimization, comprising:
-
a first component that receives information relating to database performance;
an optimization component that automatically identifies, from the information, a minimal set of statistics to employ in a query;
a second component that automatically creates or updates the set of statistics upon detection the statistics are absent or stale with respect to a column or a computed column; and
a loader that dynamically loads and employs the set of statistics during an optimization process. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A method for database query planning, comprising:
-
mapping multiple database expression forms into a singular expression form for a database;
processing statistics in view of the singular expression form; and
generating a query plan for the database. - View Dependent Claims (18, 19)
-
-
20. A system to facilitate database planning operations, comprising:
-
means for processing information relating to database statistics;
means for generating a plan that automatically identifies a subset of the statistics to employ in a database query; and
means for loading the subset of statistics during a database optimization process.
-
Specification