How it works
Per engine
The percentage is added to the plan price. It is not available on the free plan.
Read replicas (PostgreSQL)
A read replica is one more copy of a PostgreSQL database, kept in sync. Each costs the same as the plan. A database with at least one replica gets a read address. Queries sent there are spread across the replicas, and a write is refused with PostgreSQL’s own message (cannot execute INSERT in a read-only transaction). Send reports, dashboards and read-heavy pages there, and keep everything that writes on the normal address.
- A replica can be a moment behind the primary: a row you just wrote may not be on the read address yet.
- The read address is direct, not pooled. Each connection uses a connection on a replica.
- High availability alone gives no read address: its standby is there to take over. With replicas, the standby answers read queries too.
- Adding the first replica, or removing the last one, reconnects open connections once.
Turning it on and off
Turn high availability on or off at any time in Settings, or choose it at create. Turning it on adds the copies without losing data; turning it off removes them. The database keeps running through both. One exception: a PostgreSQL database created before November 17, 2026 may restart once when high availability is turned on, so its standby can be placed on another server. See Resize a database. MySQL is the exception: choose high availability when you create the database. A MySQL database without it runs as one server and cannot add it later: create a new MySQL database with high availability and copy the data into it, for example withmysqldump.
MySQL high availability is available on plans up to 2 vCPU and has limited room. When a plan has no room, the create page shows High availability disabled with a short note, and no payment is taken: pick a smaller plan, or create the database without it.
When to use it
- Production databases your customers depend on.
- Anything where minutes of downtime during a server failure cost more than the extra price.
Trade-offs
- PostgreSQL writes wait for the standby. The primary confirms a write to your app only after the standby has it on disk, so a failover loses no confirmed write. Each write takes a few milliseconds longer for that: in our test about 8 ms instead of 3 ms. For writes where speed matters more, your app can skip the wait per transaction with
SET LOCAL synchronous_commit = local. - While the standby itself is down or catching up, the primary keeps accepting writes alone instead of stopping. Until the standby is back in step, those writes are protected by backups and point-in-time restore, not by the standby.
- Valkey confirms a write just before the standby has it. A write confirmed in the last instant before the primary fails can be lost in the failover.
- During a failover, open connections drop; apps that retry reconnect to the same address.
- High availability protects against a server failing, not against deleting data by mistake. Backups cover that.
Related
Backups and point-in-time restore
Protection against mistakes and bad deploys.
Resize a database
Turn high availability on.