Re: [PERFORM] Queries with timestamp II

2004-01-30 Thread Shridhar Daithankar
Arnau wrote: explain analyze select * from statistics2 where timestamp_in < to_timestamp( '20031201', 'MMDD' ); NOTICE: QUERY PLAN: Seq Scan on statistics2 (cost=0.00..638.00 rows=9289 width=35) (actual time=0.41..688.34 rows=27867 loops=1) Total runtime: 730.82 msec That query is not using

Re: [PERFORM] Queries with timestamp II

2004-01-26 Thread Tomasz Myrta
Dnia 2004-01-26 15:12, Użytkownik Arnau napisał: Hi all, First of all thanks to Josh and Richard for their replies. What I have done to test their indications is the following. I have created a new table identical to STATISTICS, and an index over the TIMESTAMP_IN field. CREATE TABLE STATISTICS2

[PERFORM] Queries with timestamp II

2004-01-26 Thread Arnau
Hi all, First of all thanks to Josh and Richard for their replies. What I have done to test their indications is the following. I have created a new table identical to STATISTICS, and an index over the TIMESTAMP_IN field. CREATE TABLE STATISTICS2 ( STATISTIC_IDNUMERIC(10) NOT NULL DEFAULT