Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id CBF139FA3B3 for ; Wed, 25 Oct 2006 14:29:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 41012-02 for ; Wed, 25 Oct 2006 17:28:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from 66-226-76-106.dedicated.abac.net (66-226-76-106.dedicated.abac.net [66.226.76.106]) by postgresql.org (Postfix) with ESMTP id F13869FA2EC for ; Wed, 25 Oct 2006 14:28:54 -0300 (ADT) Received: (qmail 8880 invoked by uid 2020); 25 Oct 2006 10:30:31 -0700 Received: from wsip-70-167-125-69.sd.sd.cox.net (HELO ?192.168.0.3?) (70.167.125.69) by 66-226-76-106.dedicated.abac.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 25 Oct 2006 10:30:31 -0700 Message-ID: <453F9EA5.9050302@modgraph-usa.com> Date: Wed, 25 Oct 2006 10:28:05 -0700 From: "Craig A. James" User-Agent: Thunderbird 1.5.0.7 (X11/20060909) MIME-Version: 1.0 To: "Spiegelberg, Greg" CC: "Jim C. Nasby" , Worky Workerson , Merlin Moncure , pgsql-performance@postgresql.org Subject: Re: Best COPY Performance References: <82E74D266CB9B44390D3CCE44A781ED9016E003F@POSTOFFICE.cranel.local> In-Reply-To: <82E74D266CB9B44390D3CCE44A781ED9016E003F@POSTOFFICE.cranel.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.818 tagged_above=0 required=5 tests=HELO_DYNAMIC_IPADDR2 X-Spam-Level: *** X-Archive-Number: 200610/524 X-Sequence-Number: 21653 Spiegelberg, Greg wrote: >> The data are on two different computers, and I do processing >> of the data as it passes through the application. Otherwise, >> the INSERT INTO ... SELECT is my first choice. > > Would dblink() help in any way? It might if perl wasn't so damned good at this. ;-) Craig