Answering (Unions of) Conjunctive Queries using Random Access and Random-Order Enumeration

枚举 随机排列 计算机科学 排列(音乐) 随机存取 加入 预处理器 订单(交换) 匹配(统计) 组合数学 离散数学 理论计算机科学 数学 块(置换群论) 统计 操作系统 物理 人工智能 经济 程序设计语言 声学 财务
作者
Nofar Carmeli,Shai Zeevi,Christoph Berkholz,Benny Kimelfeld,Nicole Schweikardt
出处
期刊:ACM Transactions on Database Systems [Association for Computing Machinery]
卷期号:47 (3): 1-49
标识
DOI:10.1145/3531055
摘要

As data analytics becomes more crucial to digital systems, so grows the importance of characterizing the database queries that admit a more efficient evaluation. We consider the tractability yardstick of answer enumeration with a polylogarithmic delay after a linear-time preprocessing phase. Such an evaluation is obtained by constructing, in the preprocessing phase, a data structure that supports polylogarithmic-delay enumeration. In this article, we seek a structure that supports the more demanding task of a “random permutation”: polylogarithmic-delay enumeration in truly random order. Enumeration of this kind is required if downstream applications assume that the intermediate results are representative of the whole result set in a statistically meaningful manner. An even more demanding task is that of “random access”: polylogarithmic-time retrieval of an answer whose position is given. We establish that the free-connex acyclic CQs are tractable in all three senses: enumeration, random-order enumeration, and random access; and in the absence of self-joins, it follows from past results that every other CQ is intractable by each of the three (under some fine-grained complexity assumptions). However, the three yardsticks are separated in the case of a union of CQs (UCQ ): while a union of free-connex acyclic CQs has a tractable enumeration, it may (provably) admit no random access. We identify a fragment of such UCQs where we can guarantee random access with polylogarithmic access time (and linear-time preprocessing) and a more general fragment where we can guarantee tractable random permutation. For general unions of free-connex acyclic CQs, we devise two algorithms with relaxed guarantees: one has logarithmic delay in expectation, and the other provides a permutation that is almost uniformly distributed. Finally, we present an implementation and an empirical study that show a considerable practical superiority of our random-order enumeration approach over state-of-the-art alternatives.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
大幅提高文件上传限制,最高150M (2024-4-1)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
夜阑风静发布了新的文献求助10
刚刚
刚刚
毛慢慢发布了新的文献求助10
1秒前
1秒前
2秒前
水煮南瓜头完成签到,获得积分10
3秒前
Yg发布了新的文献求助10
3秒前
觅云应助善良的静曼采纳,获得10
4秒前
夜阑风静完成签到,获得积分10
7秒前
科目三应助Baekhyun采纳,获得10
8秒前
11秒前
11秒前
11秒前
张泽崇应助毛慢慢采纳,获得10
14秒前
14秒前
打打应助熊二浪采纳,获得10
14秒前
柳寄柔完成签到,获得积分10
15秒前
16秒前
Lucas应助tgd采纳,获得30
18秒前
zh完成签到,获得积分10
19秒前
Veronica Mew完成签到 ,获得积分10
19秒前
19秒前
20秒前
21秒前
Jasper应助TT2022采纳,获得10
21秒前
21秒前
Y-CityU完成签到,获得积分10
22秒前
23秒前
熊二浪发布了新的文献求助10
23秒前
Xiao10105830发布了新的文献求助10
25秒前
慧19960418发布了新的文献求助10
25秒前
26秒前
27秒前
28秒前
28秒前
29秒前
畅快毛毛发布了新的文献求助10
29秒前
29秒前
30秒前
舟舟完成签到,获得积分10
31秒前
高分求助中
The three stars each : the Astrolabes and related texts 1070
Manual of Clinical Microbiology, 4 Volume Set (ASM Books) 13th Edition 1000
Sport in der Antike 800
Aspect and Predication: The Semantics of Argument Structure 666
De arte gymnastica. The art of gymnastics 600
少脉山油柑叶的化学成分研究 530
Sport in der Antike Hardcover – March 1, 2015 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 有机化学 工程类 生物化学 纳米技术 物理 内科学 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 电极 光电子学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 2408764
求助须知:如何正确求助?哪些是违规求助? 2104819
关于积分的说明 5315218
捐赠科研通 1832394
什么是DOI,文献DOI怎么找? 913047
版权声明 560733
科研通“疑难数据库(出版商)”最低求助积分说明 488236