Summary table management in a computer system
First Claim
Patent Images
1. A computer implemented method for managing a database, comprising:
- collecting statistics on past queries submitted to a database management system;
generating summary table creation recommendations based on the statistics, in which the generation of summary table creation recommendation includes an evaluation of both the frequency and execution times of the past submitted queries, and in which generating summary table creation recommendations comprises ranking a plurality of past queries submitted over a time period, the ranking of a past query of the plurality of past queries based on the expression;
space="preserve" listing-type="equation">log(f).sup.2 (cpu+1)where f is the frequency with which the past query was submitted during the time period, and cpu is the average CPU execution time for the past query during the time period; and
presenting the summary table creation recommendations to a user, or, automatically generating at least one of the summary tables in the summary table creation recommendations.
2 Assignments
0 Petitions
Accused Products
Abstract
A self monitoring system that identifies optimum summary table(s) for use by a database management system, and that automatically creates or deletes summary tables based on selected summary table recommendations.
158 Citations
9 Claims
-
1. A computer implemented method for managing a database, comprising:
-
collecting statistics on past queries submitted to a database management system; generating summary table creation recommendations based on the statistics, in which the generation of summary table creation recommendation includes an evaluation of both the frequency and execution times of the past submitted queries, and in which generating summary table creation recommendations comprises ranking a plurality of past queries submitted over a time period, the ranking of a past query of the plurality of past queries based on the expression;
space="preserve" listing-type="equation">log(f).sup.2 (cpu+1)where f is the frequency with which the past query was submitted during the time period, and cpu is the average CPU execution time for the past query during the time period; and presenting the summary table creation recommendations to a user, or, automatically generating at least one of the summary tables in the summary table creation recommendations. - View Dependent Claims (2, 3)
-
-
4. A self monitoring system that automatically tunes itself according to system demands, said system demands including system loads and patterns of use,
said tuning comprising the collection of statistics about system usage to assist in the selection of summary tables to create; - and
creation and population of summary tables resulting in the quick performance of user queries while minimizing system resources required to accomplish this, in which the lion of summary tables to create includes an evaluation of both the frequency and execution times of past queries submitted to the system, and in which the selection of summary tables to create comprises ranking a plurality of past queries submitted to the system over a time period, based on the expression;
space="preserve" listing-type="equation">log(f).sup.2 (cpu+1)where f is the frequency with which a past query was submitted during the time period, and cpu is the average CPU execution time for the past query during the time period. - View Dependent Claims (5)
- and
-
6. A computer system comprising;
-
a computer; and a data storage device, the data storage device having a program residing thereon for causing the computer to collect statistics on past submitted database queries, generate summary table creation recommendations based on the collected statistics, in which the generation of summary table creation recommendations includes an evaluation of both the frequency and execution times of the past submitted database queries, and in which generating summary table creation recommendations comprises ranking a plurality of past submitted database queries submitted over a given time period, the ranking of a past query of the plurality of past submitted database queries based on the expression;
space="preserve" listing-type="equation">log(f).sup.2 (cpu+1)where f is the frequency with which the past query was submitted during the time period, and cpu is the average CPU execution time for the past query during the time period, and present the summary table creation recommendations to a user, or, automatically generate at least one of the summary tables in the summary table creation recommendations. - View Dependent Claims (7, 8)
-
-
9. A machine readable medium having stored thereon a program for causing a computer to:
-
collect statistics on past submitted queries; generate summary table creation recommendations based on the collected statistics, in which the generation of summary table creation recommendations includes an evaluation of both the frequency and execution times of the past submitted queries, and in which generating summary table creation recommendations comprises ranking a plurality of past queries submitted over a given time period, based on the expression;
space="preserve" listing-type="equation">log(f).sup.2 (cpu+1)where f is the frequency with which a past query was submitted during the time period, and cpu is the average CPU execution time for the past query during the time period, and present the summary table creation recommendations to a user, or, automatically generate at least one of the summary tables in the summary table creation recommendations.
-
Specification