跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据库

arXiv:2609.09978 (cs)
[提交于 2026年9月9日]

标题:Few Rows Tell Them Apart: Equivalence of Queries Mixing Set and Bag Semantics

作者:Sara Cohen
查看论文《Few Rows Tell Them Apart: Equivalence of Queries Mixing Set and Bag Semantics》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Bounded SQL equivalence checkers search for a counter-example database of bounded size, and a search that comes back empty proves nothing. We supply missing theory: computable bounds $B$ such that agreement on all databases with at most $B$ tuples per relation implies equivalence. We work in the combined-semantics framework, which captures SQL's mix of duplicate-eliminating (DISTINCT) and duplicate-preserving computation over set-valued relations. For conjunctive queries we prove a bound linear in the query size for fixed multiset width: inequivalent queries already disagree on a database with at most $2^w |Q|$ tuples, where the width $w$ counts only the columns the queries actually read, independently of the total number of multiset variables. Declared keys shrink the bound to $2^{kw} |Q|$ for the smaller key-width $kw$, acyclic foreign keys leave it unchanged, and the result extends to several classes of queries with comparisons, for which equivalence had not previously been characterized. For these fragments, bounded search becomes a terminating, complete decision procedure.
评论: 27 pages, including 10 pages of appendices; no figures
主题: 数据库 (cs.DB)
引用方式: arXiv:2609.09978 [cs.DB]
  (或者 arXiv:2609.09978v1 [cs.DB] 对于此版本)
  https://doi.org/10.48550/arXiv.2609.09978

提交历史

来自:Sara Cohen
[v1] 2026年9月9日 星期三 10:06:44 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DB
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-09
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站