Re: Should from_collapse be switched off? (queries 10 times faster)

Поиск
Список
Период
Сортировка
От Peter
Тема Re: Should from_collapse be switched off? (queries 10 times faster)
Дата
Msg-id 20180323173658.GA58069@gate.oper.dinoex.org
обсуждение исходный текст
Ответ на Re: Should from_collapse be switched off? (queries 10 times faster)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Should from_collapse be switched off? (queries 10 times faster)  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-performance
On Fri, Mar 23, 2018 at 10:14:19AM -0400, Tom Lane wrote:

! It's conceivable that the OP's problem is actually planning time
! (if the query joins sufficiently many tables) and that restricting
! the cost of the join plan search is really what he needs to do.

Negative. Plnning time 10 to 27 ms. Execution time 600 to 6300 ms.

! Lacking any further information about the problem, we can't say.
! We can, however, point to
! https://wiki.postgresql.org/wiki/Slow_Query_Questions
! concerning how to ask this type of question effectively.

I strongly hope the data that I sent as followup will now 
suffice Your expectations.

rgds,
PMc


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: DB corruption
Следующее
От: bk@e8s.de
Дата:
Сообщение: Slow planning time for custom function