Connect any database. Ask in plain English.

Try free
← Blog

Free Database Hosting: 23 Free Tiers Compared, From 30 MB to 50 GB, and How Many Rows Fit (2026)

Every notable free database tier in one table, checked 2 December 2026: Postgres, MySQL, SQL Server, Oracle, MongoDB, Redis, SQLite-style and analytics databases, with storage from 30 MB to 50 GB, what pauses or is deleted when idle, and which need a card. We also loaded the same 2-million-row table into PostgreSQL, SQLite and DuckDB: 500 MB holds about 4 million rows in Postgres and 32 million in DuckDB.

Fastero Dev TeamFastero Dev Team2026-12-02

We read the pricing pages and docs of every notable free database tier on 2 December 2026 and put storage, compute, idle rules and card requirements in one table. Then we measured what 500 MB means in rows, by loading the same invented 2-million-row orders table into PostgreSQL 18.7, SQLite 3.50.4 and DuckDB 2.0.1 and reading the size on disk.

The short answer: for a free SQL database with no end date and no card, start with Neon (Postgres, 1 GB per project across up to 100 projects, scales to zero but never paused), Prisma Postgres (2 GB, 200,000 operations a month) or TiDB Cloud Starter (MySQL-compatible, 5 GiB per instance). Azure SQL Database gives ten free SQL Server databases of 32 GB each. Oracle gives two 20 GB Autonomous databases and a 50 GB MySQL server, with a card. MongoDB Atlas gives 512 MB, Redis Cloud 30 MB, Turso 5 GB of SQLite. Supabase pauses after 7 idle days and Atlas after 30; Render deletes its free Postgres 44 days after you create it. Checked 2 December 2026.

Fastero

Connect your database. Ask questions. Get dashboards.

Postgres, BigQuery, Snowflake, and 10+ sources — live-connected, AI-powered, no dashboard builder learning curve.

Try free →

Free database tiers compared

From each provider's own pricing page or docs, read 2 December 2026:

Provider (engine) Free storage Compute and limits When idle Card
Neon (Postgres) 1 GB per project, 100 projects, 20 GB in all 100 CU-hours per project a month, up to 2 CU Scales to zero after 5 minutes; never paused No
Supabase (Postgres) 500 MB, 2 active projects Shared CPU, 500 MB RAM, 60 direct connections Paused after 7 days of low activity Not stated
Prisma Postgres 2 GB per workspace, 50 databases 200,000 operations a month No pausing, no cold starts No
Nile (Postgres) 1 GB 50 million query tokens, 500 connections "No pauses" Not stated
Aiven (Postgres; also Valkey) 1 GB 1 CPU, 1 GB RAM, 20 connections Powered off after inactivity, with notice No
Render (Postgres) 1 GB 256 MB RAM, 100 connections Expires after 30 days, deleted 14 days later Not needed
TiDB Cloud Starter (MySQL-compatible) 5 GiB row + 5 GiB columnar per instance, 5 instances 50 million request units a month, 400 connections Scales to zero No
TiDB Cloud Starter (Postgres-compatible, preview) 50 GiB per instance, 10 instances 500 million request units a month Not stated Not stated
Oracle MySQL HeatWave Always Free 50 GB, plus 50 GB of backups One DB system, not reachable from the internet An idle account may be suspended after 30 days Yes
Azure SQL Database free offer (SQL Server) 32 GB per database, 10 databases 100,000 vCore seconds a month each Pauses after 15 idle minutes Azure subscription
Oracle Autonomous AI Database Always Free 20 GB each, 2 databases 1 OCPU; 20 or 30 sessions (Oracle's pages differ) Stopped after 7 days; may be deleted after 90 more Yes
MongoDB Atlas Free 512 MB Shared, 500 connections, 100 operations a second Paused after 30 days with no connections Not stated
Redis Cloud Free 30 MB, 1 database 30 connections Not stated Only to upgrade
Upstash Redis 256 MB 500,000 commands a month Archived after 30 or more days No
Turso (libSQL, SQLite-compatible) 5 GB, 100 databases 500 million rows read, 10 million written a month Archived after 10 days, per its docs No
Cloudflare D1 (SQLite) 500 MB per database, 5 GB per account, 10 databases 5 million rows read, 100,000 written a day Not stated Not stated
Firebase Cloud Firestore (Spark plan) 1 GiB 50,000 reads, 20,000 writes, 20,000 deletes a day Not stated No
Amazon DynamoDB 25 GB 25 read and 25 write capacity units Not stated Not stated
Azure Cosmos DB free tier 25 GB 1,000 RU/s Not stated Azure subscription
MotherDuck Lite (DuckDB) 10 GB 10 compute hours a month Not stated No
BigQuery sandbox 10 GiB, for the account's lifetime 1 TiB of queries a month Tables expire after 60 days No
Railway (Postgres, MySQL, Redis, MongoDB) 0.5 GB volume $5 of usage a month; up to 1 vCPU, 0.5 GB RAM Sleeps after 5–10 minutes without traffic No
Couchbase Capella A small single-node cluster Free tier with credits Turned off after 72 idle hours, data kept No

Not stated means the pages we read don't say. Azure needs a subscription; Microsoft's free-offer pages don't say whether that needs a card.

Bar chart of free storage in one database on a log scale: Redis Cloud 30 MB, Upstash Redis 256 MB, Supabase and Cloudflare D1 500 MB, MongoDB Atlas 512 MB, Neon, Nile, Aiven and Render 1 GB, Firestore 1 GiB, Prisma Postgres 2 GB, TiDB Cloud Starter 5 GiB, Turso 5 GB, MotherDuck and the BigQuery sandbox 10 GB, Oracle Autonomous 20 GB, DynamoDB and Cosmos DB 25 GB, Azure SQL Database 32 GB, Oracle MySQL HeatWave 50 GB and TiDB's Postgres-compatible preview 50 GiB

Free storage in one database on each host, from each provider's pricing page or docs, read 2 December 2026.

Free PostgreSQL hosting

Postgres has the most free tiers; our free Postgres database guide compares thirteen. Neon is the most generous with no card: "No. Neon doesn't pause Free projects for inactivity, and there's no restore step." Compute scales to zero after 5 idle minutes (Neon pricing). Supabase adds auth and APIs on 500 MB, but "Free projects are paused after 1 week of inactivity", and Free has no automatic backups (Supabase pricing, its dashboard). Prisma Postgres says idle time costs nothing and there are no cold starts. Render expires its free database after 30 days, and 14 days later "Render deletes the database (along with all of its data)."

Free MySQL database hosting

Aiven says "The MySQL Free tier is retired", and PlanetScale has no free plan; our free MySQL database guide covers what's left. TiDB Cloud Starter speaks MySQL's protocol, with 5 GiB and 50 million request units a month per instance and no card; at the quota it "immediately denies any new connection attempts". TiDB also previews a PostgreSQL-compatible Starter with 50 GiB per instance. Oracle's Always Free MySQL HeatWave has 50 GB, but "The DB system endpoints are not directly accessible from the internet."

Free SQL Server database: Azure SQL Database free offer

Each Azure subscription can create up to 10 free databases, each with "100,000 vCore seconds, 32 GB of data, and 32 GB of backup storage free per month for the lifetime of your subscription." They pause after 15 idle minutes. When the month's allowance runs out, the default auto-pause leaves the database "inaccessible until the allowance resets at the start of the next calendar month"; the alternative, paying for the overage, can't be switched back. 100,000 vCore seconds is about 28 hours of one vCore, so it suits bursty use, and there's no SLA.

Free Oracle database: Autonomous AI Database Always Free

You get two Autonomous AI Databases (Oracle's new name for Autonomous Database), each with 1 OCPU and 20 GB; Oracle's two pages give 20 and 30 as the session limit. The idle rule is the strictest here: "After being inactive for 7 days, the database will be stopped automatically, preserving its stored data", and one stopped for 90 days in total "may be reclaimed and permanently deleted." There are no manual backups and no restore. Sign-up needs a card for identity checks, and accounts idle for 30 days may be suspended.

Free MongoDB hosting and other document databases

MongoDB Atlas gives one Free cluster per project: 512 MB, shared CPU and RAM, 500 connections and 100 operations a second. "Atlas automatically pauses Free clusters after 30 days of inactivity where there are zero connections to the cluster." Its pages disagree on whether Free has backups.

Bigger free document stores come from the clouds. DynamoDB has 25 GB and 25 read and 25 write capacity units always free, though a Free-plan AWS account closes after 6 months unless you upgrade. Cosmos DB gives one free-tier account per subscription with 1,000 RU/s and 25 GB. Firestore has 1 GiB with 50,000 reads and 20,000 writes a day, and "No payment method needed".

Free Redis hosting

Redis Cloud has one free 30 MB database per account, with 30 connections. Upstash gives 256 MB (250 MB in one line of its pricing page) and 500,000 commands a month with no card, and "Free tier databases are archived after a minimum of 30 days of inactivity." Aiven offers a free Valkey service with 1 GB of RAM.

Free SQLite in the cloud: Turso and Cloudflare D1

Turso is built on libSQL, a fork of SQLite: 100 databases, 5 GB, 500 million rows read and 10 million written a month, with no card. Its CLI docs say "Databases get archived after 10 days of inactivity for users on a free plan", though a March 2025 post promised databases would "stay responsive at all times". On 2 October 2026 Turso announced it is being acquired by Supabase.

Cloudflare D1 gives 500 MB per database and 5 GB and 10 databases per account, with 5 million rows read and 100,000 written a day. At the limit "you will not be able to run queries against D1" until the reset at 00:00 UTC.

Free analytics databases: BigQuery sandbox and MotherDuck

The BigQuery sandbox needs no card: 1 TiB of queries a month and "a lifetime limit of 10 GiB of storage", and tables expire after 60 days (BigQuery sandbox limits). MotherDuck's Lite plan, hosted DuckDB, includes 10 GB and 10 compute hours a month with no card.

When a free database is paused or deleted

A timeline of what happens to an unused free database: Couchbase Capella is turned off after 72 hours, Supabase paused after 7 days, Oracle Autonomous stopped after 7 days and may be deleted after 90 more, Turso archived after 10 days, MongoDB Atlas paused and Upstash archived after 30 days, Render Postgres expires on day 30 and is deleted on day 44, and CockroachDB's trial ends on day 30 with deletion after a 30-day grace

What happens to a free database nobody uses, from each provider's docs, read 2 December 2026.

A pause keeps your data; only Oracle, Render and expired trials delete it on a schedule. For a demo that must open months from now, pick a host that wakes on the next query (Neon, TiDB) or never pauses (Nile, Prisma Postgres).

Free trials that look like free tiers

CockroachDB now gives new organizations a trial, not a free tier: by its docs, every new Cloud organization gets CockroachDB's 30-day trial with $400 in credit, after which clusters are paused and then deleted unless you add a payment method. ClickHouse Cloud gives $300 of credit for 30 days. AWS RDS and Google Cloud SQL are trials too (see the MySQL guide). PlanetScale has no free plan, and Xata is free only as open source you host yourself.

Connect any database. Ask in plain English.

Start free →

How many rows fit in a 500 MB free tier?

We generated 2,000,000 invented orders with 11 columns (dates, ids, text, prices), loaded the same rows into each engine on a Windows 11 laptop, and measured the bytes on disk. PostgreSQL 18.7 ran in a throwaway Docker container, removed afterwards with its image; SQLite and DuckDB ran from Python 3.14.

Bar chart of rows of the same orders table per 500 MB, measured with 2 million rows: DuckDB 32.2 million rows (31 MB for 2 million), a CSV file 6.6 million (151 MB), SQLite 6.5 million (153 MB) and PostgreSQL 18.7 with its primary key 4.0 million (247 MB)

Rows of one invented orders table per 500 MB, measured 2 December 2026 with 2 million rows in each engine.

Engine, 2,000,000 rows Size on disk Per row Rows per 500 MB
PostgreSQL 18.7, table only 204 MB 107 bytes 4.9 million
PostgreSQL 18.7, table + primary key 247 MB 130 bytes 4.0 million
SQLite 3.50.4 file 153 MB 80 bytes 6.5 million
SQLite, plus an index on the date 190 MB 99 bytes 5.3 million
DuckDB 2.0.1 file 31 MB 16 bytes 32.2 million
The same rows as CSV 151 MB 79 bytes 6.6 million

MB here is 1,048,576 bytes, and an empty PostgreSQL database already takes 8 MB. So Supabase's 500 MB holds about 4 million rows like ours, fewer with each extra index, and Neon's 1 GB about twice that. D1 is SQLite, so 500 MB there is roughly 6.5 million rows if it counts size the way a SQLite file grows. DuckDB fits five times more than SQLite because it compresses each column; by the same arithmetic MotherDuck's 10 GB would hold over 600 million rows, an estimate we didn't test. Hosted services count more than one table, so treat these as upper bounds.

Where Fastero fits

Fastero is an AI and data platform where people and AI agents work together on a team's data, and it connects to the database you run elsewhere: Postgres (including Neon and Supabase), MySQL, SQL Server, Oracle, BigQuery, Redshift or Athena, as well as Amazon S3, Google Sheets and uploaded CSV or Excel files. On the Free plan, with no end date and no card, you can:

  • Query it in a SQL editor on the saved connection, or ask the AI chat, which writes and runs the SQL; AI is paid from a balance that starts at $20.
  • Chart it and build dashboards that refresh on a schedule, which colleagues open with their own login; viewers are free.
  • Try it first on the invented sales table and dashboard every new account starts with.

A Sales overview dashboard in Fastero showing revenue in the latest month of $241,505, 77 orders, a $2,918 average order value and a 5.3% cancellation rate, above a monthly revenue line chart from 2024 to 2026

A dashboard in Fastero, on a demo workspace's invented data.

Two practical notes. Fastero runs in the cloud, so the database must accept connections from outside: Oracle's Always Free MySQL doesn't. And a scheduled refresh wakes a database that scales to zero, which spends its compute allowance, so on Neon pick a refresh interval to match its 100 CU-hours. Plans: pricing.

FAQ

What is the best free database hosting?

For SQL with no card and no end date, Neon (Postgres, 1 GB per project) or TiDB Cloud Starter (MySQL-compatible, 5 GiB per instance). For the most storage, Azure SQL Database's free offer (32 GB per database) or Oracle's Always Free tier, which need an Azure subscription or a card.

Is there a free SQL database online?

Yes. Neon, Supabase, Prisma Postgres, Nile and Aiven host Postgres for free, TiDB Cloud Starter is MySQL-compatible, Azure SQL Database runs SQL Server, and Oracle gives Autonomous AI Database and MySQL HeatWave. Turso and Cloudflare D1 run SQLite.

Is MongoDB Atlas free?

Yes, one Free cluster per project, with 512 MB of storage, up to 500 connections and 100 operations a second. Atlas pauses a Free cluster after 30 days with no connections.

Is there free Redis hosting?

Yes. Redis Cloud's free plan is one 30 MB database with 30 connections. Upstash gives 256 MB and 500,000 commands a month, and archives databases unused for 30 days or more.

Can I get a free SQL Server database?

Yes. Azure SQL Database's free offer gives up to 10 databases per Azure subscription, each with 32 GB of data and 100,000 vCore seconds a month. When the allowance is used, the database pauses until the next month unless you choose to pay for the overage.

How many rows fit in 500 MB?

It depends on the table and the engine. Our 11-column orders table fit about 4 million rows in 500 MB in PostgreSQL 18.7 (with its primary key), 6.5 million in SQLite and 32 million in DuckDB. Wider rows, text columns and extra indexes mean fewer.

Sources

Read on 2 December 2026:


Try Fastero free: connect the free database you picked, query it and build dashboards that refresh on a schedule. No credit card required.

Ready to try it yourself?

Connect your database, ask questions in plain English, and get live dashboards — in under 2 minutes. No credit card required.

Follow Fastero on LinkedIn for new articles and examples.

Keep reading

Related articles

2026-12-03

SQL Server Express: Free up to 50 GB a Database in 2025, Every Limit by Version (2026)

SQL Server 2025 Express is free, production use included, with a 50 GB database limit (10 GB in 2022 and earlier), four cores and a 1,410 MB buffer pool. Every Express limit by version, Express vs Developer vs Standard, what Standard costs, installing on Windows, Linux, Docker or a Mac, and what we measured: about 52 MB per million simple rows, so roughly a billion rows under the new limit.

sql-serverdatabasefree-tier

2026-12-03

Oracle Cloud Free Tier: Every Always Free Limit, Now 2 Arm OCPUs and 12 GB (2026)

Oracle's Always Free tier gives two 1 GB AMD VMs, Arm VMs with 2 OCPUs and 12 GB in all (half what it gave before June 2026), 200 GB of block storage, two 20 GB Autonomous databases, a 50 GB MySQL server and 10 TB of outbound data a month: $228.71 a month at Oracle's own list prices. The card, idle and capacity rules, how it compares with AWS, Google Cloud and Azure, and a tested Postgres setup.

oracle-cloudfree-tiercloud

2026-12-03

Azure SQL Database Pricing: Free Tier Limits and 13 Monthly Costs, $0 to $736 (2026)

Azure SQL Database is free for up to 10 databases per subscription, each with 100,000 vCore-seconds, 32 GB of data and 32 GB of backups a month: about 28 hours at one vCore. Paid, East US list prices run from $4.90 a month for DTU Basic to $372 for an always-on 2-vCore database. We priced 13 setups from Microsoft's live price list with a Python script you can rerun for your own region.

azuresql-serverdatabase