ACM SIGMOD Record · 1989 · 107 citations · 9 references
ComputingComputer ScienceComputer SystemsDatabasesData AggregationDatabase ManagementQuery ProcessingRelational AlgebraRelational DatabasesTemporal DatabasesAggregate Query ProcessingAggregation ProcessingAggregation QueriesRelational Query LanguagesRelational Query Processing
We consider those database environments in which queries have strict timing constraints, and develop a time-constrained query evaluation methodology. For aggregate relational algebra queries, we describe a time constrained query evaluation algorithm. The algorithm, which is implemented in our prototype DBMS, iteratively samples from input relations, and evaluates the associated estimators developed in our previous work, until a stopping criterion (e.g., a time quota or a desired error range) is satisfied. To determine sample sizes at each stage of the iteration (so that the time quota will not be overspent) we need to have (a) accurate sample selectivity estimations of the RA operators in the query, (b) precise time cost formulas, and (c) good time-control strategies. To estimate the sample selectivities of RA operators, we use a runtime sample selectivity estimation and improvement approach which is flexible. For query time estimations, we use time-cost formulas which are adaptive and precise. To use the time quota efficiently, we propose statistical and heuristic time-control strategies to control the risk of overspending the time quota. Preliminary evaluation of the implemented prototype is also presented.
9
Applied Multivariate Statistical Analysis.
Andrea Johnson, Dean W. Wichern · Biometrics · 1988 · 11.4K citations
Access path selection in a relational database management system
Patricia G. Selinger, M. M. Astrahan, Donald D. Chamberlin et al. · 1979 · 2.2K citations
Scheduling real-time transactions
Robert Abbott, Héctor García-Molina · ACM SIGMOD Record · 1988 · 185 citations · Full text