Bag Semantics Conjunctive Query Containment. Four Small Steps Towards Undecidability.

Jerzy Marcinkowski, Mateusz Orda
{"title":"Bag Semantics Conjunctive Query Containment. Four Small Steps Towards Undecidability.","authors":"Jerzy Marcinkowski, Mateusz Orda","doi":"10.1145/3651604","DOIUrl":null,"url":null,"abstract":"Query Containment Problem (QCP) is one of the most fundamental decision problems in database query processing and optimization.\n Complexity of QCP for conjunctive queries has been fully understood since 1970s. But, as Chaudhuri and Vardi noticed in their classical 1993 paper this understanding is based on the assumption that query answers are sets of tuples, and it does not transfer to the situation when multi-set (bag) semantics is considered.\n Now, 30 years later, decidability of QCP for bag semantics remains an open question, one of the most intriguing open questions in database theory.\n \n In this paper we show a series of undecidability results for some generalizations of this problem. We show, for example, that the problem whether, for given two boolean conjunctive queries φ\n s\n and φ\n b\n , and a linear function F, the inequality F(φ\n s\n (D)) =< φ\n b\n (D) holds for each database instance D, is undecidable.\n","PeriodicalId":498157,"journal":{"name":"Proceedings of the ACM on Management of Data","volume":" 92","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the ACM on Management of Data","FirstCategoryId":"0","ListUrlMain":"https://doi.org/10.1145/3651604","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Query Containment Problem (QCP) is one of the most fundamental decision problems in database query processing and optimization. Complexity of QCP for conjunctive queries has been fully understood since 1970s. But, as Chaudhuri and Vardi noticed in their classical 1993 paper this understanding is based on the assumption that query answers are sets of tuples, and it does not transfer to the situation when multi-set (bag) semantics is considered. Now, 30 years later, decidability of QCP for bag semantics remains an open question, one of the most intriguing open questions in database theory. In this paper we show a series of undecidability results for some generalizations of this problem. We show, for example, that the problem whether, for given two boolean conjunctive queries φ s and φ b , and a linear function F, the inequality F(φ s (D)) =< φ b (D) holds for each database instance D, is undecidable.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
包语义连接查询包含。迈向不可判定性的四小步
查询包含问题(QCP)是数据库查询处理和优化中最基本的决策问题之一。早在 20 世纪 70 年代,人们就已经完全理解了连接查询的 QCP 复杂性。但是,正如 Chaudhuri 和 Vardi 在他们 1993 年的经典论文中所指出的,这种理解是基于查询答案是元组集合的假设,并没有转移到考虑多集合(袋)语义的情况中。30 年后的今天,袋语义的 QCP 可判定性仍是一个未决问题,也是数据库理论中最引人入胜的未决问题之一。 在本文中,我们展示了该问题某些广义化的一系列不可判定性结果。例如,我们证明了这样一个问题:对于给定的两个布尔连接查询φ s 和φ b,以及一个线性函数 F,对于每个数据库实例 D,不等式 F(φ s (D)) =< φ b (D) 是否成立?
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Verification of Unary Communicating Datalog Programs Postulates for Provenance: Instance-based provenance for first-order logic Tight Lower Bounds for Directed Cut Sparsification and Distributed Min-Cut Containment of Graph Queries Modulo Schema Bag Semantics Conjunctive Query Containment. Four Small Steps Towards Undecidability.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1