Re: Catching up Production from Warm Standby after maintenance - Please help

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Catching up Production from Warm Standby after maintenance - Please help
Дата
Msg-id 4A547CB20200002500028589@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: Catching up Production from Warm Standby after maintenance - Please help  (Jennifer Spencer <jenniferm411@hotmail.com>)
Список pgsql-admin
Jennifer Spencer <jenniferm411@hotmail.com> wrote:

> Hm - Kevin, when you issue CLUSTER on your table, when do you switch
> the users over and do you let them keep writing during the process?
> Or is the second copy table read-only to the users while the
> cluster-build is happening on the primary (making it unavailable)?
> Thanks - and thanks for the Sybase difference explanation.

We only use CLUSTER occassionally, to recover from bloat caused by
exceptional circumstances (like mass deletes or a long-running
transaction from some will-behaved programmer.).  CLUSTER has to lock
the table for the duration, blocking other users.  We schedule this
off-hours.

I'm glad the info was useful.  Our move from Sybase was incredibly
smooth, due largely to help from these PostgreSQL lists; I figure I
owe it to the community to give back as I am able.  :-)

-Kevin

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Catching up Production from Warm Standby after maintenance - Please help
Следующее
От: Chris Browne
Дата:
Сообщение: Re: Catching up Production from Warm Standby after maintenance - Please help