SlideServe
Menu
Préférences
© SlideServe · v2026

Canonical Cover & Normal Forms

elyse avatar
7 diapositives · 379 Views · Aug 26, 2014

Canonical Cover & Normal Forms. August 25, 2014. Canonical Cover - 1. Given a relation R with a set of FDs F 4 steps to find a canonical cover for F: Step 1: Decompose all FDs in standard form Replace each FD X → A1A2…Ak in F with X→A1, X→A2, …, X→Ak. Canonical Cover - 2.

Canonical Cover & Normal Forms - slide 1
01 / 7Canonical Cover & Normal Forms
1 / 17

Télécharger la présentation

Canonical Cover & Normal Forms
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Canonical Cover & Normal Forms August 25, 2014

  2. Canonical Cover - 1 • Given a relation R with a set of FDs F • 4 steps to find a canonical cover for F: • Step 1:Decompose all FDs in standard form • Replace each FD X → A1A2…Ak in F with X→A1, X→A2, …, X→Ak

  3. Canonical Cover - 2 • Step 2:Eliminate unnecessary attributes from LHS • For every FD XA in F, check if the closure of a subset of X determines A. If so, remove redundant attribute(s) from X

  4. Canonical Cover - 3 • Step 3:Remove redundant FD(s) • For every FD XA in G • Remove XA from G, and call the result G’ • Compute X+under G’ • If A X+, then XA is redundant. Hence, we remove the FD XA from G (That is, we rename G’ to G)

  5. Canonical Cover - 4 • Step 4:Make LHS of FDs unique • Replace X→A1, X→A2, …, X→Ak with X → A1A2…Ak

  6. BCNF Requirements • We say R w.r.t. F is in BCNF if: • For every FD X  A in F, at least one of the following conditions is true: • A  X, that is, X  A is a trivial FD, OR • X is a super key

  7. 3NF Requirements • We say R w.r.t. F is in 3NF if: • For every FD X  A in F, at least one of the following conditions is true: • A  X, that is, X  A is a trivial FD, OR • Xis asuper key, OR • IfXis not a key, thenAis part of some key of R