pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Noah Silverman <noah@allresearch.com>
To: pgsql-performance@postgresql.org
Subject: Re: Multiple databases one directory
Date: Fri, 24 Jan 2003 15:22:28 -0800
Message-ID: <200301241522.28521.josh@agliodbs.com> (raw)
In-Reply-To: <BAD36AF8-2FEC-11D7-A3A3-000393AA8F3C@allresearch.com>
References: <BAD36AF8-2FEC-11D7-A3A3-000393AA8F3C@allresearch.com>


Noah,

> Would there be an advantage to putting each of the two databases into a 
> separate directory and starting two instances of postgres?  Is it 
> better to just lump everything together.

You can use the WITH LOCATION option in CREATE DATABASE to put the two 
databases into seperate directories *without* running two instances of 
postgres.

For that matter, the databases each have their own directories, by OID number.

Of course, this only helps you if the seperate directories are on seperate 
disks/arrays/channels.  If everying is on the same disk or array, don't 
bother.

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




view thread (4+ messages)  latest in thread

Message-ID: <200301241522.28521.josh@agliodbs.com>
Permalink:  ../200301241522.28521.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200301241522.28521.josh@agliodbs.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-performance@postgresql.org
  Cc: josh@agliodbs.com, noah@allresearch.com
  Subject: Re: Multiple databases one directory
  In-Reply-To: <200301241522.28521.josh@agliodbs.com>
  References: <BAD36AF8-2FEC-11D7-A3A3-000393AA8F3C@allresearch.com> <200301241522.28521.josh@agliodbs.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