Re: need help for PostgreSQL consistency check mechanism

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: need help for PostgreSQL consistency check mechanism
Дата
Msg-id 20090424002209.GQ10358@alvh.no-ip.org
обсуждение исходный текст
Ответ на need help for PostgreSQL consistency check mechanism  ("Chen, Dongdong (GE Healthcare)" <DongdongChen@ge.com>)
Ответы Re: need help for PostgreSQL consistency check mechanism  ("Chen, Dongdong (GE Healthcare)" <DongdongChen@ge.com>)
Список pgsql-general
Chen, Dongdong (GE Healthcare) wrote:
> We are now working on database check mechanism in our application. The
> situation is when server shutdown abnormally, the postmaster.pid file
> still exists when reboot, But the PostgreSQL database itself may not be
> damaged. We just do not want to restore from backups when the database
> is still good even if server shutdown abnormally. If the PostgreSQL
> database records are damaged for sure when server reboots, then the
> restoration should be executed automatically.

Just start it up.  If there is recovery to execute, it'll be done
automatically.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

В списке pgsql-general по дате отправления:

Предыдущее
От: Conrad Lender
Дата:
Сообщение: Re: standard_conforming_strings and pg_escape_string()
Следующее
От: "Chen, Dongdong (GE Healthcare)"
Дата:
Сообщение: Re: need help for PostgreSQL consistency check mechanism