pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Dragos Valentin Moinescu <dragos.moinescu@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: 8.2 "real-time" recovery
Date: Thu, 26 Aug 2010 16:11:41 -0500
Message-ID: <4C76923D0200002500034CEB@gw.wicourts.gov> (raw)
In-Reply-To: <AANLkTin-mgbFhfz3pSubjhu11vGYwnWwnZd-SAoOagMq@mail.gmail.com>
References: <AANLkTikat4MFkL7tidT-c4Sd0=FAYpNRX260MGt7fJs6@mail.gmail.com>
	<4C74DB180200002500034B6F@gw.wicourts.gov>
	<AANLkTikrtDP+nHwzqfPNB0VOuGSnGg_3kN9QxTTpGrD5@mail.gmail.com>
	<4C74DEE90200002500034B7A@gw.wicourts.gov>
	<AANLkTikmM__F+ewjEza33iRdLuiCp3z9Ru6OsXQF0TvC@mail.gmail.com>
	<4C74EC500200002500034B81@gw.wicourts.gov>
	<AANLkTimR=QjOgd2g3d6ahTepcbf=y6rzF+FR7Pg-cOwP@mail.gmail.com>
	<4C752D610200002500034BC9@gw.wicourts.gov>
	<AANLkTin-mgbFhfz3pSubjhu11vGYwnWwnZd-SAoOagMq@mail.gmail.com>

Dragos Valentin Moinescu <dragos.moinescu@gmail.com> wrote:
 
> I succeded in creating a warm standby server:
>  
> [custom scripting]
 
That's gotta be nicer than what you were doing before.  :-)
 
That said, I fear there are a few unusual conditions you are not
handling in your script.  You might want to take a look at some
packaged solutions which deal with these gracefully.  pg_standby and
pitrtools come to mind, although I might be forgetting something.
 
In the meantime, keep an eye on the log files from both the source
and standby databases to make sure transactions are flowing.  You
might also want to run pg_controldata and make sure that "Database
cluster state" is "in archive recovery" and "Time of latest
checkpoint" hasn't gotten too stale.
 
-Kevin



view thread (11+ messages)

Message-ID: <4C76923D0200002500034CEB@gw.wicourts.gov>
Permalink:  ../4C76923D0200002500034CEB@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4C76923D0200002500034CEB@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, dragos.moinescu@gmail.com
  Subject: Re: 8.2 "real-time" recovery
  In-Reply-To: <4C76923D0200002500034CEB@gw.wicourts.gov>
  References: <AANLkTikat4MFkL7tidT-c4Sd0=FAYpNRX260MGt7fJs6@mail.gmail.com> <4C74DB180200002500034B6F@gw.wicourts.gov> <AANLkTikrtDP+nHwzqfPNB0VOuGSnGg_3kN9QxTTpGrD5@mail.gmail.com> <4C74DEE90200002500034B7A@gw.wicourts.gov> <AANLkTikmM__F+ewjEza33iRdLuiCp3z9Ru6OsXQF0TvC@mail.gmail.com> <4C74EC500200002500034B81@gw.wicourts.gov> <AANLkTimR=QjOgd2g3d6ahTepcbf=y6rzF+FR7Pg-cOwP@mail.gmail.com> <4C752D610200002500034BC9@gw.wicourts.gov> <AANLkTin-mgbFhfz3pSubjhu11vGYwnWwnZd-SAoOagMq@mail.gmail.com> <4C76923D0200002500034CEB@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox