Search Postgresql Archives

Re: Using PITR for creating Hot Standby

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dhaval Shah wrote:
I am in a situation where we have to deploy a hot standby to a
postgres db server. There is no custom tablespace and all data files
are in $PGDATA

I was thinking of using PITR
[]http://www.postgresql.org/docs/8.1/static/backup-online.html] to
achieve that and here are my thoughts:

Same here.


1. Continuously copy WAL files to the standby.

Right.

2. The standby is always in "recovery" mode, that is whenever it gets
a WAL file, it recovers to that WAL file.

This I decided against, only because traffic does not warrant it. The idea at this point was to let the WAL files pile up in the offsite location and then work out a periodic schedule for running them, but it would be more like once/week than continuously.

My thinking was that maintaining a 60-second failover is not really what I'm after. If the main server goes down, we would likely wait and hope for up to 10 minutes before starting to make DNS changes. During that time we could always run a recovery of the WAL files and have the standby easily ready in time.
begin:vcard
fn:Kenneth  Downs
n:Downs;Kenneth 
adr;dom:;;347 Main Street;East Setauket;NY;11733
email;internet:ken@xxxxxxxxxx
tel;work:631-689-7200
tel;fax:631-689-0527
tel;cell:631-379-0010
x-mozilla-html:FALSE
url:http://www.secdat.com
version:2.1
end:vcard


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux