Re: Disable WAL completely

Поиск
Список
Период
Сортировка
От Matthew
Тема Re: Disable WAL completely
Дата
Msg-id Pine.LNX.4.64.0802191444330.20402@aragorn.flymine.org
обсуждение исходный текст
Ответ на Re: Disable WAL completely  (Tobias Brox <tobias@nordicbet.com>)
Ответы Re: Disable WAL completely  (Andrew Sullivan <ajs@crankycanuck.ca>)
Список pgsql-performance
On Mon, 18 Feb 2008, Tobias Brox wrote:
> We actually have some postgres databases that are read-only, others that
> can be rebuilt by a script or from some old backup, and yet others that
> can be wiped completely without ill effects ... and others where we
> would prefer to keep all the data, but it would be no disaster if we
> lose some.

If there's not much write traffic, the WAL won't be used much anyway.
If you really don't care much about the integrity, then the best option is
probably to put the WAL on ramfs.

Having said that, flash is cheaper than RAM. Why not just get a bigger
flash device? The "too many writes wear it out" argument is mostly not
true nowadays anyway.

Matthew

--
Don't worry!  The world can't end today because it's already tomorrow
in Australia.

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

Предыдущее
От: "Peter Koczan"
Дата:
Сообщение: Re: Anyone using a SAN?
Следующее
От: Cousin Marc
Дата:
Сообщение: strange plan choice