pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
[azhang@verisign.com: RE: tuning SQL] 1+ messages / 1 participants [nested] [flat]
* [azhang@verisign.com: RE: tuning SQL] @ 2002-01-29 19:24 Ross J. Reedstrom <reedstrm@rice.edu> 0 siblings, 0 replies; 1+ messages in thread From: Ross J. Reedstrom @ 2002-01-29 19:24 UTC (permalink / raw) To: pgsql-admin Just to complete the thread. Ross ----- Forwarded message from "Zhang, Anna" <azhang@verisign.com> ----- From: "Zhang, Anna" <azhang@verisign.com> To: "'Ross J. Reedstrom'" <reedstrm@rice.edu> Subject: RE: [ADMIN] tuning SQL Date: Tue, 29 Jan 2002 14:08:53 -0500 Return-Receipt-To: "Zhang, Anna" <azhang@verisign.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@rice.edu] Sent: Tuesday, January 29, 2002 1:46 PM To: Zhang, Anna Cc: pgsql-admin@postgresql.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 ----- ^ permalink raw reply [nested|flat] 1+ messages in thread
only message in thread Thread overview: 1+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2002-01-29 19:24 [azhang@verisign.com: RE: tuning SQL] Ross J. Reedstrom <reedstrm@rice.edu>
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