TEE: Secure DB

SQL
Strong:
In-Memory
enclave
key: client-side trused key management service
ObliDB
medium:
indexenclave
--> B+TreeenclavelimitationTEE
enclavecontext switch5ecall
keyindex lookuppathleak
enclage indexkeyleaks page-level access pattern
enclage storeheap-file-like table storeleaks item-level access pattern
weak: DBSQL server/ PostgreSQLenclave
indexpageenclavepage-level access pattern
ENC(INT), ENC(CHAR)
DB


KVS
the design of SPEICHER extends the trust in shielded execution beyond the secure SGX enclave memory region to ensure that the security properties are also preserved in the stateful (or non-volatile) setting of an untrusted storage medium, including system crash, reboot, or migration.
SCONE-based

In-memory
proposes a new in-memory key-value store designed for SGX with application-specific data security management.


Others
A hardware-based approach, leveraging Intels SGX, for search over encrypted data. It implements only the security critical core, i.e., the search functionality, in the trusted environment and resorts to untrusted software for the remainder.
utilizes multiple SGX enclaves to enforce data isolation among co-located tenants.