Re: [ADMIN] Warm Standby on 8.4.7
Alanoly Andrews alano...@invera.com writes: Hello, Is it possible to set up a warm standby pair of postgres instances without using the pg_standby utility? The PG manuals appear to say it is possible. But I dont see the details of how to set this up. How do you keep the standby instance in permanent recovery mode? Certainly if you implement the same or possibly extended logic yourself in whatever language you are comfortable with. Myself and others have been doing warm-standby since WALs were invented :-) When the company I work for started requiring that WS servers be helf back a configurable time lag from production, I made some minor mods to our version of the standby script, now written in Python, to make it happen. WALs now have to pass sanity and aging checks before being applied. HTH -- Jerry Sievers Postgres DBA/Development Consulting e: gsiever...@comcast.net p: 305.321.1144 -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin
Re: [ADMIN] Warm Standby on 8.4.7
On Thu, Apr 14, 2011 at 1:06 PM, Alanoly Andrews alano...@invera.com wrote: Thanks, Simon, for your quick response. I'll try it out with your pg_standby utility. And...if I may ask you one more question on the subject, once the standby is up and running, is there a way to determine whether it is in synch with the primary database (in terms of the last WAL applied)? I guess that the standby cannot be queried as it would be in permanent recovery mode. At 8.4, no, you cannot query the standby. 9.0 introduces the Hot Standby feature to allow you to query the standby. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training Services -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin
[ADMIN] Warm Standby on 8.4.7
Hello, Is it possible to set up a warm standby pair of postgres instances without using the pg_standby utility? The PG manuals appear to say it is possible. But I don't see the details of how to set this up. How do you keep the standby instance in permanent recovery mode? Thanks. Alanoly. This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de courriel ou par un autre moyen.
Re: [ADMIN] Warm Standby on 8.4.7
On Wed, Apr 13, 2011 at 8:53 PM, Alanoly Andrews alano...@invera.com wrote: Is it possible to set up a warm standby pair of postgres instances without using the pg_standby utility? The PG manuals appear to say it is possible. But I don’t see the details of how to set this up. How do you keep the standby instance in permanent recovery mode? It is possible. You just need to write a utility very similar to pg_standby. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training Services -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin