Skip to main content Skip to main navigation

Publication

Benchmarking Analytical Query Processing in Intel SGXv2

Adrian Lutsch; Muhammad El-Hindi; Matthias Heinrich; Daniel Ritter; Zsolt István; Carsten Binnig
In: Alkis Simitsis; Bettina Kemme; Anna Queralt; Oscar Romero; Petar Jovanovic (Hrsg.). Proceedings 28th International Conference on Extending Database Technology, EDBT 2025, Barcelona, Spain, March 25-28, 2025. International Conference on Extending Database Technology (EDBT), Pages 516-528, OpenProceedings.org, 2025.

Abstract

Trusted Execution Environments (TEEs), such as Intel’s Software Guard Extensions (SGX), are increasingly being adopted to ad- dress trust and compliance issues in the public cloud. Intel SGX’s second generation (SGXv2) addresses many limitations of its pre- decessor (SGXv1), offering the potential for secure and efficient analytical cloud DBMSs. We assess this potential and conduct the first in-depth evaluation study of analytical query processing algorithms inside SGXv2. Our study reveals that, unlike SGXv1, state-of-the-art algorithms like radix joins and SIMD-based scans are a good starting point for achieving high-performance query processing inside SGXv2. However, subtle hardware and software differences still influence code execution inside SGX enclaves and cause substantial overheads. We investigate these differences and propose new optimizations to bring the performance inside enclaves on par with native code execution outside enclaves.

More links