Query runtime estimation using statistical query records
First Claim
Patent Images
1. A computer-implemented method comprising:
- abstracting one or more parameters of a data repository query by extracting at least a grouping column, a table, and a query filter to form a query abstraction, wherein the one or more parameters include the query filter, wherein abstracting determines a most selective condition within the query filter and determines a selectivity of the most selective condition;
associating the abstracted parameters with one or more statistical query records, wherein associating further comprises identifying a statistical query record that includes the query filter condition matching the determined most selective condition and the query filter selectivity that falls within a predetermined range of the determined selectivity; and
providing, to a user interface for presentation, an estimate of query runtime for the query abstraction, the estimate determined based on the associated one or more statistical query records.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for estimating a runtime of a query of a data repository may abstract, extract, or otherwise generate one or more parameters of the query. Thereafter, the abstracted parameters may be associated with one or more statistical query records. From these statistical query records, a query runtime may be estimated. Related apparatuses, computer program products, and computer systems are also described.
136 Citations
18 Claims
-
1. A computer-implemented method comprising:
-
abstracting one or more parameters of a data repository query by extracting at least a grouping column, a table, and a query filter to form a query abstraction, wherein the one or more parameters include the query filter, wherein abstracting determines a most selective condition within the query filter and determines a selectivity of the most selective condition; associating the abstracted parameters with one or more statistical query records, wherein associating further comprises identifying a statistical query record that includes the query filter condition matching the determined most selective condition and the query filter selectivity that falls within a predetermined range of the determined selectivity; and providing, to a user interface for presentation, an estimate of query runtime for the query abstraction, the estimate determined based on the associated one or more statistical query records. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system comprising:
-
a processor; and a memory, wherein the processor and memory are configured to provide an apparatus comprising; an abstraction unit to abstract one or more parameters of a data repository query by extracting at least a grouping column, a table, and a query filter to form a query abstraction, wherein the one or more parameters include the query filter, wherein abstracting determines a most selective condition within the query filter and determines a selectivity of the most selective condition; an association, to a user interface for presentation, unit to associate the abstracted parameters with one or more statistical query records, wherein associating further comprises identifying a statistical query record that includes the query filter condition matching the determined most selective condition and the query filter selectivity that falls within a predetermined range of the determined selectivity; and an estimator to provide an estimate of query runtime for the query abstraction, the estimate determined based on the associated one or more statistical query records. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A computer program product, embodied on computer readable-material, the computer program product including executable instructions for estimating a runtime of a query of a data repository that cause a computer system to provide a method comprising:
-
abstracting one or more parameters of the query by extracting at least a grouping column, a table, and a query filter to form a query abstraction, wherein the one or more parameters include the query filter, wherein abstracting determines a most selective condition within the query filter and determines a selectivity of the most selective condition; associating the abstracted parameters with one or more statistical query records, wherein associating further comprises identifying a statistical query record that includes the query filter condition matching the determined most selective condition and the query filter selectivity that falls within a predetermined range of the determined selectivity; and estimating the query runtime for the query abstraction, the estimate determined based on the associated one or more statistical query records.
-
Specification