pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Anne Rosset <arosset@collab.net>
Cc: Richard Huxton <dev@archonet.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Need help with one query
Date: Fri, 20 Mar 2009 15:14:53 -0400
Message-ID: <20090320191453.GM8313@alvh.no-ip.org> (raw)
In-Reply-To: <603c8f070903201204s53f2a3cvbf9afc8649b2201a@mail.gmail.com>
References: <49C2AC75.5060601@collab.net>
	<49C3600E.20504@archonet.com>
	<49C3CF52.9090602@collab.net>
	<603c8f070903201204s53f2a3cvbf9afc8649b2201a@mail.gmail.com>

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.



view thread (12+ messages)  latest in thread

Message-ID: <20090320191453.GM8313@alvh.no-ip.org>
Permalink:  ../20090320191453.GM8313@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20090320191453.GM8313@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: alvherre@commandprompt.com, robertmhaas@gmail.com, arosset@collab.net, dev@archonet.com
  Subject: Re: Need help with one query
  In-Reply-To: <20090320191453.GM8313@alvh.no-ip.org>
  References: <49C2AC75.5060601@collab.net> <49C3600E.20504@archonet.com> <49C3CF52.9090602@collab.net> <603c8f070903201204s53f2a3cvbf9afc8649b2201a@mail.gmail.com> <20090320191453.GM8313@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox