How much does a PostgreSQL database cost?
£6 a month for each GB of memory the database has, starting at £6 a month for 1 GB. A standby copy that takes over if the database fails doubles the price. It is the same on every paid plan.
A 4 GB database is £24 a month, or £48 with a standby copy. Each database is priced on its own, so two databases cost twice as much as one. Bigger databases also get more processing power.
So a Next.js app on Starter (£12 a month) with a 1 GB PostgreSQL database costs £18 a month in total. Databases need a paid plan.
A standby copy is a second, live copy of your database, the same size, on another machine. If the main one fails, the standby takes over automatically, and your connection string (the address your app uses to reach the database) stays the same. Standby copies are available for PostgreSQL and Redis.
Your database is not reachable from the internet unless you switch on a public address. That address only lets in the IP addresses you list, over encrypted connections (TLS).
We run PostgreSQL 15. If your current database is on a newer version (16 or 17), test the move first. Scheduled backups and restores are in the dashboard, and the databases page has the detail.
Related questions
What databases are available?
Every site gets its own MySQL database, included in your plan and never shared with another site. On any paid plan you can also add managed PostgreSQL, Redis and ClickHouse databases, from £6 a month each.
Full answerHow do environment variables work?
Environment variables are the settings and secrets your app reads, such as API keys and database addresses. You set them for each site in the dashboard, and your app can read them both while it builds and while it runs.
Full answerCan I deploy a Next.js app automatically from GitHub?
Yes. Connect your GitHub repository once, and every push to your chosen branch builds and deploys your Next.js app automatically. It works on every paid plan, from Starter at £12 a month.
Full answerHow does git deployment work?
Connect a GitHub, GitLab or Bitbucket repository and choose a branch. Each push to that branch builds and deploys your app, with the build log shown live in the dashboard.
Full answer