Whether youโre a hobbyist or a professional developer, at some point youโre going to need a database. ๐ We all know the famous solutions like AWS, Azure, or maybe something thatโs more affordable like Linode or DigitalOcean, but what if you only need a database to test some of your ideas? ๐ค Spinning up your own instance with Docker or just installing it locally may not always be an option. ๐ I wish there were some database services that would be performant enough for testing your ideas and also were freeโฆ Well, guess what? There are! ๐ And in this article, Iโm going to show off 5 of them, so you can choose the best one for your project! ๐
PlanetScale ๐
PlanetScale is a serverless platform for MySQL which offers really good options on a free tier. ๐คฉ I think itโd suit most of the developers who want to use MySQL and to save up some money as well. ๐ต Hereโs a short brief of what the free tier has to offer:
- Storage - 5GB ๐ฆ
- Reads per month - 1 Billion ๐
- Writes per month - 10 Million โ๏ธ
- 1 Production Branch ๐ณ
- 1 Development Branch ๐ฑ
As you see, PlanetScale has a pretty good free tier, but thereโs one more service that has even more in theirs, so make sure to read to the end! ๐
Cloudflare D1 ๐
Cloudflare D1 is basically a SQLite database that runs on the edge and is used with Cloudflare Workers. So, if you have your web service deployed to Workers which is also running on the edge, it means that your users will be able to always connect to the closest server and get the least amount of latency for them. โก Hereโs a short brief of what the free tier has to offer:
- Serverless SQL Database ๐๏ธ
- Reads per day - 5 Million ๐
- Writes per day - 100K โ๏ธ
If youโre someone who enjoys using Cloudflare Workers, D1 might be the best choice for you, make sure to check it out at - Cloudflare D1. ๐
Xata ๐
Xata is another serverless relational database that is based on PostgreSQL and ElasticSearch under the hood. ๐ It treats your tables like a spreadsheet and whatโs really cool about it is that it has full-text search built-in. ๐ No need to duplicate data to an ElasticSearch instance! They have SDKs for many languages and a visual schema editor. Hereโs a short brief of what the free tier has to offer:
- 15 GB Storage for your data ๐ฆ
- Total records - 750K ๐
- Branches per database - 15 ๐ณ
- Requests per second - 75 โก Make sure to check it out at - Xata. ๐
Fauna ๐พ
Fauna is another serverless database created by ex-Twitter engineers. It's kind of like MongoDB, but with native JOIN operations, many document databases miss. They have their own language, FQL, and also a GraphQL API. Here's a quick overview of their free tier:
- 100K TROs (Total Read Operations) ๐
- 50K TWOs (Total Write Operations) โ๏ธ
- 1GB Storage ๐ฆ
- 5 Databases ๐๏ธ Sounds good, but the next one is my personal favorite! ๐
Neon ๐ก
Neon is a serverless PostgreSQL option written in Rust. ๐ It has a great free tier, good docs, and supports data branching for various environments. Here's a glance at their free tier:
- Storage - 3GiB ๐ฆ
- Branches - 10 ๐ณ
- Active time per month - 100 hours (Primary branch stays active even if you go over!) โณ
- History retention - 7 days ๐๏ธ
- Choose the PostgreSQL version and server location ๐
By far, Neon is my top pick! Check it out for yourself at - Neon. ๐
Enjoy these databases and happy coding! ๐
Thank you for taking the time to read!ย :)
All of the stories are also available at my personal websiteโ-โhttps://anakidze.dev
Top comments (2)
Great listing, I will try them.
Is there any reason you did not list MongoDB Free Tier and Firebase? Those are my go-to's when I think of a pet project.
Hello, Medam
Yes, there is, I think that MongoDB and Firebase are already pretty well known, but I wanted to tell the public about newer products that are not so common.