pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndquadrant.com>
To: Morten Andersen <moa-ml@instadia.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Recovery plan for DRDB setup - recovery tool
Date: Mon, 11 Dec 2006 09:51:01 +0000
Message-ID: <1165830662.3839.886.camel@silverbirch.site> (raw)
In-Reply-To: <4577E080.4060705@instadia.net>
References: <4577E080.4060705@instadia.net>

On Thu, 2006-12-07 at 09:36 +0000, Morten Andersen wrote:
> Our initial tests also shows that the failovers are problem free. But
> we
> would like to have a plan for how to handle the case where a failover
> fails.

With respect to DRBD, you'd need to look at how that works specifically
since it isn't part of the basic distrubution.

> So are there any Postgresql tools for analyzing and repairing the
> "offline" database files (like e.g. the MySQL 'myisamchk'-tool). Or
> are
> there only "online" tools like 'vacuumdb --full --analyze'. 

The philosophy is different.

PostgreSQL tries to bring up your database and make it available as
quickly as possible, even after a crash. The checking of any changed
data blocks is performed automatically during recovery - so no need to
run a manual tool while the server is down.

The idea that you'd need a checking tool comes from not trusting your
database. The PostgreSQL way is to ensure you don't lose that trust
because there are no short-cuts and leaps of faith taken to make the
database go faster.

-- 
  Simon Riggs             
  EnterpriseDB   http://www.enterprisedb.com





view thread (4+ messages)

Message-ID: <1165830662.3839.886.camel@silverbirch.site>
Permalink:  ../1165830662.3839.886.camel@silverbirch.site/
Also on:    postgresql.org/message-id/1165830662.3839.886.camel@silverbirch.site

 · 

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: simon@2ndquadrant.com, moa-ml@instadia.net
  Subject: Re: Recovery plan for DRDB setup - recovery tool
  In-Reply-To: <1165830662.3839.886.camel@silverbirch.site>
  References: <4577E080.4060705@instadia.net> <1165830662.3839.886.camel@silverbirch.site>

* 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