Re: Replaying archived wal files after a dump restore?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Replaying archived wal files after a dump restore?
Дата
Msg-id 20051025203344.GB7836@surnet.cl
обсуждение исходный текст
Ответ на Re: Replaying archived wal files after a dump restore?  (Jeff Frost <jeff@frostconsultingllc.com>)
Список pgsql-admin
Jeff Frost wrote:

> Unfortunately, diffing the 8.0.4 docs against the 8.1 docs shows almost no
> useful differences.  I was mostly hoping someone with knowledge of the WAL
> internal format could tell me how to extract the transactions from some and
> manually replay them in the db via psql with lots of copy/paste action.

Oh, so the data in the log must be very valuable to you.  I guess you
could extract the data if you processed the WAL logs.  A tool to do this
doesn't exist as far as I know, but you could write your own.  There was
a crude hack by Tom Lane, which you can find on the archives:

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Mohan, Ross" <RMohan@arbinet.com>
Cc: pgsql-admin@postgresql.org
Date: Wed, 13 Apr 2005 10:26:09 -0400
Subject: Re: [ADMIN] question about wal and point in time recovery

It would be nice to expand on this tool.

--
Alvaro Herrera                                http://www.PlanetPostgreSQL.org
"Coge la flor que hoy nace alegre, ufana. ¿Quién sabe si nacera otra mañana?"

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

Предыдущее
От: Kishore B
Дата:
Сообщение: Why different execution times for different instances for the same query?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: files to ignore during pitr base backup