Re: intercepting WAL writes

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: intercepting WAL writes
Дата
Msg-id 1212020724.7654.4.camel@dogma.ljc.laika.com
обсуждение исходный текст
Ответ на intercepting WAL writes  ("Mike" <mike@fonolo.com>)
Список pgsql-hackers
On Wed, 2008-05-28 at 19:11 -0400, Mike wrote:
> Can somebody point to the most logical place in the code to intercept
> the WAL writes? (just a rough direction would be enough)- or if this
> doesn’t make sense at all, another suggestion on where to get the
> data? (I’m trying to avoid doing it using triggers).

Why are you avoiding triggers? One solution might be to use Slony to
just create the log, and then read the log of events into memcached
rather than another PostgreSQL instance.

http://slony.info/documentation/logshipping.html

Those logs might be easier to process than the WAL.

Also, why do you need to intercept the WAL writes, and not just read
from a WAL archive? Does this need to be synchronous?

Regards,Jeff Davis



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

Предыдущее
От: "Douglas McNaught"
Дата:
Сообщение: Re: [PERFORM] Memory question on win32 systems
Следующее
От: Darren Reed
Дата:
Сообщение: Catching exceptions from COPY