Re: [GSoC2014] Patch ALTER TABLE ... SET LOGGED

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [GSoC2014] Patch ALTER TABLE ... SET LOGGED
Дата
Msg-id 20140716182542.GA12629@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [GSoC2014] Patch ALTER TABLE ... SET LOGGED  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Ответы Re: [GSoC2014] Patch ALTER TABLE ... SET LOGGED  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Hi,

I quickly looked at this patch and I think there's major missing pieces
around buffer management and wal logging.

a) Currently buffers that are in memory marked as  permanent/non-permanent aren't forced out to disk/pruned from cache,
not even when they're dirty.
 
b) When converting from a unlogged to a logged table the relation needs  to be fsynced.
c) Currently a unlogged table changed into a logged one will be  corrupted on a standby because its contents won't ever
beWAL logged.
 

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: [GSoC2014] Patch ALTER TABLE ... SET LOGGED
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [GSoC2014] Patch ALTER TABLE ... SET LOGGED