Re: nOOB Question.. - Mailing list pgsql-novice

From Josh Berkus
Subject Re: nOOB Question..
Date
Msg-id 200306021023.38263.josh@agliodbs.com
Whole thread Raw
In response to Re: nOOB Question..  (Herbie McDuck <herbie@faams.net>)
List 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

pgsql-novice by date:

Previous
From: Josh Berkus
Date:
Subject: Re: nOOB Question..
Next
From: root
Date:
Subject: locale support ?