Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: when to use multiple databases

Re: when to use multiple databases

From: Paul <paul_at_test.com>
Date: Sun, 04 Apr 2004 15:15:14 +0100
Message-ID: <WJUbc.27352$h44.3729180@stones.force9.net>


Well I guess in theory the entire world only needs a single database.

Of course in practice this isn't done, but I think I'm right in saying this is for physical reasons. Namely the problems of finding a DBMS to run it on. Also the problems of the single namespace for tables. You'd end up encoding a kind of hierarchical naming convention in the table names: CountyA_CompanyB_DeptC_Sales or whatever. Not to mention the political problem of who controls access etc.

It does raise the question: does the "database" structure serve any theoretical purpose? Or could we just have a "Universe" that contains tables, etc.?

Going the other way, might it be useful to have databases grouped together? But then you're going down the road of hierarchies which aren't nice for first-order logic.

> The DBMS I'm using (Postgresql) doesn't allow cross-database queries,

Speaking more practically now, I think this is your deciding factor: use a single database.

> When is it wise/practical to use multiple databases if all those
> databases have the same schema?

Speaking theoretically I'd say never. But there may be physical reasons for it.

Paul. Received on Sun Apr 04 2004 - 09:15:14 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US