Re: automatic vacuum on pg_statistic pg_toast area blocks all queries in hot standby

Поиск
Список
Период
Сортировка
От piuschan
Тема Re: automatic vacuum on pg_statistic pg_toast area blocks all queries in hot standby
Дата
Msg-id 1411494429599-5820171.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: automatic vacuum on pg_statistic pg_toast area blocks all queries in hot standby  (ddv <degtyaryov@gmail.com>)
Ответы Re: automatic vacuum on pg_statistic pg_toast area blocks all queries in hot standby  (ddv <degtyaryov@gmail.com>)
Список pgsql-bugs
Hi,

Thanks for your feedback. Someone finally replies to this thread. I am not
quite clear of your solution, so I need more info from you.

First of all, we do not enable hot_standby_feedback on SLAVE DB.

postgres=# show hot_standby_feedback;
 hot_standby_feedback
----------------------
 off
(1 row)

Secondly, where do you run "select txid_current() into res1" and "select
txid_current() into res2" ?

Even if you set MASTER vacuum_defer_cleanup_age to certain value, autovacuum
still can kick in anytime and may conflict query on the target table. So
setting vacuum_defer_cleanup_age to a value can really reduce the chance of
such situation?

Thanks a lot,

Pius



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/automatic-vacuum-on-pg-statistic-pg-toast-area-blocks-all-queries-in-hot-standby-tp5807143p5820171.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

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

Предыдущее
От: ddv
Дата:
Сообщение: Re: automatic vacuum on pg_statistic pg_toast area blocks all queries in hot standby
Следующее
От: ddv
Дата:
Сообщение: Re: automatic vacuum on pg_statistic pg_toast area blocks all queries in hot standby