Conceptual Design Question

From: Bryan Emrys <bryan(dot)emrys(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Conceptual Design Question
Date: 2008-06-10 12:05:24
Message-ID: 200806100505.24491.bryan.emrys@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hello Everyone,

In a text-heavy database, I'm trying to make an initial design decision in the following context.

There is a lot of long text that I could break down into three different categories:
a. Laws
i. Only 1 country per law, many laws
ii. There are multiple types of laws (statutes, regulations, court cases, proposed laws, etc)
iii. Each law will have only one type
iv. Each law may refer to many other laws
b. Treaties
i. 2 countries per treaty
ii. At any one time, there will only be one treaty in force between any two countries
iii. There may be proposed new treaties which will supercede old treaties when finally ratified
c. Commentary
i. Any commentary could refer to one or more laws or treaties
ii. Any commentary may have one or more authors
iii. Any commentary may refer to one or more countries

The conceptual question is what are the trade-offs between having one textual table compared with multiple text tables? Any help on pointing out practical considerations would be appreciated.

Thanks.

Bryan

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Bryan Emrys 2008-06-10 13:04:43 Apologies to the list. Please ignore accidental thread intrusion
Previous Message Patrick Scharrenberg 2008-06-10 11:44:05 Re: returning results from an update for joining other tables