pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Kiger <kris@musicrebellion.com>
To: pgsql-admin@postgresql.org
Subject: Re: please please please PLEASE help!
Date: Thu, 29 Jul 2004 10:16:49 -0500
Message-ID: <410914E1.3000808@musicrebellion.com> (raw)
References: <4001DEAF7DF9BD498B58B45051FBEA6506D9F7@25exch1.vicorpower.vicr.com>

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

>Hi,
>
>I've asked this question a couple of times before on this forum but no 
>one seems to be nice enough to point me to the right direction or help 
>me out with any information, if possible. Please help me out with this 
>because this is a very serious issue for me and I need to learn more 
>about this. And here it is again:
>
>I've been running postgres on my server for over a year now and the 
>tables have become huge. I have 3 tables that have data over 10GB each 
>and these tables are read very very frequently. In fact, heavy searches 
>on these tables are expected every 2 to 3 minutes. This unfortunately 
>gives a very poor response time to the end user and so I'm looking at 
>other alternatives now.
>
>Currently, the postgresql installation is on a single disk and so all 
>the tables have their data read from a single disk. Searching on 
>different tables by multiple users at the same time results in very slow 
>searches, as it's mainly dependant on the spindle speed. I recently 
>gained access to another server which has 3 SCSI disks. I know there is 
>a way to mirror the tables across the three different disks but I'm not 
>sure if it's as easy as symlinking the files (WAL files only?) across. 
>Can anyone please tell me what to do here and how to harness the power 
>of the three SCSI drives that I have. Which files in the data directory 
>need to be moved? Is this safe? Can backups etc be easily done? Any 
>information will be greatly appreciated. Thank you,
>
>
>Steve
>
>  
>





view thread (9+ messages)  latest in thread

Message-ID: <410914E1.3000808@musicrebellion.com>
Permalink:  ../410914E1.3000808@musicrebellion.com/
Also on:    postgresql.org/message-id/410914E1.3000808@musicrebellion.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: kris@musicrebellion.com
  Subject: Re: please please please PLEASE help!
  In-Reply-To: <410914E1.3000808@musicrebellion.com>
  References: <4001DEAF7DF9BD498B58B45051FBEA6506D9F7@25exch1.vicorpower.vicr.com> <410914E1.3000808@musicrebellion.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