pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: scott.marlowe <scott.marlowe@ihs.com>
To: Daniel Seichter <daniel@dseichter.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Advantages and disadvantages of more than one dbserver
Date: Mon, 7 Jul 2003 11:03:24 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0307071059250.4451-100000@css120.ihs.com> (raw)
In-Reply-To: <be373j$91t$1@main.gmane.org>

On Fri, 4 Jul 2003, Daniel Seichter wrote:

> Hello Sam and Scott
> > We'll be looking at more performance boosts once the system is mature.
> > We already have the DB on a dedicated drive, on a dedicated controller.
> > Moving to a RAID 1 config with another 120GB drive would be good. The DB
> > on disk currently takes up about 35GB with only 1 quarters data, but
> > growth with longer timespans should be minimal as the DB is very well
> > normalised. RAID 5 not an option in the current box, as there are not
> > enough bays in the (crappy RM desktop) case, and we'd have to use
> > software RAID or buy a more epensive controller, and probably move to
> > SCSI, which would be expensive enough to justify buying a small
> > dedicated box instead, which would be better in many ways. When ones
> > workstation is also supposed to be a high-availability server, certain
> > things become difficult.
> Is there any knowned rate in percent, how much faster a database will be if
> I would put 1GB instead of 512MB into my server?
> What RAID do you prefer? A 'simple' RAID1 should be enough or do you prefer
> RAID5 or what else?

Well, it really depends on the size of your data set.  If you've got a 100 
Meg database, then going from 512Meg to 1Gig is likely a waste.  As long 
as your dataset is larger than how much your kernel can cache given the 
current memory size, then you can see a performance gain from more memory.

RAID-1 versus RAID-5

Generally RAID-1 is faster, especially for a smaller number of concurrent 
users.  As your number of concurrent processes rise, you can look at using 
something like RAID 1+0 / 0+1 to increase the number of platters, or 
RAID5.  While 1+0 / 0+1 will usually be faster, they will provide less 
storage per disk used, whereas RAID5 will provide better economy (n-1 
storage) but slightly lower write performance than many RAID1 or 1+0 
setups.

RAID5 will, however, provide very good read performance under parallel 
load, so for data warehouses or mostly read sites, RAID5 is a good choice.  
For heavy transactional load look at RAID1 or 1+0.




view thread (10+ messages)

Message-ID: <Pine.LNX.4.33.0307071059250.4451-100000@css120.ihs.com>
Permalink:  ../Pine.LNX.4.33.0307071059250.4451-100000@css120.ihs.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.33.0307071059250.4451-100000@css120.ihs.com

 · 

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-admin@postgresql.org
  Cc: scott.marlowe@ihs.com, daniel@dseichter.de
  Subject: Re: Advantages and disadvantages of more than one dbserver
  In-Reply-To: <Pine.LNX.4.33.0307071059250.4451-100000@css120.ihs.com>
  References: <be373j$91t$1@main.gmane.org> <Pine.LNX.4.33.0307071059250.4451-100000@css120.ihs.com>

* 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