"hot standby" system

Started by Chris Campbellover 19 years ago3 messages
#1Chris Campbell
chris@bignerdranch.com

The documentation [1]http://www.postgresql.org/docs/8.1/interactive/backup-online.html says this about On-line backup and point-in-
time recovery:

If we continuously feed the series of WAL files to another machine
that has been loaded with the same base backup file, we have a "hot
standby" system: at any point we can bring up the second machine
and it will have a nearly-current copy of the database.

Is this possible today in a stable and robust way? If so, can we
document the procedure? If not, should we alter the documentation so
it's not misleading? I've had several people ask me where to enable
the "hot standby" feature, not realizing that PostgreSQL only has
some of the raw materials that could be used to architect such a thing.

Thanks!

- Chris

[1]: http://www.postgresql.org/docs/8.1/interactive/backup-online.html

#2Joshua D. Drake
jd@commandprompt.com
In reply to: Chris Campbell (#1)
Re: "hot standby" system

Is this possible today in a stable and robust way? If so, can we
document the procedure? If not, should we alter the documentation so
it's not misleading? I've had several people ask me where to enable the
"hot standby" feature, not realizing that PostgreSQL only has some of
the raw materials that could be used to architect such a thing.

Well it works fine depending on how you set it up :) Please feel free to
submit a patch to the docs.

Sincerely,

Joshua D. Drake

Thanks!

- Chris

[1] http://www.postgresql.org/docs/8.1/interactive/backup-online.html

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

#3Hannu Krosing
hannu@skype.net
In reply to: Chris Campbell (#1)
Re: "hot standby" system

Ühel kenal päeval, R, 2006-07-21 kell 20:00, kirjutas Chris Campbell:

The documentation [1] says this about On-line backup and point-in-
time recovery:

If we continuously feed the series of WAL files to another machine
that has been loaded with the same base backup file, we have a "hot
standby" system: at any point we can bring up the second machine
and it will have a nearly-current copy of the database.

Is this possible today in a stable and robust way? If so, can we
document the procedure? If not, should we alter the documentation so
it's not misleading? I've had several people ask me where to enable
the "hot standby" feature, not realizing that PostgreSQL only has
some of the raw materials that could be used to architect such a thing.

We have written a management script that manages the setup und failover
procedures. It is a part of the SkyTools package we announced at the
postgresql conference in Toronto.

We failed to put it up on PgFoundry during the code sprint (it took a
whole day to enable the project there :( ) and have not had enough time
to do it after coming back. But it will be on PgFoundry eventually.

Marko has the details if you need it faster

--
----------------
Hannu Krosing
Database Architect
Skype Technologies OÜ
Akadeemia tee 21 F, Tallinn, 12618, Estonia

Skype me: callto:hkrosing
Get Skype for free: http://www.skype.com