Re: Disable WAL completely

From: Matthew <matthew(at)flymine(dot)org>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Disable WAL completely
Date: 2008-02-19 14:48:55
Message-ID: Pine.LNX.4.64.0802191444330.20402@aragorn.flymine.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Cousin Marc 2008-02-19 15:27:58 strange plan choice
Previous Message Peter Koczan 2008-02-18 21:44:40 Re: Anyone using a SAN?