I am all for normalization and referencial integrety, but
most of the 'more professional' places i have worked for
seem to think they are bad things (and joining tables by
email addresses is a 'good' thing).
If the database will remain small, then choosing not to
normalize for a perfomance gain smells like false
optimization to me.
When i worked at a very large IT center for a nameless
accounting firm, i noticed that NONE of their tables were
normalized and none had any referencial integrety. They
claimed it spead up searches - i claimed it slowed down
code production (hey - they also claimed finding child
nodes in their org chart was best accomplished by using
the LIKE operator *shudder*).
And as for the the continents . . . well, what if you want
a list of available continents? You really should put them
in their own table (SELECT DISCTINCT(CONTINENT) FROM COUNTRY
is just plain silly).
But i am a big fan of normalization, other opinions may
differ.
Jeff
R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.