pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Reiner Dassing <dassing@wettzell.ifag.de>
To: pgsql-sql@postgresql.org
To: Josh@agliodbs.com
To: sszabo@megazone23.bigpanda.com
To: doug@wireboard.com
To: chriskl@familyhealth.com.au
Subject: Re: Index of a table is not used (in any case)
Date: Tue, 23 Oct 2001 09:01:04 +0200
Message-ID: <3BD515B0.C14FE0FB@wettzell.ifag.de> (raw)
References: <3BD3BFE0.55FC3EC0@wettzell.ifag.de>

Hello all!

Thank you for the answers I got.

I would like to mention first, that I will use the [SQL] list for my
answers,
regarding the notice of Josh Berkus.

Q: "did you use VACUUM ANALYZE"?
A: This table was a test bed, just using INSERTS without ANY deletes or
updates
   (See:  vacuum verbose analyze wetter;
    NOTICE:  --Relation wetter--
    NOTICE:  Pages 149752: Changed 0, reaped 194, Empty 0, New 0; 
             Tup 20340000: Vac 26169, Keep/VTL 0/0,  Crash 0, UnUsed 0,
MinLen 52, 
             MaxLen 52; 
             Re-using: Free/Avail. Space 1467792/1467792; 
             EndEmpty/Avail.     Pages 0/194. CPU 6.10s/1.78u sec.
   )


Q: You should upgrade to 7.1.3?
A: Can you tell me the specific the reason?


Am afraid, that the real answer is not mentioned:
Why is the index used in the SELECT:
select * from wetter order by epoche desc;
 

select * from wetter where epoche between '1970-01-01' and '1980-01-01'
order by epoche asc;

?

Any ideas?

--
Mit freundlichen Gruessen / With best regards
   Reiner Dassing



view thread (11+ messages)  latest in thread

Message-ID: <3BD515B0.C14FE0FB@wettzell.ifag.de>
Permalink:  ../3BD515B0.C14FE0FB@wettzell.ifag.de/
Also on:    postgresql.org/message-id/3BD515B0.C14FE0FB@wettzell.ifag.de

 · 

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: dassing@wettzell.ifag.de, Josh@agliodbs.com, sszabo@megazone23.bigpanda.com, doug@wireboard.com, chriskl@familyhealth.com.au
  Subject: Re: Index of a table is not used (in any case)
  In-Reply-To: <3BD515B0.C14FE0FB@wettzell.ifag.de>

* 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