pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alex Zendel <alexzendel@hotmail.com>
To: pgsql-admin@postgresql.org
Cc: alexzendel@hotmail.com
Subject: question about wal and point in time recovery
Date: Tue, 12 Apr 2005 07:47:27 -0600
Message-ID: <BAY103-F4027A6F1BB965362B34C0FC3330@phx.gbl> (raw)

hello all,

i work in an organization that has a handful of people accessing a few ms 
access database files.  i'm strongly considering porting everything to 
postgre (as the backend for access) for a number of obvious reasons, one of 
the most prominent ones would be the availability of a back up via the write 
ahead log.  i've been reading up on the wal and point in time recovery in 
the online postgre manual. but i have a question about using it:

is it possible to visually read the entries in the log? is it in binary 
format? can the log be modified before recovery occurs.  my biggest concern 
is that somebody in my org, for example, deletes a field or fudges an update 
query that changes a foreign key to a single value - and therefore destroys 
table links.   so what if this happens and nobody notices it for several 
weeks?  is it possible to read the log and remove this field delete (i.e., 
remove the 'alter table x drop column y' statement)?  or in the update the 
scenario, find the statement that reads 'update table x set x.y = "corrupt"' 
and then remove it from the log?  then can we 'replay' the log and restore 
our database, sans the destructive statements?

i am aware of the possibility of data corruption when attempting something 
like this, especially when multi-changes transactions were used.  i don't 
intend to use the wal and pitr in these cases.

.....anything else you feel that i should know about using postgre as a back 
end for access?

thanks!

az





view thread (7+ messages)  latest in thread

Message-ID: <BAY103-F4027A6F1BB965362B34C0FC3330@phx.gbl>
Permalink:  ../BAY103-F4027A6F1BB965362B34C0FC3330@phx.gbl/
Also on:    postgresql.org/message-id/BAY103-F4027A6F1BB965362B34C0FC3330@phx.gbl

 · 

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: alexzendel@hotmail.com
  Subject: Re: question about wal and point in time recovery
  In-Reply-To: <BAY103-F4027A6F1BB965362B34C0FC3330@phx.gbl>
  References: <BAY103-F4027A6F1BB965362B34C0FC3330@phx.gbl>

* 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