pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: slackman@unika.ac.id
Cc: pgsql-admin@postgresql.org
Subject: Re: which is the best
Date: Sun, 16 Apr 2006 21:18:01 -0600
Message-ID: <20060417031801.GA37181@winnie.fuhr.org> (raw)
In-Reply-To: <20060417024259.12090.qmail@mail.unika.ac.id>
References: <20060417024259.12090.qmail@mail.unika.ac.id>

On Mon, Apr 17, 2006 at 09:42:59AM +0700, slackman@unika.ac.id wrote:
> Now I have 3 database A,B,C is working in Interbase v 5.6,
> but Interbas v 5.6 is no longger can hold what the client wants,
> I will conver it in Postgresql, I need your advice which is the
> bertter result: 
> 
> (1):
> unika (schema)
>    |
>    |------ A
>    |------------ B
>    |------------------- C
> 
> (2) create database A, create database B, create database C 

Which way is "better" depends on your access patterns.  PostgreSQL
doesn't support cross-database queries (except via functions like
dblink), so if you need to join tables in one database with tables
in another then you'll probably want make A, B, and C schemas in
the same database.  But if A, B, and C have no relationship with
one another then you might want to isolate them as separate databases.

-- 
Michael Fuhr



view thread (4+ messages)  latest in thread

Message-ID: <20060417031801.GA37181@winnie.fuhr.org>
Permalink:  ../20060417031801.GA37181@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20060417031801.GA37181@winnie.fuhr.org

 · 

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: mike@fuhr.org, slackman@unika.ac.id
  Subject: Re: which is the best
  In-Reply-To: <20060417031801.GA37181@winnie.fuhr.org>
  References: <20060417024259.12090.qmail@mail.unika.ac.id> <20060417031801.GA37181@winnie.fuhr.org>

* 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