Re: Index of a table is not used (in any case)

From: Reiner Dassing <dassing(at)wettzell(dot)ifag(dot)de>
To: pgsql-sql(at)postgresql(dot)org, Josh(at)agliodbs(dot)com, sszabo(at)megazone23(dot)bigpanda(dot)com, doug(at)wireboard(dot)com, chriskl(at)familyhealth(dot)com(dot)au
Subject: Re: Index of a table is not used (in any case)
Date: 2001-10-23 07:01:04
Message-ID: 3BD515B0.C14FE0FB@wettzell.ifag.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Lee Kindness 2001-10-23 09:28:57 Re: Compiling on Solaris with Sun compiler
Previous Message David Ford 2001-10-23 05:07:23 Re: [GENERAL] To Postgres Devs : Wouldn't changing the selectlimit

Browse pgsql-sql by date

  From Date Subject
Next Message Haller Christoph 2001-10-23 10:15:53 Re: Query On Case structure
Previous Message Josh Berkus 2001-10-23 04:50:57 Re: Index of a table is not used (in any case)