TPC-H · Approximate Query Processing

50 papers · 126 extracted observations · query processing · Markdown · CSV · JSON API

Showing 1 of 1 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
2020ML-AQP proposed non-standard sliceQueries with relative error below 10%100%Approximate Query Processing · error-threshold=10%ML-AQP: Query-Driven Approximate Query Processing based on Machine Learning
Source quote
L591: 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.