これを BCNF に分割する際に問題があります。
Relation: R[A E P M N S T L]
FD's:
A -> EM,
A -> L,
M -> ST,
M -> N,
S -> T,
E -> P,
P -> E,
L -> A
これは私の過去の試験の 1 つにありましたが、その解き方がよくわかりません。
私は、私たちのコースの文献を書いた女性 (Jennifer Widom) から coursera で次のことを学びました。
-------------- BCNF ALGORITHM ------------
1. Take a FD that violates BCNF.
2. Decompose the FD to two other relations
3. First relation: The whole FD
4. Second relation: The rest of the Relation + the left hand side of the chosen FD
5. Iterate until all the new relations have key on its left hand side
-------------- BCNF ALGORITHM ------------
And I also tried another one that is basically the same, but written in a different way:
X->Y: R1({X}+), R2(R - {X}+ ; X) (Relation minus {X}+ (XY in this case), plus X.
これまでのところ、私はここにいます: 明らかに、A が重要なので、その FD は既に BCNF にあります。質問は、おそらく冗長 FD を消去できますか? もしそうなら、経験則は何ですか?
R1(MST) <-- BCNF.
R2(A E P M N L)
R3()
そしてどこへ行けばいいのかわからない。