The document discusses decomposition using multi-valued dependencies. It provides an example of a university schema where an instructor can be associated with multiple departments, violating BCNF. Multi-valued dependencies do not rule out certain tuples but instead require other related tuples to be present. The document also briefly introduces algorithms for decomposition and previews that the next topic will cover an overview of physical storage media.
The document discusses decomposition using multi-valued dependencies. It provides an example of a university schema where an instructor can be associated with multiple departments, violating BCNF. Multi-valued dependencies do not rule out certain tuples but instead require other related tuples to be present. The document also briefly introduces algorithms for decomposition and previews that the next topic will cover an overview of physical storage media.
The document discusses decomposition using multi-valued dependencies. It provides an example of a university schema where an instructor can be associated with multiple departments, violating BCNF. Multi-valued dependencies do not rule out certain tuples but instead require other related tuples to be present. The document also briefly introduces algorithms for decomposition and previews that the next topic will cover an overview of physical storage media.
21BCT3DA - Discipline Specific Core - RDBMS | ODD 2022-23
21BCT3DA - Discipline Specific Core - RDBMS | ODD 2022-23 Review of Previous Class Topic
• Functional Dependency Theory – Algorithms for
Decomposition
21BCT3DA - Discipline Specific Core - RDBMS | ODD 2022-23
Topic Outcome
• Decomposition using Multi valued
Dependencies
21BCT3DA - Discipline Specific Core - RDBMS | ODD 2022-23
Decomposition using Multi valued Dependencies
Some relation schemas, even though they are in BCNF, do not
seem to be sufficiently normalized, in the sense that they still suffer from the problem of repetition of information. Consider a variation of the university organization where an instructor may be associated with multiple departments.
The astute reader will recognize this schema as a non-BCNF
schema because of the functional dependency
21BCT3DA - Discipline Specific Core - RDBMS | ODD 2022-23
Decomposition using Multi valued Dependencies
Some relation schemas, even though they are in BCNF, do not
seem to be sufficiently normalized, in the sense that they still suffer from the problem of repetition of information. Consider a variation of the university organization where an instructor may be associated with multiple departments.
The astute reader will recognize this schema as a non-BCNF
schema because of the functional dependency
21BCT3DA - Discipline Specific Core - RDBMS | ODD 2022-23
Multivalued Dependencies Functional dependencies rule out certain tuples from being in a relation. If A → B, then we cannot have two tuples with the same A value but different B values. Multivalued dependencies, on the other hand, do not rule out the existence of certain tuples. Instead, they require that other tuples of a certain form be present in the relation. For this reason, functional dependencies sometimes are referred to as equality-generating dependencies, and multivalued dependencies are referred to as tuple- generating dependencies
21BCT3DA - Discipline Specific Core - RDBMS | ODD 2022-23
Algorithms for Decomposition
Real-world database schemas are much larger than the
examples that fit in the pages of a book.
BCNF Decomposition :
21BCT3DA - Discipline Specific Core - RDBMS | ODD 2022-23
Next topic for Lect. 21
• Overview of Physical Storage Media
21BCT3DA - Discipline Specific Core - RDBMS | ODD 2022-23