We introduce DuckDB-Wasm, a WebAssembly version of the database system DuckDB, to provide fast analytical processing for the Web. DuckDB-Wasm evaluates SQL queries asynchronously in web workers, supports efficient user-defined functions written in JavaScript, and features a browser-agnostic filesystem that reads local and remote data in pages. DuckDB-Wasm outperforms previous data processing libraries for the Web in the TPC-H benchmark at multiple scale factors. We demonstrate the capabilities of an analytical database in the browser using an interactive SQL shell.

doi.org/https://www.vldb.org/pvldb/vol15/p3574-kohn.pdf
Proceedings of the VLDB Endowment
48th International Conference on Very Large Databases
Centrum Wiskunde & Informatica, Amsterdam (CWI), The Netherlands

Kohn, A, Moritz, D, Raasveldt, M, Mühleisen, H.F, & Neumann, T. (2022). DuckDB-Wasm: Fast analytical processing for the Web. In Proceedings of the VLDB Endowment (Vol. 15, pp. 3574–3577). doi:https://www.vldb.org/pvldb/vol15/p3574-kohn.pdf