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 4F07CD70AF; Mon, 22 Aug 2005 21:57:50 -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 92408-04; Tue, 23 Aug 2005 00:57:49 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [67.100.216.10]) by svr1.postgresql.org (Postfix) with ESMTP id A9570D700F; Mon, 22 Aug 2005 21:57:48 -0300 (ADT) Received: by flake.decibel.org (Postfix, from userid 1001) id 6EB4C152B1; Mon, 22 Aug 2005 19:57:52 -0500 (CDT) Date: Mon, 22 Aug 2005 19:57:52 -0500 From: "Jim C. Nasby" To: Aldor Cc: Postgres Admin , PostgreSQL - Admin , PostgreSQL - PHP , PostgreSQL - SQL Subject: Re: [PHP] Data insert Message-ID: <20050823005752.GI17203@pervasive.com> References: <430765C3.9090309@productivitymedia.com> <4308129A.6030009@mediaroot.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4308129A.6030009@mediaroot.de> 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 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200508/276 X-Sequence-Number: 18595 On Sun, Aug 21, 2005 at 06:35:22AM +0100, Aldor wrote: > if you want to insert biiig data volumes try either using COPY instead > of INSERT - it will run much much faster And if for some reason you have to stick with inserts, group them into transactions; it will perform much better than individual transactions. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com 512-569-9461