pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: david@lang.hm
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Scott Carey <scott@richrelevance.com>
Cc: James Mansion <james@mansionfamily.plus.com>
Cc: Greg Smith <gsmith@gregsmith.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Effects of setting linux block device readahead size
Date: Thu, 11 Sep 2008 15:33:53 -0700 (PDT)
Message-ID: <alpine.DEB.1.10.0809111529120.15169@asgard.lang.hm> (raw)
In-Reply-To: <dcc563d10809111440q414c5285j5bff925fad310b41@mail.gmail.com>
References: <70c01d1d0809092353r4ae687a3ycf3d99d43a5680cf@mail.gmail.com>
	<Pine.GSO.4.64.0809101023520.15181@westnet.com>
	<a1ec7d000809100926w28a4a57dy7c13f2942edc57ff@mail.gmail.com>
	<Pine.GSO.4.64.0809101313070.4714@westnet.com>
	<48C8AACD.5090702@mansionfamily.plus.com>
	<Pine.GSO.4.64.0809110150070.3993@westnet.com>
	<48C97793.2070909@mansionfamily.plus.com>
	<a1ec7d000809111336m8027c74u62c9a3567ee7301f@mail.gmail.com>
	<alpine.DEB.1.10.0809111434240.15169@asgard.lang.hm>
	<dcc563d10809111440q414c5285j5bff925fad310b41@mail.gmail.com>

On Thu, 11 Sep 2008, Scott Marlowe wrote:

> On Thu, Sep 11, 2008 at 3:36 PM,  <david@lang.hm> wrote:
>> by even if it didn't, most modern drives read the entire cylinder into their
>> buffer so any additional requests to the drive will be satisfied from this
>> buffer and not have to wait for the disk itself.
>
> Generally speaking I agree, but I would still make a separate logical
> partition for pg_xlog so that if the OS fills up the /var/log dir or
> something, it doesn't impact the db.

this is a completely different discussion :-)

while I agree with you in theory, in practice I've seen multiple 
partitions cause far more problems than they have prevented (due to the 
partitions ending up not being large enough and having to be resized after 
they fill up, etc) so I tend to go in the direction of a few large 
partitions.

the only reason I do multiple partitions (besides when the hardware or 
performance considerations require it) is when I can identify that there 
is some data that I would not want to touch on a OS upgrade. I try to make 
it so that an OS upgrade can wipe the OS partitions if nessasary.

David Lang




view thread (27+ messages)  latest in thread

Message-ID: <alpine.DEB.1.10.0809111529120.15169@asgard.lang.hm>
Permalink:  ../alpine.DEB.1.10.0809111529120.15169@asgard.lang.hm/
Also on:    postgresql.org/message-id/alpine.DEB.1.10.0809111529120.15169@asgard.lang.hm

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: david@lang.hm, scott.marlowe@gmail.com, scott@richrelevance.com, james@mansionfamily.plus.com, gsmith@gregsmith.com
  Subject: Re: Effects of setting linux block device readahead size
  In-Reply-To: <alpine.DEB.1.10.0809111529120.15169@asgard.lang.hm>
  References: <70c01d1d0809092353r4ae687a3ycf3d99d43a5680cf@mail.gmail.com> <Pine.GSO.4.64.0809101023520.15181@westnet.com> <a1ec7d000809100926w28a4a57dy7c13f2942edc57ff@mail.gmail.com> <Pine.GSO.4.64.0809101313070.4714@westnet.com> <48C8AACD.5090702@mansionfamily.plus.com> <Pine.GSO.4.64.0809110150070.3993@westnet.com> <48C97793.2070909@mansionfamily.plus.com> <a1ec7d000809111336m8027c74u62c9a3567ee7301f@mail.gmail.com> <alpine.DEB.1.10.0809111434240.15169@asgard.lang.hm> <dcc563d10809111440q414c5285j5bff925fad310b41@mail.gmail.com> <alpine.DEB.1.10.0809111529120.15169@asgard.lang.hm>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox