Re: Another optimizer question - Mailing list pgsql-general

From Tom Lane
Subject Re: Another optimizer question
Date
Msg-id 8401.979917882@sss.pgh.pa.us
Whole thread Raw
In response to Re: Another optimizer question  ("Gordan Bobic" <gordan@freeuk.com>)
List pgsql-general
"Gordan Bobic" <gordan@freeuk.com> writes:
> If I do a view that produces the data I want through joins, it takes hours,
> even with all fields indexed, and after VACUUM ANALYZE. Doing SET ENABLE
> SEQ_SCAN = OFF doesn't seem to make any difference. The query plan changes,
> but select times are still roughly the same... Doing the separate
> subqueries on each table and joining data manualy in the application code
> takes literaly seconds.

Um, have you updated since I changed the subselect-restriction
processing two days ago?

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: .so functions and SQL queries
Next
From: Tony Grant
Date:
Subject: Re: initdb doesn not create template1 database