pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ow Mun Heng <Ow.Mun.Heng@wdc.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: Tomas Vondra <tv@fuzzy.cz>
Cc: Ketema <ketema@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Hardware for PostgreSQL
Date: Thu, 01 Nov 2007 15:46:01 +0800
Message-ID: <1193903161.9148.27.camel@neuromancer.home.net> (raw)
In-Reply-To: <4729783A.2030201@hagander.net>
References: <1193849108.591961.103570@22g2000hsm.googlegroups.com>
	<4728FAA1.7060905@fuzzy.cz>
	<1193889182.7999.71.camel@neuromancer.home.net>
	<4729783A.2030201@hagander.net>


On Thu, 2007-11-01 at 07:54 +0100, Magnus Hagander wrote:
> Ow Mun Heng wrote:
> > On Wed, 2007-10-31 at 22:58 +0100, Tomas Vondra wrote:
> > 
> >> 2) separate the transaction log from the database
> >>
> >>     It's mostly written, and it's the most valuable data you have. And in
> >>     case you use PITR, this is the only thing that really needs to be
> >>     backed up.
> > 
> > My main DB datastore is in a raid1 array and the xlog is still
> > maintained in a single OS drive. Is this considered OK?
> 
> Is your OS not RAIDed? I'd keep everything RAIDed one way or another -
> otherwise you are certain to get downtime if the disk fails.

Nope it's not raided. It's a very low end "server" running on IDE, max 4
drives. 1x80G system and 3x500G Raid1+1 hot spare

> 
> Also, if you don't have a *dedicated* disk for the xlog (putting it on
> the OS disk doesn't make it dedicated), you miss out on most of the
> performance advantage of doing it. The advantage is in that the writes
> will be sequential so the disks don't have to seek, but if you have
> other access on the same disk, that's not true anymore.

As of right now, budget constraints is making me make do with that I've
got/(and it's not a whole lot)

> 
> You're likely better off (performance-wise) putting it on the same disk
> as the database itself if that one has better RAID, for example.

I'm thinking along the lines of since nothing much writes to the OS
Disk, I should(keyword) be safe.

Thanks for the food for thought. Now.. time to find some dough to throw
around. :-)




view thread (19+ messages)  latest in thread

Message-ID: <1193903161.9148.27.camel@neuromancer.home.net>
Permalink:  ../1193903161.9148.27.camel@neuromancer.home.net/
Also on:    postgresql.org/message-id/1193903161.9148.27.camel@neuromancer.home.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: Ow.Mun.Heng@wdc.com, magnus@hagander.net, tv@fuzzy.cz, ketema@gmail.com
  Subject: Re: Hardware for PostgreSQL
  In-Reply-To: <1193903161.9148.27.camel@neuromancer.home.net>

* 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