Isn't it better to put this say in the pg_restore
or integrate such thing into psql ?
On Tue, 23 Mar 2004 17:02:36 -0700, Naomi Walker <[EMAIL PROTECTED]> wrote:



I'm not sure of the correct protocol for getting things on the "todo" list. Whom shall we beg?


At 10:13 AM 3/22/2004, Mark M. Huber wrote:
That sounds like a brilliant idea, who do we say it to make it so?

Mark H

-----Original Message-----
From: Naomi Walker [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 8:19 AM
To: Mark M. Huber
Cc: Naomi Walker; [EMAIL PROTECTED]
Subject: Re: [ADMIN] backup and recovery


That brings up a good point. It would be extremely helpful to add two parameters to pg_dump. One, to add how many rows to insert before a commit, and two, to live through X number of errors before dying (and putting the "bad" rows in a file).


At 10:15 AM 3/19/2004, Mark M. Huber wrote:
>What it was that I guess the pg_dump makes one large transaction and our
>shell script wizard wrote a perl program to add a commit transaction
>every 500 rows or what every you set. Also I should have said that we were
>doing the recovery with the insert statements created from pg_dump. So...
>my 500000 row table recovery took < 10 Min.
>
>Thanks for your help.
>
>Mark H
>
>
>-


-------------------------------------------------------------------------------------------------------------------------
Naomi Walker Chief Information Officer
Eldorado Computing, Inc.
[EMAIL PROTECTED] 602-604-3100
-------------------------------------------------------------------------------------------------------------------------
Forget past mistakes. Forget failures. Forget everything except what you're
going to do now and do it.
- William Durant, founder of General Motors
------------------------------------------------------------------------------------------------------------------------

Naomi Walker Chief Information Officer
Eldorado Computing, Inc.
[EMAIL PROTECTED] 602-604-3100
-------------------------------------------------------------------------------------------------------------------------
Forget past mistakes. Forget failures. Forget everything except what you're
going to do now and do it.
- William Durant, founder of General Motors
------------------------------------------------------------------------------------------------------------------------


-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly



---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Reply via email to