X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BBBC132A920 for ; Thu, 21 Oct 2004 20:05:23 +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 28169-05 for ; Thu, 21 Oct 2004 19:05:16 +0000 (GMT) Received: from pop.sanbrunocable.com (pop.sanbrunocable.com [65.172.230.120]) by svr1.postgresql.org (Postfix) with ESMTP id 014AF32A912 for ; Thu, 21 Oct 2004 20:05:12 +0100 (BST) Received: from oss4u.com (cpe-65-172-234-54.sanbrunocable.com [65.172.234.54]) by pop.sanbrunocable.com (8.11.6/8.11.6) with SMTP id i9LJ3kG10999 for ; Thu, 21 Oct 2004 12:03:46 -0700 Received: (qmail 609 invoked from network); 21 Oct 2004 19:01:32 -0000 Received: from tiburon.oss4u.com (192.168.1.4) by gw.oss4u.com (192.168.1.1) with ESMTP; 21 Oct 2004 19:01:32 -0000 From: "Uwe C. Schroeder" Organization: OSS4U, LLC To: pgsql-admin@postgresql.org Subject: psql enhancement idea Date: Thu, 21 Oct 2004 12:05:09 -0700 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200410211205.09350.uwe@oss4u.com> 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/285 X-Sequence-Number: 15278 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, I'm just doing a load of database transfers using pg_dump. Because I change= d=20 the schema of quite some tables I have to dump full column inserts. The normal -D dump doesn't use a transaction, and I can see that this=20 certainly shouldn't be the default. Nonetheless I think it might be a nice= =20 feature if there is a optional switch that creates a BEGIN .... COMMIT bloc= k=20 around the inserts of each table's data. Full column inserts are at least 1= 0=20 times faster if used in a transaction. Ok I understand that the transaction= =20 bites big chunks out of the ressources - which wouldn't matter if you do th= at=20 on a development machine with plenty of everything and the tables don't hav= e=20 billions of rows. Thought's anyone ? UC - -- Open Source Solutions 4U, LLC 2570 Fleetwood Drive Phone: +1 650 872 2425 San Bruno, CA 94066 Cell: +1 650 302 2405 United States Fax: +1 650 872 2417 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFBeAhljqGXBvRToM4RAhHBAJ9pnOxF2owze5k1+qBsjg2BB39BuwCePdpJ clYgE7K5TD7HYhhHy3JudHQ=3D =3DXpsr -----END PGP SIGNATURE-----