Skip site navigation (1) Skip section navigation (2)

Re: Need help with one query

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Anne Rosset <arosset(at)collab(dot)net>, Richard Huxton <dev(at)archonet(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Need help with one query
Date: 2009-03-20 19:14:53
Message-ID: 20090320191453.GM8313@alvh.no-ip.org (view raw or flat)
Thread:
Lists: 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.

In response to

Responses

pgsql-performance by date

Next:From: Frank JoerdensDate: 2009-03-20 19:47:29
Subject: Re: Full statement logging problematic on larger machines?
Previous:From: Robert HaasDate: 2009-03-20 19:04:57
Subject: Re: Need help with one query

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group