Computer Science > Databases
[Submitted on 30 Nov 2021 (this version), latest version 14 Feb 2022 (v2)]
Title:Maliva: Using Machine Learning to Rewrite Visualization Queries Under Time Constraints
View PDFAbstract:We consider data-visualization systems where data is stored in a database, and a middleware layer translates a frontend request to a SQL query to the database to compute visual results. We focus on the problem of handling visualization requests with predetermined time constraints. We study how to rewrite the original query by adding hints and/or conducting approximations so that the total time is within the time constraint. We develop a novel middleware solution called Maliva, which adopts machine learning (ML) techniques to solve the problem. It applies the Markov Decision Process (MDP) model to decide how to rewrite queries and uses training instances to learn an agent that can make a sequence of decisions judiciously for an online request. Our experiments on both real and synthetic datasets show that compared to the baseline approach that relies on the original SQL query, Maliva performs significantly better in terms of both the chance of serving requests interactively and query execution time.
Submission history
From: Qiushi Bai [view email][v1] Tue, 30 Nov 2021 23:57:39 UTC (1,621 KB)
[v2] Mon, 14 Feb 2022 18:15:44 UTC (1,651 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.