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

From: Peter <pmc(at)citylink(dot)dinoex(dot)sub(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Should from_collapse be switched off? (queries 10 times faster)
Date: 2018-03-23 17:36:58
Message-ID: 20180323173658.GA58069@gate.oper.dinoex.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message bk 2018-03-23 20:28:22 Slow planning time for custom function
Previous Message Tom Lane 2018-03-23 15:08:56 Re: DB corruption