Replication questions - read-only and temporary read/write slaves - Mailing list pgsql-general

From Tiffany Thang
Subject Replication questions - read-only and temporary read/write slaves
Date
Msg-id CAB_W-NMAMEHG4qaF2qV9DRLPxUpov5kazgL7ckGG4Emza5AtHQ@mail.gmail.com
Whole thread Raw
Responses Re: Replication questions - read-only and temporary read/write slaves
Re: Replication questions - read-only and temporary read/write slaves
List pgsql-general
Hi,
In PostgreSQL, would it be possible to

1. set up a read-only slave database? The closest solution I could find is Hot Standby but the slave would not be accessible until after a failover.
 
2. temporary convert a read-only slave in read-write mode for testing read/write workloads? Currently in Oracle, we can temporary open our read-only standby database in read-write mode to occasionally test our read-write workloads. We would stop the log apply on the standby database, convert the read-only database to read-write,
perform our read/write test, discard all the changes after testing and reopen and resync the standby database in read-only mode. Is there a similar feature in PostgreSQL or are there ways to achieve something close to our needs?

Thanks.

Tiff  


pgsql-general by date:

Previous
From: Olga Lytvynova-Bogdanova
Date:
Subject: pgbench
Next
From: Magnus Hagander
Date:
Subject: Re: Replication questions - read-only and temporary read/write slaves