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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to