Patent ReferencesPerformance-related estimation using pseudo-ranked trees Method, apparatus and programmed medium for approximating the data cube and obtaining approximate answers to queries in relational databases Method for determining optimal database materializations using a query optimizer Identifying essential statistics for query optimization for databases Patent #: 6363371 InventorsAssigneeApplicationNo. 513833 filed on 02/25/2000US Classes:707/3, Query processing (i.e., searching)707/102Generating database or data structure (e.g., via user interface)ExaminersPrimary: Mizrahi, Diane D.Attorney, Agent or FirmInternational ClassG06F 017/30AbstractIn a database system, a method for determining a set of essential statistics. A set of potentially relevant, but unconstructed, statistics for a user query comprising a plurality of operators is compiled. A first value is assigned to the unconstructed statistics and a first projected query cost is computed for the query wherein the unconstructed statistics have the first value. A second value is assigned to the unconstructed statistics and a second projected query cost is computed for the query wherein the unconstructed statistics have the second value. The first and second projected query costs are compared and the determination of essential statistics is discontinued if the first and second projected query costs are equivalent. If the first and second projected query costs are not equivalent, an unconstructed statistic is selected to build and process is repeated until the first and second projected query costs are equivalent or all the unconstructed potentially relevant statistics have been constructed. Statistics which do not sufficiently impact a query plan may be added to a drop list for elimination.Other References
| |