Skip site navigation (1) Skip section navigation (2)

separating PG binaries into a ro mounted partition

From: "Albretch Mueller" <lbrtchx(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: separating PG binaries into a ro mounted partition
Date: 2007-12-30 02:40:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
 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



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?


pgsql-admin by date

Next:From: Phillip SmithDate: 2007-12-30 05:41:57
Subject: Re: separating PG binaries into a ro mounted partition
Previous:From: Matthew T. O'ConnorDate: 2007-12-29 22:53:55
Subject: Apache Logging to PostgreSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group