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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
皮儿关注了科研通微信公众号
1秒前
害羞雨南发布了新的文献求助10
2秒前
燕子非发布了新的文献求助10
4秒前
无情干饭崽完成签到,获得积分10
5秒前
卡卡咧咧发布了新的文献求助10
6秒前
6秒前
123发布了新的文献求助10
6秒前
6秒前
汉堡包应助wumandong采纳,获得10
7秒前
7秒前
故酒应助haki采纳,获得10
8秒前
科研通AI5应助haki采纳,获得10
8秒前
HEAUBOOK应助水论文行者采纳,获得10
8秒前
8秒前
慕青应助人不犯二枉少年采纳,获得10
9秒前
Atobe完成签到,获得积分10
9秒前
彭于晏应助zy采纳,获得10
10秒前
融化的汪完成签到,获得积分10
10秒前
诗轩发布了新的文献求助10
11秒前
nn完成签到 ,获得积分10
11秒前
12秒前
yaya小气猫发布了新的文献求助30
12秒前
涨涨涨张发布了新的文献求助10
12秒前
粽子发布了新的文献求助10
13秒前
14秒前
SciGPT应助yyc采纳,获得10
15秒前
loyal发布了新的文献求助10
16秒前
cherish发布了新的文献求助10
16秒前
16秒前
璐璐发布了新的文献求助10
17秒前
義0331完成签到 ,获得积分10
18秒前
涨涨涨张完成签到,获得积分10
18秒前
哎嘤斯坦发布了新的文献求助10
19秒前
20秒前
希望天下0贩的0应助格格采纳,获得10
20秒前
21秒前
21秒前
22秒前
22秒前
23秒前
高分求助中
Encyclopedia of Mathematical Physics 2nd edition 888
Chinesen in Europa – Europäer in China: Journalisten, Spione, Studenten 500
Arthur Ewert: A Life for the Comintern 500
China's Relations With Japan 1945-83: The Role of Liao Chengzhi // Kurt Werner Radtke 500
Two Years in Peking 1965-1966: Book 1: Living and Teaching in Mao's China // Reginald Hunt 500
材料概论 周达飞 ppt 500
Nonrandom distribution of the endogenous retroviral regulatory elements HERV-K LTR on human chromosome 22 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3807134
求助须知:如何正确求助?哪些是违规求助? 3351915
关于积分的说明 10356503
捐赠科研通 3067918
什么是DOI,文献DOI怎么找? 1684783
邀请新用户注册赠送积分活动 809910
科研通“疑难数据库(出版商)”最低求助积分说明 765787