pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@qwest.net>
To: Leszek.Dukwicz@brebank.com.pl
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_xlog
Date: Wed, 07 Jul 2004 09:32:17 -0600
Message-ID: <1089214336.14278.10.camel@localhost.localdomain> (raw)
In-Reply-To: <D4D6A8A74DE9F54A8280EA3E7B5496AA0256DB27@WARPOLARISE.brenet.pl>
References: <D4D6A8A74DE9F54A8280EA3E7B5496AA0256DB27@WARPOLARISE.brenet.pl>

On Wed, 2004-07-07 at 04:31, Leszek.Dukwicz@brebank.com.pl wrote:
> Hi,
> 
> Could you please send me an advice  how to configure Postgres database
> 
> With non standard pg_xlog directory location i.e. on other (non db)
> physical disk ???

Easy:

su - postgres
pg_ctl stop
cd $PGDATA
mkdir /mnt/drive2/pg_xlog
cp -p pg_xlog/* /mnt/drive2/pg_xlog/
mv pg_xlog pg_xlog_old
ln -s /mnt/drive2/pg_xlog pg_xlog
pg_ctl start





view thread (10+ messages)  latest in thread

Message-ID: <1089214336.14278.10.camel@localhost.localdomain>
Permalink:  ../1089214336.14278.10.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1089214336.14278.10.camel@localhost.localdomain

 · 

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-admin@postgresql.org
  Cc: smarlowe@qwest.net, Leszek.Dukwicz@brebank.com.pl
  Subject: Re: pg_xlog
  In-Reply-To: <1089214336.14278.10.camel@localhost.localdomain>

* 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