Canonical Cover in DBMS

Before you go through this article, make sure that you have gone through the previous article on Functional Dependency in DBMS.

Characteristics-

Need-

Steps To Find Canonical Cover-

Step-01:

Write the given set of functional dependencies in such a way that each functional dependency contains exactly one attribute on its right side.

Example-

The functional dependency X → YZ will be written as-

Step-02:

Then following two cases are possible-

Case-01: Results Come Out to be Same-

NOTE-

Case-01: Results Come Out to be Different-

If results come out to be different,

Step-03:

Then following two cases are possible-

Case-01: No-

Case-01: Yes-

After this step is complete, the set obtained is the canonical cover.

PRACTICE PROBLEM BASED ON FINDING CANONICAL COVER-

Problem-

The following functional dependencies hold true for the relational scheme R ( W , X , Y , Z ) –

Write the irreducible equivalent for this set of functional dependencies.

Solution-

Step-01:

Write all the functional dependencies such that each contains exactly one attribute on its right side-

Step-02:

Check the essentiality of each functional dependency one by one.

For X → W:

For WZ → X:

Eliminating WZ → X, our set of functional dependencies reduces to-

Now, we will consider this reduced set in further checks.

For WZ → Y:

For Y → W:

Eliminating Y → W, our set of functional dependencies reduces to-

For Y → X:

For Y → Z:

From here, our essential functional dependencies are-

Step-03:

Finally, the canonical cover is-

Canonical Cover

Get more notes and other study material of Database Management System (DBMS).

Watch video lectures by visiting our YouTube channel LearnVidFun.

Canonical Cover in DBMS

Article Name Canonical Cover in DBMS Description

A canonical cover also called as irreducible set is a simplified and reduced version of the given set of functional dependencies whose closure is exactly same as that of the closure of given set of functional dependencies.