pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Daryl Herzmann <akrherz@iastate.edu>
To: pgsql-sql@postgresql.org
Subject: Re: Queries not using Index
Date: Tue, 23 Jul 2002 14:56:28 +0200
Message-ID: <000e01c23248$5c3bc410$d60ffea9@GMENDOLA2> (raw)
References: <Pine.LNX.4.44.0207221340470.31790-100000@akrherz.agron.iastate.edu>

"Daryl Herzmann" <akrherz@iastate.edu> wrote:
> snet=# select count(valid) from t2002_06;
>   count  
> ---------
>  1513895

> 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)


Can you do the following query for better understand your situation ?

select count(*) from t2002_06 where station = 'SGLI4';

select count(*) from t2002_06;




Ciao 
Gaetano.




view thread (15+ messages)  latest in thread

Message-ID: <000e01c23248$5c3bc410$d60ffea9@GMENDOLA2>
Permalink:  ../000e01c23248$5c3bc410$d60ffea9@GMENDOLA2/
Also on:    postgresql.org/message-id/000e01c23248$5c3bc410$d60ffea9@GMENDOLA2

 · 

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: mendola@bigfoot.com, akrherz@iastate.edu
  Subject: Re: Queries not using Index
  In-Reply-To: <000e01c23248$5c3bc410$d60ffea9@GMENDOLA2>

* 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