Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

DuckDB on a VPS

DuckDB is an in-process SQL database for analytics on CSV, Parquet and JSON files. Rent the memory and NVMe for a heavy job, then delete the server.

1 GBMinimum memory
Ubuntu 24.04 LTSBase image
22/tcpPorts
MITLicense

About DuckDB

DuckDB is an in-process analytical database: no daemon to run, just a library or a single CLI binary that queries CSV, Parquet and JSON files with fast, columnar SQL. It is MIT-licensed, and version 2.0 is a long-term support release.

Analytical queries love memory and quick disks. A CloudSat server with DDR5 and NVMe turns DuckDB into a scratch warehouse billed by the hour: size it for a heavy job and delete it when the numbers are in.

After deploy the duckdb CLI is on the path on Ubuntu 24.04 LTS, ready to open a database file or query files in place.

What you get with DuckDB

  • Runs in-process, with no users or daemon to manage
  • Reads and writes CSV, Parquet and JSON
  • Rich SQL with window functions and joins
  • Extensions, including S3-compatible storage access
  • Clients for Python, R, Node.js and Java
  • Local web UI with duckdb -ui

DuckDB use cases

  • Crunching a large CSV or Parquet export without loading a database
  • Python data pipelines that need fast SQL
  • Ad hoc analytics on exported logs

After you deploy DuckDB

  1. Over SSH, open the shell with duckdb mydata.duckdb once the server is up; with no filename you get an in-memory session.
  2. Query files directly, for example SELECT count(*) FROM 'events.parquet';.
  3. For the browser UI, run duckdb -ui and reach port 4213 through an SSH tunnel such as ssh -L 4213:localhost:4213 root@<server IP>.

DuckDB ports

Open these in your firewall if you use one: 22/tcp SSH.

DuckDB FAQ

Is DuckDB a server like PostgreSQL?

No. It runs inside the process that uses it, the CLI or your script, and stores data in a single file. For shared, multi-user access, choose a server database such as ClickHouse.

How much RAM should I choose?

DuckDB can spill to disk, but it is fastest when the working set fits in memory. Size the plan to the data you query at once; 8 GB ($21.18) is a practical start for multi-gigabyte files.

Disclaimer. The DuckDB project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

DuckDB on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back