Re: synchronous commit in dump

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: synchronous commit in dump
Дата
Msg-id 3073cc9b1002231554p72ba9598id3bacc34b68108ea@mail.gmail.com
обсуждение исходный текст
Ответ на Re: synchronous commit in dump  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: synchronous commit in dump  (Robert Haas <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Issues for named/mixed function notation patch
Следующее
От: Marko Kreen
Дата:
Сообщение: Re: Pika buildfarm member failure on pgcrypto/test sha2