Re: Tablespaces on a raid configuration - Mailing list pgsql-performance

From Aidan Van Dyk
Subject Re: Tablespaces on a raid configuration
Date
Msg-id CAC_2qU-DrOZSV3gVfZnqdVQ3TWo-pbD3SuCYKessNHaWs0LVKg@mail.gmail.com
Whole thread Raw
In response to Re: Tablespaces on a raid configuration  (Tomas Vondra <tv@fuzzy.cz>)
List pgsql-performance
On Fri, Mar 30, 2012 at 9:32 PM, Tomas Vondra <tv@fuzzy.cz> wrote:

> And it's not just about fsync operations - WAL is written in sequential
> manner. By placing it on the same device as data files you're
> effectively forcing it to be written randomly, because the the database
> has to write a WAL record, seeks somewhere else to read something, etc.

Or, if you put WAL on a journalled FS, even if it's on dedicated spindles ;-)

a.
--
Aidan Van Dyk                                             Create like a god,
aidan@highrise.ca                                       command like a king,
http://www.highrise.ca/                                   work like a slave.

pgsql-performance by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Tablespaces on a raid configuration
Next
From: Bob Lunney
Date:
Subject: Re: database slowdown while a lot of inserts occur