X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 53D2932A37C for ; Tue, 12 Oct 2004 00:30:39 +0100 (BST) 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 05014-06 for ; Mon, 11 Oct 2004 23:30:27 +0000 (GMT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id C9FDE32BB4D for ; Tue, 12 Oct 2004 00:30:29 +0100 (BST) Received: (qmail 17900 invoked by uid 500); 11 Oct 2004 23:40:50 -0000 Date: Mon, 11 Oct 2004 18:40:50 -0500 From: Bruno Wolff III To: Theo Galanakis Cc: pgsql-sql@postgresql.org Subject: Re: Export tab delimited from mysql to postgres. Message-ID: <20041011234050.GA17772@wolff.to> Mail-Followup-To: Theo Galanakis , pgsql-sql@postgresql.org References: <82E30406384FFB44AFD1012BAB230B5505F40D3E@shiva.au.lpint.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <82E30406384FFB44AFD1012BAB230B5505F40D3E@shiva.au.lpint.net> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/77 X-Sequence-Number: 19180 On Tue, Oct 12, 2004 at 09:23:41 +1000, Theo Galanakis wrote: > > Could you provide a example of how to do this? > > I actually ended up exporting the data as Insert statements, which > strips out cf/lf within varchars. However it takes an eternity to import > 200,000 records... 24 hours infact???? Is this normal? Are you doing the load in one transaction?