Mindaugas Riauba kirjutas K, 10.09.2003 kell 13:21: > > router_db=# explain analyze update ifdata set ifspeed=256000, > ifreason='12121', iflastupdate=CURRENT_TIMESTAMP WHERE clientid='#0003904#'; > QUERY PLAN > ---------------------------------------------------------------------------- > ------------------------------------------------ > Index Scan using ifdata_clientid_key on ifdata (cost=0.00..5.64 rows=1 > width=116) (actual time=0.17..0.36 rows=1 loops=1) > Index Cond: (clientid = '#0003904#'::character varying) > Total runtime: 1.70 msec > (3 rows)
could you try the same query on similar table, where clientid is int4 ? is it faster ? does the performance degrade at a slower rate? --------------- Hannu ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend