pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Frampton <frampton@LinuxNinja.com>
To: pgsql-admin@postgresql.org
Subject: Remote database questions (NFS shared access, RServ)
Date: Fri, 5 Oct 2001 03:50:12 -0400 (EDT)
Message-ID: <Pine.LNX.4.33.0110050342570.16243-100000@astro.phpwebhosting.com> (raw)
In-Reply-To: <fc.000f567200ea09e3000f567200ea09e3.ea0a2e@fc.emc.com.ph>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello:

I am constructing a billing system using PostgreSQL, ODBC, and C++.  I
have a primary database set up on a beefy server which is fed 24/7 by a
transaction feeder, and is also used for processing the billing.

I have a 2nd server which is being used as a hot backup server, which is
also being fed by the transaction feeder.  However, billing processing
does not run through the feeder, so I find myself doing a daily dump on
the appropriate tables on the production server, deleting the old data
from the backup, and importing with copy from.  Needless to say, RServ
would be a better solution for this.  I'm not sure how I would set up
RServ to access a remote database, however.  Is this possible?

Also, I would like to provide the ability for users to look up their
billing data via a CGI interface, which would perform queries to yet
another server, to be set up for R/O access only (for performance, and
security).  I was thinking of using RServ for this purpose as well, but an
even better solution seems to be to run my production (or backup mirror)
from a NetApp over Gb NFS so there's no issues with replication.  Is it
possible, safe, and advisable to share a PostgreSQL database file via NFS,
as long as non-masters are only accessing it R/O?

Thank you in advance for your advice.

- ---------------< LINUX: The choice of a GNU generation. >-------------
Steve Frampton   <frampton@LinuxNinja.com>   http://www.LinuxNinja.com
GNU Privacy Guard ID: D055EBC5  (see http://www.gnupg.org for details)
GNU-PG Fingerprint: EEFB F03D 29B6 07E8 AF73  EF6A 9A72 F1F5 D055 EBC5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7vWY3mnLx9dBV68URAnQ0AJ92iZAsLkwcmtq8AzOK9NVoiZZT2gCeMHEz
3CZfmNcKahm67S6gfNtWX2k=
=JVfy
-----END PGP SIGNATURE-----




view thread (4+ messages)  latest in thread

Message-ID: <Pine.LNX.4.33.0110050342570.16243-100000@astro.phpwebhosting.com>
Permalink:  ../Pine.LNX.4.33.0110050342570.16243-100000@astro.phpwebhosting.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.33.0110050342570.16243-100000@astro.phpwebhosting.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: frampton@LinuxNinja.com
  Subject: Re: Remote database questions (NFS shared access, RServ)
  In-Reply-To: <Pine.LNX.4.33.0110050342570.16243-100000@astro.phpwebhosting.com>
  References: <fc.000f567200ea09e3000f567200ea09e3.ea0a2e@fc.emc.com.ph> <Pine.LNX.4.33.0110050342570.16243-100000@astro.phpwebhosting.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