Re: Why does splitting $PGDATA and xlog yield a performance benefit? - Mailing list pgsql-general

From Andomar
Subject Re: Why does splitting $PGDATA and xlog yield a performance benefit?
Date
Msg-id 55DCA2F5.8090109@aule.net
Whole thread Raw
In response to Why does splitting $PGDATA and xlog yield a performance benefit?  (David Kerr <dmk@mr-paradox.net>)
Responses Re: Why does splitting $PGDATA and xlog yield a performance benefit?
List pgsql-general
> However, I know from experience that's not entirely true, (although it's not always easy to measure all aspects of
yourI/O bandwith). 
>
> Am I missing something?
>
Two things I can think of:

Transaction writes are entirely sequential.  If you have disks assigned
for just this purpose, then the heads will always be in the right spot,
and the writes go through more quickly.

A database server process waits until the transaction logs are written
and then returns control to the client. The data writes can be done in
the background while the client goes on to do other things.  Splitting
up data and logs mean that there is less chance the disk controller will
cause data writes to interfere with log files.

Kind regards,
Andomar


pgsql-general by date:

Previous
From: David Kerr
Date:
Subject: Why does splitting $PGDATA and xlog yield a performance benefit?
Next
From: Bill Moran
Date:
Subject: Re: Why does splitting $PGDATA and xlog yield a performance benefit?