Re: Enabling archive_mode without restart

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Enabling archive_mode without restart
Дата
Msg-id 490B33AA.10704@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Enabling archive_mode without restart  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Enabling archive_mode without restart  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Joshua D. Drake wrote:
> Kevin Grittner wrote:
>>>>> "Joshua D. Drake" <jd@commandprompt.com> wrote: 
>>> It certainly makes more sense to do this:
> 
>> archive_mode = off
>> archive_command = '/archive/command/used/during/snapshot/backups'
>>  
>> I could live with diddling the command to control archiving.
>>  
>> It doesn't log anything extra when archive_mode is on?
> 
> Depends on your logging level. I don't know that there is noticeable 
> difference between the two in terms of performance. That said, it is 
> still silly that we have to handle it in such a hacky way. Frankly, it 
> should be a catalog reloption of some sort... "ALTER CATALOG (which 
> doesn't exist) archive_mode TO off" but I digress.

archive_mode = on disables the optimization to skip WAL-logging when 
loading into a new table that was created in the same transaction. 
That's the case that Simon described in the mail that started this thread.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: SQL/MED compatible connection manager
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Enabling archive_mode without restart