pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Pesko <cpesko@organic.com>
To: Brian McCane <bmccane@mccons.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Storage management?????
Date: Thu, 04 Oct 2001 10:11:10 -0700
Message-ID: <4.3.2.7.2.20011004100638.01dc4090@mailhost.organic.com> (raw)
In-Reply-To: <20011004110234.Q39504-100000@fw.mccons.net>
References: <4.3.2.7.2.20011003141919.01db3a20@mailhost.organic.com>

This is great information.  You just wrote the main content of Chapter #11 
for "Storage Management".  Now I understand how to employ some sort of file 
management.  Thanks.

   At 11:14 AM 10/4/01 -0500, Brian McCane wrote:
>On Wed, 3 Oct 2001, Chris Pesko wrote:
>
> > Thank you for responding and here is a follow up question regarding your
> > scalability answer.  Is the database size limited to the size of the one
> > disk it rides on.  Or does the directory volume need to be configured to
> > span multiple disks to get some scalability?
> >
>---------------->8 SNIP 8<------------------
>Chris,
>
>         If you are asking if it is possible for a database to grow from
>one filesystem to another, the answer is currently "NO".  However, as was
>already pointed out, you can put the files anywhere and use symbolic links
>to the files.  I have distributed my largest database across 5 drives on
>2 separate SCSI busses at this point.  I have placed index files on 2
>disks, and table files on 2 others, and the WAL files on another (7.1.2
>unpatched).  The goal has been to reduce disk latency during updates to
>the tables for large multi-table transactions, and it has worked quite
>nicely.  The only real problem has been that I needed to write a script
>that warns me whenever a table grows beyond 1GB.  The new file
>(ie. 64587393.1) is created in $PGDATA and I then move it to whichever
>drive I have the master file (ie. 65487393) on.  I could automate the
>whole thing using the perl script, but this would mean having the script
>automagically do a 'pg_ctl stop', move the file to a pre-defined
>drive, create the link, 'pg_ctl start'.  Since I do this manually during
>low system usage times, and I don't trust the script to work 100% of the
>time, I just do it by hand.
>
>- brian
>
>Wm. Brian McCane                    | Life is full of doors that won't open
>Search http://recall.maxbaud.net/   | when you knock, equally spaced amid 
>those
>Usenet http://freenews.maxbaud.net/ | that open when you don't want them to.
>Auction http://www.sellit-here.com/ | - Roger Zelazny "Blood of Amber"





view thread (5+ messages)

Message-ID: <4.3.2.7.2.20011004100638.01dc4090@mailhost.organic.com>
Permalink:  ../4.3.2.7.2.20011004100638.01dc4090@mailhost.organic.com/
Also on:    postgresql.org/message-id/4.3.2.7.2.20011004100638.01dc4090@mailhost.organic.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: cpesko@organic.com, bmccane@mccons.net
  Subject: Re: Storage management?????
  In-Reply-To: <4.3.2.7.2.20011004100638.01dc4090@mailhost.organic.com>
  References: <4.3.2.7.2.20011003141919.01db3a20@mailhost.organic.com> <4.3.2.7.2.20011004100638.01dc4090@mailhost.organic.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