Planning performance problem (67626.278ms)

Поиск
Список
Период
Сортировка
От Krzysztof Plocharz
Тема Planning performance problem (67626.278ms)
Дата
Msg-id 6d58f68e-ed1a-c48e-1440-691554f6e1e7@9livesdata.com
обсуждение исходный текст
Ответы RE: Planning performance problem (67626.278ms)  (Igor Neyman <ineyman@perceptron.com>)
Re: Planning performance problem (67626.278ms)  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-performance
Hi

We have some very strange query planning problem. Long story short it 
takes 67626.278ms just to plan. Query execution takes 12ms.

Query has 7 joins and 2 subselects.
It looks like the issue is not deterministic, sometimes is takes few ms 
to plan the query.

One of the tables has 550,485,942 live tuples and 743,504,012 dead 
tuples. Running ANALYZE on that tables solves the problem only temporarily.

Question is how can we debug what is going on?

Best Regards,
Krzysztof Płocharz



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

Предыдущее
От: Rick Otten
Дата:
Сообщение: Re: Oracle to postgres migration
Следующее
От: Igor Neyman
Дата:
Сообщение: RE: Planning performance problem (67626.278ms)