From: | Hannu Krosing <hannu(at)tm(dot)ee> |
---|---|
To: | Mindaugas Riauba <mind(at)bi(dot)lt> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Need advice about triggers |
Date: | 2003-09-10 15:05:35 |
Message-ID: | 1063206334.3356.12.camel@fuji.krosing.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-09-10 16:06:52 | Re: Hardware recommendations to scale to silly load |
Previous Message | Magnus Naeslund(w) | 2003-09-10 11:47:22 | Re: Reading data in bulk - help? |