pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Daryl Herzmann <akrherz@iitap.iastate.edu>
Cc: pgsql-sql@postgresql.org
Subject: Re: Queries not using Index
Date: Tue, 23 Jul 2002 08:05:59 -0700 (PDT)
Message-ID: <20020723080457.V24800-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0207221505070.6373-100000@pass.physics.iastate.edu>


On Mon, 22 Jul 2002, Daryl Herzmann wrote:

> snet=# explain SELECT * from t2002_06 WHERE station = 'SGLI4';
> NOTICE:  QUERY PLAN:
>
> Seq Scan on t2002_06  (cost=0.00..35379.69 rows=35564 width=47)
>
> EXPLAIN

What does explain show if you do set enable_seqscan=off;
?
It's possible that it's estimating a greater cost for the index scan.




view thread (15+ messages)  latest in thread

Message-ID: <20020723080457.V24800-100000@megazone23.bigpanda.com>
Permalink:  ../20020723080457.V24800-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20020723080457.V24800-100000@megazone23.bigpanda.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, akrherz@iitap.iastate.edu
  Subject: Re: Queries not using Index
  In-Reply-To: <20020723080457.V24800-100000@megazone23.bigpanda.com>

* 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