pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Uwe C. Schroeder <uwe@oss4u.com>
To: pgsql-admin@postgresql.org
Subject: psql enhancement idea
Date: Thu, 21 Oct 2004 12:05:09 -0700
Message-ID: <200410211205.09350.uwe@oss4u.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi everyone,

I'm just doing a load of database transfers using pg_dump. Because I changed 
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 
certainly shouldn't be the default. Nonetheless I think it might be a nice 
feature if there is a optional switch that creates a BEGIN .... COMMIT block 
around the inserts of each table's data. Full column inserts are at least 10 
times faster if used in a transaction. Ok I understand that the transaction 
bites big chunks out of the ressources - which wouldn't matter if you do that 
on a development machine with plenty of everything and the tables don't have 
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=
=Xpsr
-----END PGP SIGNATURE-----




view thread (6+ messages)  latest in thread

Message-ID: <200410211205.09350.uwe@oss4u.com>
Permalink:  ../200410211205.09350.uwe@oss4u.com/
Also on:    postgresql.org/message-id/200410211205.09350.uwe@oss4u.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: uwe@oss4u.com
  Subject: Re: psql enhancement idea
  In-Reply-To: <200410211205.09350.uwe@oss4u.com>
  References: <200410211205.09350.uwe@oss4u.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox