EVA: A Symbolic Approach to Accelerating Exploratory Video Analytics with Materialized Views
Authors:
Open Access
- 10 June 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 602-616
Abstract
Advances in deep learning have led to a resurgence of interest in video analytics. In an exploratory video analytics pipeline, a data scientist often starts by searching for a global trend and then iteratively refines the query until they identify the desired local trend. These queries tend to have overlapping computation and often differ in their predicates. However, these predicates are computationally expensive to evaluate since they contain user-defined functions (UDFs) that wrap around deep learning models. In this paper, we present EVA, a video database management system (VDBMS) that automatically materializes and reuses the results of expensive UDFs to facilitate faster exploratory data analysis. It differs from the state-of-the-art (SOTA) reuse algorithms in traditional DBMSs in three ways. First, it focuses on reusing the results of UDFs as opposed to those of sub-plans. Second, it takes a symbolic approach to analyze predicates and identify the degree of overlap between queries. Third, it factors reuse into UDF evaluation cost and uses the updated cost function in critical query optimization decisions like predicate reordering and model selection. Our empirical analysis of EVA demonstrates that it accelerates exploratory video analytics workloads by 4x with a negligible storage overhead (1.001x). We demonstrate that the reuse algorithm in EVA complements the specialized filters adopted in SOTA VDBMSs.Keywords
Funding Information
- CNS (1909346,2008368)
- IIS (1850342,1908984)
This publication has 36 references indexed in Scilit:
- Shared workload optimizationProceedings of the VLDB Endowment, 2014
- Execution strategies for SQL subqueries2007
- Efficient exploitation of similar subexpressions for query processing2007
- The History of Histograms (abridged)2003
- Optimization of queries with user-defined predicatesACM Transactions on Database Systems, 1999
- A threshold of ln n for approximating set coverJournal of the ACM, 1998
- On the hardness of approximating minimization problemsJournal of the ACM, 1994
- Practical predicate placement1994
- A Greedy Heuristic for the Set-Covering ProblemMathematics of Operations Research, 1979
- An optimal evaluation of Boolean expressions in an online query systemCommunications of the ACM, 1977