Re: Query on view radically slower than query on underlying table - Mailing list pgsql-performance

From Tom Lane
Subject Re: Query on view radically slower than query on underlying table
Date
Msg-id 27415.1298919456@sss.pgh.pa.us
Whole thread Raw
In response to Query on view radically slower than query on underlying table  (Craig James <craig_james@emolecules.com>)
Responses Re: Query on view radically slower than query on underlying table
List pgsql-performance
Craig James <craig_james@emolecules.com> writes:
> My guess (and it's just a wild guess) is that the "left join" is
> forcing a sequence scan or something.

No, that's forcing the other join to be done in toto because it can't
reorder the left join and regular join.

            regards, tom lane

pgsql-performance by date:

Previous
From: Marc Cousin
Date:
Subject: Re: inheritance: planning time vs children number vs column number
Next
From: Robert Haas
Date:
Subject: Re: Bad query plan when the wrong data type is used