ClickHouse alternatives

Not a ranking: each option is described by the situation it fits, with its trade-off, whether it's open source or free to start, whether AI coding agents can work with it, and how many makers' products use it for this job.

15 open source or self-hostable17 with a free tier15 ready for AI agents

Where the data lives: a whole backend platform (database, auth and storage in one project), a managed database you reach from your own code, or the raw engine on your own server. Postgres is the default unless you have a reason to pick otherwise; analytics and graph databases sit next to it for workloads it handles poorly, not instead of it. How your code talks to it is its own decision (Database Access & ORMs).

ClickHouse (Analytics (OLAP)): Fast aggregate queries over billions of rows of events, logs or metrics, self-hosted or on ClickHouse Cloud. Trade-off: Built for bulk inserts and scans, not frequent row updates or transactions; runs next to your main database, not instead of it.

Supabase

Backend platform
Open sourceFree tierFrom $25/mollms.txtMCPCLIIn Bolt, Lovable, v0

Best forPostgres plus auth, storage and realtime in one project.

Trade-offAuth, storage and database in one vendor makes leaving harder later, and free projects pause after a week without activity.

Used by 564 makers' products for this

Firebase

Backend platform
Free tierFrom Pay as you go (Blaze)llms.txtIn Lovable

Best forMobile apps that need offline sync and client-side SDKs.

Trade-offA document store without SQL joins; hard to migrate off.

Used by 182 makers' products for this

MongoDB

Managed database
Self-hostableFree tierFrom $0.011/hourllms.txt

Best forDocument-shaped data and teams already fluent in Mongo.

Trade-offNo joins or schema by default, so relational data and migrations take discipline you'd get for free in Postgres.

Used by 131 makers' products for this

Neon

Managed database
Open sourceFree tierFrom $0.106 per CU-hourllms.txtMCPCLIIn v0

Best forServerless Postgres that scales to zero, with a branch per preview deploy.

Trade-offCold starts after idle periods add latency to the first query, and heavy always-on workloads can cost more than a fixed server.

Used by 95 makers' products for this

PostgreSQL

Run it yourself
Open sourceFree tierIn Replit

Best forThe engine behind most of the hosted options above, run on your own server or container for full control and a flat cost.

Trade-offBackups, upgrades, failover and connection pooling are yours to set up and watch.

Used by 74 makers' products for this

Convex

Backend platform
Open sourceFree tierFrom $25 per developer/mollms.txtCLI

Best forRealtime, collaborative apps written entirely in TypeScript.

Trade-offIts own data model and query API rather than SQL.

Used by 50 makers' products for this

PlanetScale

Managed database
From $5/mollms.txt

Best forApps that expect heavy scale and want zero-downtime schema changes.

Trade-offNo free tier.

Used by 29 makers' products for this

Turso

Managed database
Open sourceFree tierFrom $4.99/mollms.txtCLI

Best forSQLite at the edge, or one database per customer.

Trade-offSQLite semantics — one writer at a time, fewer extensions — suit read-heavy apps better than write-heavy ones.

Used by 13 makers' products for this

Tinybird

Analytics (OLAP)
Free tierFrom $25/mollms.txt

Best forManaged ClickHouse that turns SQL over event streams into fast API endpoints for dashboards and usage analytics in your product.

Trade-offClosed, cloud-only service; its own project format and CLI to learn on top of ClickHouse SQL.

Used by 30 makers' products for this · ClickHouse vs Tinybird →

Neo4j

Graph
Open sourceFree tierFrom $65/GB/mollms.txt

Best forData that is mostly relationships — social graphs, recommendations, knowledge graphs — queried with Cypher.

Trade-offA second database and query language to learn and run; managed AuraDB is priced by memory.

Used by 19 makers' products for this

DuckDB

Analytics (OLAP)
Open sourceFree tierllms.txt

Best forAnalytical SQL inside your app or script over local or S3-hosted CSV and Parquet files, with no server to run.

Trade-offAn embedded library, so it doesn't serve many concurrent writers like a database server does.

Used by 14 makers' products for this · ClickHouse vs DuckDB →

Appwrite

Backend platform
Open sourceFree tierllms.txtMCPCLI

Best forA Firebase-style backend — database, auth, storage, functions and messaging — that is open source and can be self-hosted.

Trade-offIts own document-style database API rather than plain SQL; self-hosting runs many containers.

Used by 8 makers' products for this

Xano

Backend platform
From $85/mo (billed annually)llms.txt

Best forA backend — database, API endpoints, business logic and auth — built visually instead of in code.

Trade-offClosed platform with logic stored in its own visual format; the free plan is rate-limited and meant for testing, so production starts at a paid annual plan.

Used by 8 makers' products for this

PocketBase

Backend platform
Open sourceFree tier

Best forA whole backend — database, auth, files, realtime and admin UI — in one self-hosted executable.

Trade-offSQLite on a single server, so it scales up, not out; still pre-1.0, so upgrades can include breaking changes.

Used by 6 makers' products for this

MySQL

Run it yourself
Open sourceFree tier

Best forPHP, Laravel, WordPress and Rails stacks, and teams that already know MySQL well.

Trade-offFewer extensions and advanced types than Postgres, so most new tooling (vectors, JSON-heavy work) targets Postgres first.

Used by 6 makers' products for this

InstantDB

Backend platform
Open sourcellms.txt

Best forRealtime, multiplayer and offline-friendly apps where the frontend queries and writes data directly, with auth, permissions and storage included.

Trade-offInstant Cloud closed to new signups in August 2026 and shuts down in August 2027, so new projects mean self-hosting it.

Used by 2 makers' products for this

Xata

Managed database
Open sourceFrom $0.012/hr + $0.28/GB/mo storagellms.txtMCP

Best forPostgres branches that copy instantly and scale to zero, for a separate database per developer, pull request or agent, optionally filled with anonymized production data.

Trade-offNo ongoing free tier on its cloud, only a trial; the older Xata with built-in search and its own SDK was retired in 2026, so older tutorials don't apply.

Used by 1 makers' products for this

SQLite

Run it yourself
Open sourceFree tier

Best forA database that is just a file in your app — desktop and mobile apps, single-server web apps, tests and prototypes.

Trade-offOne writer at a time and no network access of its own; backups and replication need extra tools (Litestream, or a host like Turso).

No maker product tracked for this yet

Cloudflare D1

Managed database
Free tierFrom $5/mo (Workers Paid, then $1.00 per million rows written)llms.txtMCP

Best forA serverless SQLite database for apps running on Cloudflare Workers or Pages, with a free tier and no egress fees.

Trade-offEach database is capped at 10 GB, writes go through a single primary, and it's reached from Workers rather than from any server.

No maker product tracked for this yet

Amazon DynamoDB

Managed database
Free tierFrom $0.625 per million writes, $0.125 per million reads (on-demand, us-east-1)

Best forA serverless key-value and document database on AWS that scales with no servers to manage, with an always-free tier.

Trade-offNo joins or ad-hoc queries; you design tables around your queries in advance, and changing them later is costly.

No maker product tracked for this yet

MariaDB

Run it yourself
Open sourceFree tier

Best forA MySQL-compatible open-source database, the default MySQL on many Linux distributions and hosts.

Trade-offHas drifted from MySQL over the years, so some newer MySQL features and tools don't carry over exactly.

No maker product tracked for this yet