Microsoft SQL Server 中的实用位图筛选器
Pragmatic Bitmap Filters in Microsoft SQL Server

原始链接: https://www.vldb.org/cidrdb/2026/i-cant-believe-its-not-yannakakis-pragmatic-bitmap-filters-in-microsoft-sql-server.html

本文揭示了学术界对连接优化研究与微软SQL Server实际实现之间令人惊讶的平行。虽然研究人员最近重新审视了Yannakakis算法——利用位图过滤器来改进连接处理——但作者发现SQL Server已经十多年来一直在使用类似的位图预过滤基础设施。 有趣的是,这不是学术理论驱动行业实践,而是务实的优化导致了一个*已经*实现实例最优连接计划的系统,通常超越理论预期。SQL Server结合位图过滤器、基于拉取的执行以及其Cascades优化器,有效地探索计划空间,揭示了被忽视的预过滤机会。 研究表明SQL Server系统始终能够最小化估计成本,并为复杂的连接实现强大的运行时性能。本文并非结论性的声明,而是邀请数据库社区研究这种“隐藏”的系统设计,并探索其在连接处理研究方面进一步发展的潜力。

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Microsoft SQL Server 中的实用位图过滤器 (vldb.org) 6 分,由 tanelpoder 1小时前发布 | 隐藏 | 过去 | 收藏 | 1 条评论 paunchy 11分钟前 [–] 不Popular的观点:SQL Server 是微软最好的产品。撇开成本不谈,它是一个明智的关系数据库选择,并且可靠地满足大多数需求,优于开源替代方案。回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Authors:

Hangdong Zhao, Yuanyuan Tian, Rana Alotaibi, Bailu Ding, Nicolas Bruno, Jesús Camacho-Rodríguez, Vassilis Papadimos, Ernesto Cervantes Juárez, Cesar Galindo-Legaria, Carlo Curino

Abstract

The quest for optimal join processing has reignited interest in the Yannakakis algorithm, as researchers seek to realize its theoretical ideal in practice via bitmap filters instead of expensive semijoins. While this academic pursuit may seem distant from industrial practice, our investigation into production databases led to a startling discovery: over the last decade, Microsoft SQL Server has built an infrastructure for bitmap pre-filtering that subsumes the very spirit of Yannakakis! This is not a story of academia leading industry; but rather of industry practice, guided by pragmatic optimization, outpacing academic endeavors. This paper dissects this discovery. As a crucial contribution, we prove how SQL Server's bitmap filters, pull-based execution, and Cascades optimizer conspire to not only consider, but often generate, instance-optimal plans, when it truly minimizes the estimated cost! Moreover, its rich plan search space reveals novel, largely overlooked pre-filtering opportunities on intermediate results, which approach strong semi-robust runtime for arbitrary join graphs. Instead of a verdict, this paper is an invitation: by exposing a system design that is long-hidden, we point our community towards a challenging yet promising research terrain.

联系我们 contact @ memedata.com