Warm Standby

PostgreSQL versions 8.2+ provide a simple, fast and stable replication mechanism, known as Warm Standby, though more accurately described as Log Shipping.

Data from the transaction log, also known as the Write Ahead Log (WAL) is transported to a standby server where continuous recovery takes place. It's a simple and elegant solution, relying on the underlying recovery code to perform changes on the standby node, so there is only minimal overhead on the primary server.

Data is currently shipped one file at a time, offering file based asynchronous replication. The entire database server is replicated, so there is no additional administration for each table or for each database. Replication can be fast in many circumstances and utilizes WAN links effectively.

As major developers and committers of the PostgreSQL project we are developing further updates to this replication mechanism, covering:

  • Data streaming
  • Synchronous Replication
  • Read Only Standby Servers, also known as Hot Standby
  • Increased replication performance

Postgres log shipping works using similar concepts to the following products options in other RDBMS (trademarks acknowledged appropriately):

  • Oracle Data Guard
  • IBM DB2 HADR
  • Microsoft SQL Server Log Shipping
  • Informix HDR (On-Bar)

PostgreSQL Case studies

Mind Candy logo

Mind Candy

Zero to 50m users in 3 years is a steep curve. 2ndQuadrant stepped in to help with a monster database...

RunKeeper logo

RunKeeper

What happens when your service is a hit, and your database grows by 400% in 6 months?

PostgreSQL Books

PostgreSQL 9 Administration Cookbook

PostgreSQL 9 Administration Cookbook

A practical guide, this cookbook will ensure you run a smooth PostgreSQL database.

PostgreSQL 9.0 High Performance

PostgreSQL 9.0 High Performance

A clear, step-by-step guide to optimizing and scaling up PostgreSQL database servers.

© 2001-2012 2ndQuadrant Ltd. All rights reserved. | Privacy Policy