TPC-H · Approximate Query Processing
50 papers · 126 extracted observations · query processing · Markdown · CSV · JSON API
Tasks on TPC-HAll tasks (50)Query Processing (13)Query Optimization (6)Dag Scheduling (2)Database Knob Tuning (2)Database Query Processing (2)Query Cost Estimation (2)Query Execution (2)Approximate Query Processing (1)
TaskQuery Processing (37)Query Optimization (9)Database Query Processing (9)Dag Scheduling (8)Query Cost Estimation (6)Query Execution (6)Query Execution Time Prediction (6)
Metricerror rate (13)spearman correlation r s between estimated uncer (6)joins runtime server side sj dec and sj match (5)makespan (5)workload performance sum of warm run times for 2 (3)query execution time (3)view query latency (3)
Showing 1 of 1 matching observations.
| Year | Method | Metric | Score | Protocol / Facets | Paper & Evidence |
|---|---|---|---|---|---|
| 2020 | ML-AQP proposed non-standard slice | Queries with relative error below 10% | 100% | Approximate Query Processing · error-threshold=10% | ML-AQP: Query-Driven Approximate Query Processing based on Machine LearningSource quoteL591: An initial set of results is shown at Figure \ref{fig:rel-error-each}. A first impression is that both systems perform really well over a large range of queries. Please note that the results show the average relative error over each query template. Where for each query template multiple, >50, queries were executed with random predicate values as described in (\ref{sec:experimental-setup}). ML-AQP is able to accurately answer 80% of queries for \texttt{Instacart} and 100% of the selected \texttt{TPC-H} queries with relative error below 10%. We can also visually discern that ML-AQP outperforms VerdictDB for many queries. VerdictDB at 1% was not able to answer accurately queries that have a large number of groups, such as 14-ic and in some cases the groups returned by VerdictDB did not match the ones returned by the engine (3-tpch, 5-tpch)\footnote{We were not able to run query 4-tpch as an uknown error was thrown at runtime.}. For ML-AQP, queries 1-ic and 5-ic produce large relative errors. This is understandable as these queries include no predicates and are simply the results over a full scan of the table (ie are simple \texttt{SELECT AF FROM T}). The results of such queries can easily be cached. ML-AQP is not expected to answer such queries as the meta-vector m is filled with \texttt{nan} values, to which the model simply ignores as there are no patterns to be learned. |