Skip to content
A TurbineWeb Company
Databases
PostgreSQLPostgreSQLRelational · JSONBMySQLMySQLRelational · InnoDBValkeyValkeyIn-memory · Key/valueClickHouseClickHouseColumnar · AnalyticsYugabyteDBYugabyteDBDistributed SQL
PricingDocumentationSign in
ExploreServer pricingDocumentation
The TurbineWeb familyTurbineWeb TurbinePress StaticWeb.site TurbineWhatsapp

PostgreSQL, MySQL, Valkey, ClickHouse and YugabyteDB.
A dedicated instance.
Cloud backup and recovery tools.

Start with the basics
dbturbine.
© 2026 TurbineWeb. DBTurbine is a TurbineWeb service.
TermsPrivacy
All documentation
Browse documentation
Database enginesValkey caches and sessionsYugabyteDB clustersClickHouse analytics
Connect & manageStorage and server upgradesUse the browser workbenchConnect your applicationDatabases, users & permissions
Account & billingUpdate your accountTickets and attachments
Protect & recoverHigh availability and read replicasFull backups & point-in-time recoveryRestore without overwriting your databaseUpdates & maintenance
Start hereYour first database
Your accountPlans, payments & the TurbineWeb name

High availability and read replicas

How connections, failover and recovery work on a replicated deployment.

One write endpoint, one read endpoint

An HA deployment has one writer and your selected number of primary-region nodes. Choose at least three for HA, or one for a single instance. Use the main connection port for writes and immediate read-after-write consistency. The next port serves reads from eligible replicas. Replica reads can lag behind recent changes. All connections require TLS, a database user and an allowed source IP.

Reads in another region

PostgreSQL deployments can add multiple read replicas in each enabled region, within the configured total-node limit. Regions with multiple readers have a shared TLS read endpoint and load balancer, charged at the saved regional rate. Those read endpoints follow your configured connection port; singleton remote readers keep port 5432. Every endpoint uses your deployment's IP allowlist. These replicas copy data asynchronously, so reads may lag. They do not vote, confirm synchronous commits, or become writers automatically. Your primary-region cluster remains responsible for writes.

What happens when the primary fails

The cluster elects an eligible replacement and routes new connections to it. Existing sessions and open transactions can disconnect. Your application must reconnect and retry transactions safely; do not blindly retry payments or other actions that may already have committed. Losing the cluster majority can stop writes to protect the data.

Durability depends on the engine

PostgreSQL uses strict synchronous quorum replication. MySQL uses single-primary Group Replication. Valkey uses asynchronous replication and Sentinel, so failover can lose recent acknowledged writes. Treat Valkey as a cache or use application-level recovery for data you cannot lose.

Preparing a MySQL schema

MySQL HA requires InnoDB tables with a primary key, or a unique key whose columns cannot be null. Check existing tables before importing an application. Writes to unsupported tables are rejected; add appropriate keys and convert older storage engines first.

Replicas and cloud backups do different jobs

Replicas also receive accidental deletes and bad application writes. Cloud backups remain necessary. After a primary change, a new full backup starts a fresh recovery chain; the available time range shown in Backups is the source of truth. A restore creates a separate single-instance copy in an enabled region. Confirm its monthly charge, validate the recovered data, then update your application connection. The original HA cluster remains unchanged.

Maintenance and capacity

Compatible updates roll through replicas first, then move writes before updating the former primary. Brief reconnects can still occur. Listed CPU, memory and connection capacity apply per node; usable storage is one copy of the data. HA within one region does not protect against every regional outage.

Read nextYour first database