Re: system views for walsender activity

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: system views for walsender activity
Дата
Msg-id 1294584808.1712.597.camel@ebony
обсуждение исходный текст
Ответ на Re: system views for walsender activity  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: system views for walsender activity  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On Sun, 2011-01-09 at 12:52 +0100, Magnus Hagander wrote:

> One thing I noticed is that it gives an interesting property to my
> patch for streaming base backups - they now show up in
> pg_stat_replication, with a streaming location of 0/0.
> 
> If the view is named pg_stat_replication, we probably want to filter
> that out somehow. But then, do we want a separate view listing the
> walsenders that are busy sending base backups?
> 
> For that matter, do we want an indication that separates a walsender
> not sending data from one sending that happens to be at location 0/0?
> Most will leave 0/0 really quickly, but a walsender can be idle (not
> received a command yet), or it can be running IDENTIFY_SYSTEM for
> example.

I think we need a status enum. ('BACKUP', 'CATCHUP', 'STREAM') for the 3
phases of replication.

-- Simon Riggs           http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services



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

Предыдущее
От: Cédric Villemain
Дата:
Сообщение: Re: Streaming base backups
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: SSI patch(es)