Chapter 5:Normalization Flashcards
What is normalization and its objectives?
Normalization is the process of organizing a database to reduce redundancy and dependency by dividing large tables into smaller ones and eliminating undesirable characteristics.
What are update anomalies?
Update anomalies occur when a database design causes inconsistencies during insertion, deletion, or modification of data.
What is the difference between 1NF, 2NF, and 3NF?
1NF eliminates multi-valued attributes, 2NF removes partial dependency on a composite key, and 3NF removes transitive dependencies between non-key attributes.
What is functional dependency?
A functional dependency is a relationship where one attribute (or set of attributes) determines the value of another attribute.
What is the difference between full and partial functional dependency?
Full functional dependency occurs when non-key attributes depend on all parts of a composite primary key, while partial dependency occurs when non-key attributes depend only on part of the composite primary key.
What is transitive functional dependency?
Transitive functional dependency occurs when one non-key attribute determines another non-key attribute, which in turn determines a third non-key attribute.
What is denormalization?
Denormalization is the process of intentionally introducing redundancy into a database to improve performance, typically by reducing the number of joins needed in queries.