arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.04216cs.DBcs.CR
收藏

多路连接的最优不经意算法

Optimal Oblivious Algorithms for Multi-way Joins

Xiao Hu, Zhiang Wu

AI总结:

针对多路连接中访问模式泄露问题,本文提出基于排序、无需 ORAM 的可证明不经意算法,在时间与缓存复杂度上仅差对数因子即达到不安全最优界限。

摘要:

在云数据库中,对客户端上传的敏感数据进行云计算不可避免地引发对数据安全和隐私的担忧。即使将加密原语和可信计算环境集成到查询处理中以保护数据的实际内容,算法的访问模式仍可能泄露有关数据的私人信息。不经意随机存取存储器(ORAM)和电路是解决该问题的两种通用方法,可确保算法的访问模式对数据保持不经意。然而,将这些方法部署到不安全的算法上,尤其是用于多路连接处理时,计算代价高昂且本质上具有挑战性。本文提出一种新颖的基于排序的多路连接处理算法,其运行不依赖 ORAM 模拟或其他安全假设。该算法是对基础原语的一种非平凡且可证明不经意的组合,时间复杂度与不安全的最坏情况最优连接算法相匹配,仅相差一个对数因子。此外,它是缓存无关的,缓存复杂度与不安全下界相匹配,同样仅相差一个对数因子。这种简洁直接的方法有望扩展到其他安全设置,并在实际数据库系统中实现。

英文摘要:

In cloud databases, cloud computation over sensitive data uploaded by clients inevitably causes concern about data security and privacy. Even when encryption primitives and trusted computing environments are integrated into query processing to safeguard the actual contents of the data, access patterns of algorithms can still leak private information about the data. Oblivious Random Access Memory (ORAM) and circuits are two generic approaches to address this issue, ensuring that access patterns of algorithms remain oblivious to the data. However, deploying these methods on insecure algorithms, particularly for multi-way join processing, is computationally expensive and inherently challenging. In this paper, we propose a novel sorting-based algorithm for multi-way join processing that operates without relying on ORAM simulations or other security assumptions. Our algorithm is a non-trivial, provably oblivious composition of basic primitives, with time complexity matching the insecure worst-case optimal join algorithm, up to a logarithmic factor. Furthermore, it is cache-agnostic, with cache complexity matching the insecure lower bound, also up to a logarithmic factor. This clean and straightforward approach has the potential to be extended to other security settings and implemented in practical database systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑