X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1F2CDD71FD for ; Sun, 11 Sep 2005 02:01:52 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 30806-02 for ; Sun, 11 Sep 2005 05:01:48 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [67.100.216.10]) by svr1.postgresql.org (Postfix) with ESMTP id E1489D7045 for ; Sun, 11 Sep 2005 02:01:46 -0300 (ADT) Received: by flake.decibel.org (Postfix, from userid 1001) id 5EEE815255; Sun, 11 Sep 2005 05:01:46 +0000 (GMT) Date: Sun, 11 Sep 2005 00:01:46 -0500 From: "Jim C. Nasby" To: Greg Sabino Mullane Cc: pgsql-admin@postgresql.org Subject: Re: Disabling WAL for bulk data loads Message-ID: <20050911050146.GY7630@pervasive.com> References: <20050909175543.GH7630@pervasive.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 4.11-RELEASE-p10 i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 required=5 tests=[AWL=0.007] X-Spam-Level: X-Archive-Number: 200509/104 X-Sequence-Number: 18841 On Sat, Sep 10, 2005 at 08:15:50PM -0000, Greg Sabino Mullane wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > Well, COPY will give you the best performance. It's also fairly flexable > > when it comes to formatting. It shouldn't be difficult to get Oracle's > > export tool to generate data that COPY can load. > > With Oracle, everything is difficult. Their export utility does not have > a way to dump things as a series of INSERT commands, nor as tab-delimited > data. There are other tools/scripts around that can do this, but as a > general rule, the word "difficult" is one of the more mild adjectives > usually found in the same sentence as "Oracle utility". :) Can't it export CSV? Copy can deal with CSV. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461