Re: Need help with one query - Mailing list pgsql-performance

From Alvaro Herrera
Subject Re: Need help with one query
Date
Msg-id 20090320191453.GM8313@alvh.no-ip.org
Whole thread Raw
In response to Re: Need help with one query  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Need help with one query
List pgsql-performance
Robert Haas escribió:

> Something is wrong here.  How can setting enable_seqscan to off result
> in a plan with a far lower estimated cost than the original plan?  If
> the planner thought the non-seq-scan plan is cheaper, it would have
> picked that one to begin with.

GEQO?  Anne, what's geqo_threshold set to?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-performance by date:

Previous
From: Robert Haas
Date:
Subject: Re: Need help with one query
Next
From: Frank Joerdens
Date:
Subject: Re: Full statement logging problematic on larger machines?