Re: oddly slow query - Mailing list pgsql-general

From Tom Lane
Subject Re: oddly slow query
Date
Msg-id 24319.1200083250@sss.pgh.pa.us
Whole thread Raw
In response to oddly slow query  (Jessi Berkelhammer <jberkelhammer@desc.org>)
Responses Re: oddly slow query  (Jessi Berkelhammer <jberkelhammer@desc.org>)
List pgsql-general
Jessi Berkelhammer <jberkelhammer@desc.org> writes:
> The hold-up seems to be in a 'Nested Loop Left Join', which is only in
> the plan for the slow query.
> Here are the first two lines of EXPLAIN ANALYZE on the slow query:

So you've left out all the information that would let anyone guess what
the problem is ...

Let's see the *whole* EXPLAIN ANALYZE output for all three of the
queries you mentioned.  It would also be appropriate to mention
exactly which PG version you're using.

            regards, tom lane

pgsql-general by date:

Previous
From: "Blazej Oleszkiewicz"
Date:
Subject: Analytic SQL Server - next generation analytic Data Warehouse with OLAP support
Next
From: "Pavel Stehule"
Date:
Subject: Re: oddly slow query