pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve <steve@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: please please please PLEASE help!
Date: Fri, 30 Jul 2004 10:18:03 +1000
Message-ID: <cec45t$19e9$1@news.hub.org> (raw)
In-Reply-To: <410914E1.3000808@musicrebellion.com>
References: <4001DEAF7DF9BD498B58B45051FBEA6506D9F7@25exch1.vicorpower.vicr.com>
	<410914E1.3000808@musicrebellion.com>



Kris Kiger wrote:
> Steve,
> 
>    Are the three SCSI drives raided?  If so, I would move the operating 
> database to that machine.  From what I understand it can be a real 
> hassle to setup/maintain sym-linked tables.  If you don't have the 
> option to move the database, I would explore one of these two routes:
>    Route one is replication.  Slony1 was just released to the open 
> source community.  Replicate the data to the new machine, then 
> distribute the database reads between the master and the slave.     
> Route two is symlink database logs/txlogs/etc to the new machine. It 
> takes extra write needs off of your main machine.  Not as effective as 
> route 1, I would say, but it would definately lessen the load.
> 
> Kris
> 

Thanks for replying Kris. Yes, the SCSI drives are raided. I believe in 
that case I don't really need to do anything other than moving the 
database to that machine? I think the drives are striped every 12K or 
so, but I'm not sure. Moving it to the new machine has made it a lot 
faster than before. It has around 2GB RAM and is a dual processor 3.0 
Ghz Intel xeon. I've also 'chattr -R +A /path/to/data/dir' the database 
and I think it has made a slight difference. I'll test it a bit more and 
see if I can do something else to improve the speed.

Steve




view thread (9+ messages)  latest in thread

Message-ID: <cec45t$19e9$1@news.hub.org>
Permalink:  ../cec45t$19e9$1@news.hub.org/
Also on:    postgresql.org/message-id/cec45t$19e9$1@news.hub.org

 · 

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: steve@hotmail.com
  Subject: Re: please please please PLEASE help!
  In-Reply-To: <cec45t$19e9$1@news.hub.org>
  References: <4001DEAF7DF9BD498B58B45051FBEA6506D9F7@25exch1.vicorpower.vicr.com> <410914E1.3000808@musicrebellion.com> <cec45t$19e9$1@news.hub.org>

* 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