Re: [GENERAL] vacuum on streaming replication

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: [GENERAL] vacuum on streaming replication
Дата
Msg-id 0AB97FED-499F-4DEB-9931-1B4F6C4E0376@a-kretschmer.de
обсуждение исходный текст
Ответ на [GENERAL] vacuum on streaming replication  (Alex Samad <alex@samad.com.au>)
Ответы Re: [GENERAL] vacuum on streaming replication
Список pgsql-general
On 31 July 2017 04:15:33 GMT+02:00, Alex Samad <alex@samad.com.au> wrote:
>Hi
>
>setup a cluster, with streaming replication and hot stand by
>
>the idea is to use the stand by to do queries whilst the primary is
>doing
>inserts.
>
>But I noticed the stats on the stand by server don't update, nor can I
>run
>vacuum against it as its in recovery mode.
>
>So how do update the stats and how will it affect my queries ?


The standby is read only, vacuum runs on the master and replicated to the standby. Analyse as well.

Regards, Andreas

--
2ndQuadrant - The PostgreSQL Support Company


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

Предыдущее
От: Igor Korot
Дата:
Сообщение: Re: [GENERAL] Invalid byte sequence for encoding UTF-8 0xc3\n
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [GENERAL] vacuum on streaming replication