From: | Klint Gore <kg(at)kgb(dot)une(dot)edu(dot)au> |
---|---|
To: | jerome(at)gmanmi(dot)tv |
Cc: | pgsql-general(at)postgresql(dot)org, pgsql-performance(at)postgresql(dot)org |
Subject: | Re: [PERFORM] HELP speed up my Postgres |
Date: | 2004-11-25 07:08:30 |
Message-ID: | 41A584EE111.0263KG@129.180.47.120 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-performance |
On Thu, 25 Nov 2004 14:00:32 +0800, JM <jerome(at)gmanmi(dot)tv> wrote:
> update SUBSCRIPTIONTABLE set ACTIVEFLAG='Y' where mobile_num in (select
> mobile_num from LOADED_MOBILE_NUMBERS)
does loaded_mobile_numbers have a primary key or index on mobile_num?
same for subscriptiontable?
have you analyzed both tables?
is mobile_num the same type in both tables?
how does this query compare?
update SUBSCRIPTIONTABLE set ACTIVEFLAG='Y'
from loaded_mobile_numbers
where subscriptiontable.mobile_num = LOADED_MOBILE_NUMBERS.mobile_num
klint.
+---------------------------------------+-----------------+
: Klint Gore : "Non rhyming :
: EMail : kg(at)kgb(dot)une(dot)edu(dot)au : slang - the :
: Snail : A.B.R.I. : possibilities :
: Mail University of New England : are useless" :
: Armidale NSW 2351 Australia : L.J.J. :
: Fax : +61 2 6772 5376 : :
+---------------------------------------+-----------------+
From | Date | Subject | |
---|---|---|---|
Next Message | Net Virtual Mailing Lists | 2004-11-25 08:42:40 | why use SCHEMA? any real-world examples? |
Previous Message | Christopher Kings-Lynne | 2004-11-25 07:06:27 | Re: [PERFORM] HELP speed up my Postgres |
From | Date | Subject | |
---|---|---|---|
Next Message | Anatoly Okishev | 2004-11-25 09:21:00 | Re: HELP speed up my Postgres |
Previous Message | Christopher Kings-Lynne | 2004-11-25 07:06:27 | Re: [PERFORM] HELP speed up my Postgres |