Re: New database or New Schema?

From: David Fetter <david(at)fetter(dot)org>
To: Eric Comeau <ecomeau(at)signiant(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: New database or New Schema?
Date: 2009-08-21 17:02:59
Message-ID: 20090821170259.GA6792@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Aug 21, 2009 at 12:16:45PM -0400, Eric Comeau wrote:
> In the next release of our software the developers are moving to
> JBoss and have introduced the use of JBoss Messaging. They want to
> change from using the built-in hsqldb to using our PostgreSQL
> database.
>
> What is the best approach, create a new database or new schema
> with-in our current PostgreSQL database?
>
> I'm leaning toward creating a new schema as we already have built-in
> procedures to backup and restore the application database.

It's difficult to tell from what you've described. If you were even
vaguely contemplating queries that touched both that database and
others you already have, it becomes much easier: use a schema.

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2009-08-21 17:13:17 Re: join from array or cursor
Previous Message Martin Gainty 2009-08-21 16:54:38 Re: Out of memory on pg_dump