pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Albretch Mueller <lbrtchx@gmail.com>
To: pgsql-admin@postgresql.org
Subject: separating PG binaries into a ro mounted partition
Date: Sat, 29 Dec 2007 21:40:04 -0500
Message-ID: <9ef66fac0712291840k5174fd7bp3558c0944eecd64a@mail.gmail.com> (raw)

 Hi,
~
 I would like to separate all PG binaries from the created data for
tables, indexes (which could be written and updated to) and also from
the log files created by PG. Idealy I would like to  be able to reset
those directories at run-time through environment variables and even
run PG from a CD-ROM
~
 So I will need to include those a-la {$DATA_DIR} in conf files and
previously set them in an initial script
~
 I know I will have to install PG from source, but I guess there is a
lot more I don't know about the installation procedures found in the
/postgresql-8.2.5/INSTALL notes, my ./configure stat should be like
this:
~

PG_INSTALL_DIR=<>
RM_DIR=<>

./configure
--prefix=$PG_INSTALL_DIR
--without-readline
--without-docdir
--mandir=$RM_DIR

rm $RM_DIR
~
 I am planning to use the read-only mount feature and the append-only
attributes of the ext3 file system under Linux
~
 Which other conf files will I have to tinker with?
~
 Are there any best practices using these ideas for the installation of PG?
~
 Thanks
 lbrtchx



view thread (4+ messages)  latest in thread

Message-ID: <9ef66fac0712291840k5174fd7bp3558c0944eecd64a@mail.gmail.com>
Permalink:  ../9ef66fac0712291840k5174fd7bp3558c0944eecd64a@mail.gmail.com/
Also on:    postgresql.org/message-id/9ef66fac0712291840k5174fd7bp3558c0944eecd64a@mail.gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: lbrtchx@gmail.com
  Subject: Re: separating PG binaries into a ro mounted partition
  In-Reply-To: <9ef66fac0712291840k5174fd7bp3558c0944eecd64a@mail.gmail.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