arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.06221cs.DB
收藏

带访问模式的合取查询的时空权衡

Space-Time Tradeoffs for Conjunctive Queries with Access Patterns

Hangdong Zhao, Shaleen Deep, Paraschos Koutris

AI总结:

针对带访问模式的合取查询时空权衡缺乏通用框架的问题,提出基于PANDA算法与树分解的通用框架,涵盖现有最优方案且在可达性查询上实现性能提升。

摘要:

本文研究了带访问模式的合取查询(CQAPs)应答的时空权衡问题。研究目标是在初始预处理阶段构建一种空间高效的数据结构,并在在线阶段用其应答(多个)查询。已有研究已开发出针对路径查询、三角形查询等实用查询的、以空间换取应答时间的数据结构,但这些方法缺乏统一框架,不具备可推广性。本文的核心贡献是提出一个通用算法框架,可得到任意CQAP的时空权衡方案。该框架基于PANDA算法(熊猫算法)与树分解技术构建。实验证明,本框架涵盖了此前针对各类查询独立得出的所有最先进权衡方案。此外,针对可达性查询,本框架相比现有文献中已知的最先进权衡方案实现了出人意料的性能提升。

英文摘要:

In this paper, we investigate space-time tradeoffs for answering conjunctive queries with access patterns (CQAPs). The goal is to create a space-efficient data structure in an initial preprocessing phase and use it for answering (multiple) queries in an online phase. Previous work has developed data structures that trades off space usage for answering time for queries of practical interest, such as the path and triangle query. However, these approaches lack a comprehensive framework and are not generalizable. Our main contribution is a general algorithmic framework for obtaining space-time tradeoffs for any CQAP. Our framework builds upon the $\PANDA$ algorithm and tree decomposition techniques. We demonstrate that our framework captures all state-of-the-art tradeoffs that were independently produced for various queries. Further, we show surprising improvements over the state-of-the-art tradeoffs known in the existing literature for reachability queries.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑