Re: synchronous commit in dump - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: synchronous commit in dump
Date
Msg-id 3073cc9b1002231554p72ba9598id3bacc34b68108ea@mail.gmail.com
Whole thread Raw
In response to Re: synchronous commit in dump  (Magnus Hagander <magnus@hagander.net>)
Responses Re: synchronous commit in dump
List pgsql-hackers
On Tue, Feb 23, 2010 at 4:40 AM, Magnus Hagander <magnus@hagander.net> wrote:
> 2010/2/23 Jaime Casanova <jcasanov@systemguards.com.ec>:
>> Hi,
>>
>> it's safe to set synchrounous_commit to off in a pg_dump generated
>> script? if yes, would this help to the performance of restore a
>> database?
>
> It might help if you're dumping as individual inserts and not COPY,
> but if you're doing that you're not asking for performance in the
> first place.

That isn't necesarily true. Maybe you don't have shell access to the
database server
but just trough pgadmin or something like that...

in that env the copy of the dumps won't work so you need to make the backup with
inserts (by need) and still want some performance

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Issues for named/mixed function notation patch
Next
From: Marko Kreen
Date:
Subject: Re: Pika buildfarm member failure on pgcrypto/test sha2