pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anatoly Okishev <rolly74@mail.ru>
To: jerome@gmanmi.tv
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: HELP speed up my Postgres
Date: Thu, 25 Nov 2004 14:21:00 +0500
Message-ID: <077301c4d2d0$1608ea10$191716ac@ws5> (raw)
References: <200411251400.32752.jerome@gmanmi.tv>

> SQL:
> update SUBSCRIPTIONTABLE set ACTIVEFLAG='Y' where mobile_num in (select
> mobile_num from LOADED_MOBILE_NUMBERS)

You can try this:

update SUBSCRIPTIONTABLE, LOADED_MOBILE_NUMBERS  set 
SUBSCRIPTIONTABLE.ACTIVEFLAG='Y'
where LOADED_MOBILE_NUMBERS.mobile_num=SUBSCRIPTIONTABLE.mobile_num

Anatoly.





view thread (9+ messages)  latest in thread

Message-ID: <077301c4d2d0$1608ea10$191716ac@ws5>
Permalink:  ../077301c4d2d0$1608ea10$191716ac@ws5/
Also on:    postgresql.org/message-id/077301c4d2d0$1608ea10$191716ac@ws5

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: rolly74@mail.ru, jerome@gmanmi.tv, pgsql-general@postgresql.org
  Subject: Re: HELP speed up my Postgres
  In-Reply-To: <077301c4d2d0$1608ea10$191716ac@ws5>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox