normlization
normlization
Decomposition of R = (A, B, C)
R1 = (A, B) R2 = (B, C)
Consider a schema:
dept_advisor(s_ID, i_ID, department_name)
With function dependencies:
i_ID → dept_name
s_ID, dept_name → i_ID
In the above design we are forced to repeat the dep
name once for each time an instructor participates i
dept_advisor relationship.
To fix this, we need to decompose dept_advisor
Any decomposition will not include all the attributes
s_ID, dept_name → i_ID
Thus, the composition NOT be dependency preserv
• inst_phone:
Additional rules:
• Union rule: If α → β holds and α → γ holds, th
γ holds.
• Decomposition rule: If α → β γ holds, then α
holds and α → γ holds.
• Pseudotransitivity rule:If α → β holds and γ
holds, then α γ → δ holds.
The above rules can be inferred from Armstrong’s
result := α;
while (changes to result) do
for each β → γ in F do
begin
if β ⊆ result then result := result ∪
end