Re: Need help identifying a periodic performance issue.

Поиск
Список
Период
Сортировка
От Robert Creager
Тема Re: Need help identifying a periodic performance issue.
Дата
Msg-id 40167D9A-8FDE-4F47-9AD0-897F7242A6B7@spectralogic.com
обсуждение исходный текст
Ответ на Re: Need help identifying a periodic performance issue.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Need help identifying a periodic performance issue.  (Robert Creager <robertc@spectralogic.com>)
Список pgsql-performance


On Nov 18, 2021, at 2:42 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

This message originated outside your organization.

Thomas Munro <thomas.munro@gmail.com> writes:

This is all guesswork though, since we don't know quite what's
happening on Robert's system.  It might be worth setting
"log_autovacuum_min_duration = 0" (either globally, or as a
reloption on the relevant tables), and seeing if there seems
to be any correlation between autovacuum/autoanalyze activity
and the occurrences of poor plan choices.

Ok, doing a SET plan_cache_mode=force_custom_plan before the COPY and resetting it after appears to fix the problem.  We’re going to run it over the weekend to make sure.

So, I thank you very much for all your help.

I have logs with autovacuum=0 and dtrace output every minute, but suspect that won’t help you now.  Would you like me to remove the fix next week and reproduce the issue with the same config to provide more information for trouble shooting?  I may be able get a SSH session into a live system, I’d have to check with IT to see if that’s possible/allowed.

Best,
Robert

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

Предыдущее
От: Robert Creager
Дата:
Сообщение: Re: Need help identifying a periodic performance issue.
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: performance of analytical query