Lune

VLDB2022Top-tier venue

What Is the Price for Joining Securely? Benchmarking Equi-Joins in Trusted Execution Environments

Kajetan Jeremi Maliszewski, Jorge-Arnulfo Quiané-Ruiz, Jonas Traub, Volker Markl

Abstract

Protection of personal data has been raised to be among the top requirements of modern systems. At the same time, it is now frequent that the owner of the data and the owner of the computing infrastructure are two entities with limited trust between them (e. g., volunteer computing or the hybrid-cloud). Recently, trusted execution environments (TEEs) became a viable solution to ensure the security of systems in such environments. However, the performance of relational operators in TEEs remains an open problem. We conduct a comprehensive experimental study to identify the main bottlenecks and challenges when executing relational equi-joins in TEEs. For this, we introduce TEEbench, a framework for unified benchmarking of relational operators in TEEs, and use it for conducting our experimental evaluation. In a nutshell, we perform the following experimental analysis for eight core join algorithms: off-the-shelf performance; the performance implications of data sealing and obliviousness; sensitivity and scalability. The results show that all eight join algorithms significantly suffer from different performance bottlenecks in TEEs. They can be up to three orders of magnitude slower in TEEs than on plain CPUs. Our study also indicates that existing join algorithms need a complete, hardware-aware redesign to be efficient in TEEs, and that, in secure query plans, managing TEE features is equally important to join selection.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Cracking-Like Join for Trusted Execution Environments cites T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
  • Cracking-Like Join for Trusted Execution Environments cites EnclaveDB: A Secure Database Using SGX
  • Cracking-Like Join for Trusted Execution Environments cites Oblix: An Efficient Oblivious Search Index
  • OBLIVIATOR: OBLIVIous Parallel Joins and other OperATORs in Shared Memory Environments cites Generic Attacks on Secure Outsourced Databases
  • OBLIVIATOR: OBLIVIous Parallel Joins and other OperATORs in Shared Memory Environments cites Cracking-Like Join for Trusted Execution Environments
  • OBLIVIATOR: OBLIVIous Parallel Joins and other OperATORs in Shared Memory Environments cites T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
  • OBLIVIATOR: OBLIVIous Parallel Joins and other OperATORs in Shared Memory Environments cites EnclaveDB: A Secure Database Using SGX
  • OBLIVIATOR: OBLIVIous Parallel Joins and other OperATORs in Shared Memory Environments cites Oblix: An Efficient Oblivious Search Index
  • OBLIVIATOR: OBLIVIous Parallel Joins and other OperATORs in Shared Memory Environments cites The Shadow Nemesis: Inference Attacks on Efficiently Deployable, Efficiently Searchable Encryption
  • Oblix: An Efficient Oblivious Search Index cites Generic Attacks on Secure Outsourced Databases
  • Oblix: An Efficient Oblivious Search Index cites T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
  • Oblix: An Efficient Oblivious Search Index cites The Shadow Nemesis: Inference Attacks on Efficiently Deployable, Efficiently Searchable Encryption
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Olive: Oblivious Federated Learning on Trusted Execution Environment Against the Risk of SparsificationFumiyuki Kato, Yang Cao, Masatoshi YoshikawaVLDB 2023 · 14 citations
  2. Relational Algorithms for Top-k Query EvaluationQichen Wang, Qiyao Luo, Yilei WangSIGMOD 2024 · 5 citations
  3. Cracking-Like Join for Trusted Execution EnvironmentsKajetan Jeremi Maliszewski, Jorge-Arnulfo Quiané-Ruiz, Volker MarklVLDB 2023 · 4 citations
  4. OBLIVIATOR: OBLIVIous Parallel Joins and other OperATORs in Shared Memory EnvironmentsApostolos Mavrogiannakis, Xian Wang, Ioannis Demertzis, Dimitrios Papadopoulos et al.USENIX Security 2025

Builds on12

  1. T-SGX: Eradicating Controlled-Channel Attacks Against Enclave ProgramsMing-Wei Shih, Sangho Lee, Taesoo Kim, Marcus PeinadoNDSS 2017 · 431 citations
  2. EnclaveDB: A Secure Database Using SGXChristian Priebe, Kapil Vaswani, Manuel CostaS&P 2018 · 329 citations
  3. Generic Attacks on Secure Outsourced DatabasesGeorgios Kellaris, George Kollios, Kobbi Nissim, Adam O'NeillCCS 2016 · 327 citations
  4. Oblix: An Efficient Oblivious Search IndexPratyush Mishra, Rishabh Poddar, Jerry Chen, Alessandro Chiesa et al.S&P 2018 · 200 citations
  5. The Shadow Nemesis: Inference Attacks on Efficiently Deployable, Efficiently Searchable EncryptionDavid Pouliot, Charles V. WrightCCS 2016 · 132 citations

Related papers

  1. Jodes: Efficient Oblivious Join in the Distributed SettingYilei Wang, Xiangdong Zeng, Sheng Wang, Feifei LiVLDB 2025 · 1 citation
  2. DISCO*: Distributed and SCalable Oblivious Joins and Oblivious PrimitivesApostolos Mavrogiannakis, Xian Wang, Ioannis Demertzis, Dimitrios Papadopoulos et al.SOSP 2026
  3. Doquet: Differentially Oblivious Range and Join Queries with Private Data StructuresLina Qiu, Georgios Kellaris, Nikos Mamoulis, Kobbi Nissim et al.VLDB 2023 · 14 citations
  4. Keystone: an open framework for architecting trusted execution environmentsDayeol Lee, David Kohlbrenner, Shweta Shinde, Krste Asanovic et al.EuroSys 2020 · 381 citations
  5. Hybrid Trust Multi-party Computation with Trusted Execution EnvironmentPengfei Wu, Jianting Ning, Jiamin Shen, Hongbing Wang et al.NDSS 2022
Dusk over the sea between two cliffs drawn in fine vertical lines