Re: nOOB Question..

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Herbie McDuck <herbie(at)faams(dot)net>, Dani Oderbolz <oderbolz(at)ecologic(dot)de>, pgsql-novice(at)postgresql(dot)org
Subject: Re: nOOB Question..
Date: 2003-06-02 17:23:38
Message-ID: 200306021023.38263.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Herbie,

> Well bro, I don't really know who is completely right other than go
> with the Josh POV because of his experience.

Hey, it's not just my opinion. It's Relational Database Theory. Check out
Fabian Pascal's "Practical Issues in Database Design" or C.J. Date's "Intro
to Database Systems".

The idea is that your tables should be a normalized reflection of the actual
data. If your *actual data* is an array (such as a mathmatical matrix) then
definitely store it as an array. If it's child data (such as a list of sales
per item), then store it as a child table.

Taking shortcuts to "improve performance" when you don't even know that you
have a performance problem is foolish.

--
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Paul Makepeace 2003-06-02 22:07:24 [bug?] oddity creating table with uppercase initial
Previous Message Josh Berkus 2003-06-02 17:18:38 Re: nOOB Question..