Hi Josh,
Ok, first the explain analyze ....

June_03=# explain analyze select * from tmp where route
>>='62.1.1.0/24';
                                                QUERY PLAN
-----------------------------------------------------------------------------------------------------------
 Seq Scan on tmp  (cost=0.00..606.60 rows=14544 width=33) (actual
time=3.862..15.366 rows=1 loops=1)
   Filter: (route >>= '62.1.1.0/24'::cidr)
 Total runtime: 15.493 ms
(3 rows)

And the version of postgres

June_03=# select version();
                                                      version
--------------------------------------------------------------------------------------------------------------------
 PostgreSQL 7.4.1 on i686-pc-linux-gnu, compiled by GCC gcc (GCC)
3.3.2 20031022 (Gentoo Linux 3.3.2-r2, propolice)
(1 row)

Thanks,
Georgos

[EMAIL PROTECTED] (Josh Berkus) wrote in message news:<[EMAIL PROTECTED]>...
> George,
> 
> > Um, no, I need an EXPLAIN ANALYZE, not just an EXPLAIN.   Thanks.
> >
> > > June_03=# explain select * from tmp where route >>='62.1.1.0/24';
> > >                            QUERY PLAN
> > > ----------------------------------------------------------------
> > >  Seq Scan on tmp  (cost=0.00..606.60 rows=14544 width=33)
> > >    Filter: (route >>= '62.1.1.0/24'::cidr)
> 
> Oh, and also a SELECT VERSION(); would be nice.

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

Reply via email to