Re: Comment about not being able to run ANALYZE on replicas

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Comment about not being able to run ANALYZE on replicas
Дата
Msg-id 4047078.1635179428@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Comment about not being able to run ANALYZE on replicas  (PG Doc comments form <noreply@postgresql.org>)
Список pgsql-docs
PG Doc comments form <noreply@postgresql.org> writes:
> https://www.postgresql.org/docs/12/sql-analyze.html does not have anything
> about not being able to run ANALYZE on replicas. 
> I now understand that this is because statistics are stored in a table, and
> that table is replicated from primary server to the replica, but it would be
> helpful to have something about this in the official documentation.

I'm a little skeptical about that.  By that argument, nearly every one
of our SQL command pages would need a disclaimer saying that you can't
use it on a replica.

            regards, tom lane



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

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: Comment about not being able to run ANALYZE on replicas
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: The huge_pages parameter doesn't work when shared_memory_type is sysv