From: | "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | [azhang@verisign.com: RE: tuning SQL] |
Date: | 2002-01-29 19:24:55 |
Message-ID: | 20020129192455.GA2290@rice.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Just to complete the thread.
Ross
----- Forwarded message from "Zhang, Anna" <azhang(at)verisign(dot)com> -----
From: "Zhang, Anna" <azhang(at)verisign(dot)com>
To: "'Ross J. Reedstrom'" <reedstrm(at)rice(dot)edu>
Subject: RE: [ADMIN] tuning SQL
Date: Tue, 29 Jan 2002 14:08:53 -0500
Return-Receipt-To: "Zhang, Anna" <azhang(at)verisign(dot)com>
X-Virus-Scanned: by AMaViS snapshot-20010714
I had same thought as you. select into temp table only took a minute, then
insert into contact took 1 hour. Thanks!
Anna Zhang
-----Original Message-----
From: Ross J. Reedstrom [mailto:reedstrm(at)rice(dot)edu]
Sent: Tuesday, January 29, 2002 1:46 PM
To: Zhang, Anna
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] tuning SQL
So, how long does the just the select take? You might be running into
something odd with selecting from and inserting into the same table: I'm
not sure of the visibility rules here. You might be better off selecting
into a new temp table (see: SELECT INTO) then inserting from that.
Ross
----- End forwarded message -----
From | Date | Subject | |
---|---|---|---|
Next Message | Srinivasa Rao Chava | 2002-01-29 21:58:06 | problem with pg_restore |
Previous Message | Ross J. Reedstrom | 2002-01-29 18:46:06 | Re: tuning SQL |