occlum/demos/sqlite
yuanwu 69820c0d8c Add the SQLite benchmark app
Add the SQLite speedtest for performance benchmark

Signed-off-by: yuanwu <yuan.wu@intel.com>
2020-10-10 14:24:29 +08:00
..
.gitignore Rename "occlum_context" to "occlum_instance" for demos 2020-08-15 19:12:39 +08:00
download_and_build_sqlite.sh Add the SQLite benchmark app 2020-10-10 14:24:29 +08:00
README.md Add SQLite demo 2020-02-25 11:14:48 +00:00
run_sqlite_on_occlum.sh Add the SQLite benchmark app 2020-10-10 14:24:29 +08:00
sqlite_demo.c Add SQLite demo 2020-02-25 11:14:48 +00:00

Use SQLite in SGX with Occlum

This project demonstrates how Occlum enables SQLite in SGX enclaves.

Step 1: Download SQLite and build the demo program

./download_and_build_sqlite.sh

When completed, the demo program (i.e., sqlite_demo) is generated.

Step 2: Run the SQLite demo program inside SGX enclave with Occlum

./run_sqlite_on_occlum.sh

Step 3 (Optional): Run the SQLite demo program in Linux

./sqlite_demo <database> <sql-statement>