arXiv · 2207.06820
Using Fuzzy Matching of Queries to optimize Database workloads
Abstract
Directed Acyclic Graphs (DAGs) are commonly used in Databases and Big Data computational engines like Apache Spark for representing the execution plan of queries. We refer to such graphs as Query Directed Acyclic Graphs (QDAGs). This paper uses similarity hashing to arrive at a fingerprint such that the fingerprint embodies the compute requirements of the query for QDAGs. The fingerprint, thus obtained, can be used to predict the runtime behaviour of a query based on queries executed in the past having similar QDAGs. We discuss two approaches to arrive at a fingerprint, their pros and cons and how aspects of both approaches can be combined to improve the predictions. Using a hybrid approach, we demonstrate that we are able to predict runtime behaviour of a QDAG with more than 80% accuracy.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Sweta Singh, Vaibhav Kulkarni, Mario Briggs, Deepak Mahajan, Eitan Farchi. 2022-07-14. Using Fuzzy Matching of Queries to optimize Database workloads. https://arxiv.org/abs/2207.06820
Cite the original work for its findings. Save a collection to share your selection of sources.