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/10.14778/3554821.3554847
48th International Conference on Very Large Databases
Centrum Wiskunde & Informatica, Amsterdam (CWI), The Netherlands

Kohn, A., Moritz, D., Raasveldt, M., Mühleisen, H., & Neumann, T. (2022). DuckDB-Wasm: Fast analytical processing for the Web. In Proceedings of the VLDB Endowment (pp. 3574–3577). doi:10.14778/3554821.3554847