Rules of Thumbs and Tips For Normalization
Rules of Thumbs and Tips For Normalization
a)
(different) boxes.
b) Transitive FD: A non-key
attribute (not the PK, not part of
the composite key, but totally
non-key attribute) determines
other attribute(s). In graphical
schema, this is when theres an
incoming and an outgoing
arrow into and from the
same box.
8. Decomposition does not drop
attributes: every attribute must
find its home table
somewhere.
9. Decomposition does not drop a
FD either: every FD must appear as
a relation/table FDs wont disappear
or emerge from nowhere.
10.If there is a FD, then there must be
an entity or relationship in the ERD;
and vice versa.
11.Identify FKs: Those who are not key
(or part of a composite key) in the big
relation, and later become key in the
independent relations. In the big
relation, these attributes either have
an incoming and an outgoing arrow
(transitive FD), or are part of a
Ye Jeff Zhang, CSU-Northridge, 2011-2012
composite key.
12.A non-key attribute will NEVER
appear in two relations/tables.
(FK is non-key, but it is the PK of
another table so its not always
non-key attribute).
13.Two tables will NOT point to
(reference) each other (because they
cannot be simultaneously on the M
side of a 1:M relationship).
14.One attribute may appear in one
table (very common), two tables (PK
in one and FK in another), three
tables (PK in one, FK in two),
HOWEVER, the SAME TWO attributes
will NOT appear in the SAME TWO
TABLES.
15.(1) ERD, (2) schema with FDs, and (3)
schemas after normalization must all
agree to one another in logic. (3)
must be derived from (2).
16.The intersection relation/table is
advised to be plotted in between the
other two tables that it (the
intersection) references, so that the
references arrows will be easy to plot
17.
18.