ClickHouse vs DuckDB
A practical ClickHouse vs DuckDB comparison with side-by-side code, covering when to pick a production analytics server versus an embedded engine.
Engineering deep dives, migration guides, and tutorials for every database engine Layerbase supports.
260 posts across the blog · Featured first, then most viewed in the last 30 days
A practical ClickHouse vs DuckDB comparison with side-by-side code, covering when to pick a production analytics server versus an embedded engine.
A free database is a starting point. Before you commit, understand what production, branches, backups, and a quiet month will actually cost your SaaS.
sslmode=require is the only value that connects on every client we tested. verify-full fails on all stock libpq. sslrootcert=system crashes node-postgres before it opens a socket. Here is the measured matrix, with exact versions and the real error strings.

DuckDB is an analytics engine that runs inside your process, reads CSV, JSON and Parquet in place, and attaches PostgreSQL and MySQL as if they were local. Here is what it is good at, where it stops, and what changes when you host it.

Move your Postgres and your Supabase Auth users to Layerbase in one pass. The password hashes come across untouched, so you skip the forced reset, then you wire login against your own database.
You can now create a Layerbase database in EU West, in France, on every plan including Free, at no extra cost. What moves to the EU, what stays in the US, and how to pick the region from the dashboard, CLI, Desktop or MCP.