Normalization in Relational Database Design

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

flashcard set

Earn XP

Description and Tags

Flashcards about Normalization in Relational Database Design

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

What is Normalization or Schema Refinement?

A technique of organizing the data in a Database to eliminate data redundancy and undesirable characteristics.

2
New cards

What are the two main purposes of Normalization?

Eliminate redundant data and ensure Data dependencies are logically stored.

3
New cards

What are the desirable properties of Decomposition?

Lossless join decomposition and dependency preserving.

4
New cards

What is lossless join decomposition property?

It should be possible to reconstruct the original data.

5
New cards

What is dependency preserving property?

No functional dependency or constraints should be violated.

6
New cards

What is a Normal Form?

A normal form specifies a set of conditions that the relational schema must satisfy in terms of its constraints.

7
New cards

What are the most common normal forms?

1NF, 2NF, 3NF, and BCNF.

8
New cards

What are some additional Normal Forms?

BCNF, Multivalued dependencies and 4NF, Joined dependencies and 5NF, Sixth Normal Form, and DCNF (Domain Key Normal Form).

9
New cards

What are the goals of Normalization?

Decide whether a relation schema R is in good form and, if not, decompose it into a set of relation schemes that are each in good form, with a lossless and preferably dependency-preserving decomposition.

10
New cards

What is First Normal Form (1NF)?

A relational schema R is in first normal form if the domains of all attributes of R are atomic.

11
New cards

What is an atomic Domain?

Domain is atomic if its elements are considered to be indivisible units.

12
New cards

What are the possible redundancy drawbacks of First Normal Form?

Deletion Anomaly, Insertion Anomaly, and Updation Anomaly.

13
New cards

For a Relation R to be in second normal form (2NF), what conditions must it meet?

R should be in 1NF and should not contain any partial dependency.

14
New cards

When is K a super key for relation schema R?

If and only if K → R

15
New cards

When is K a candidate key (minimal super key) for R?

K → R, and for no   K,  → R

16
New cards

Let R be a relational Schema and (X,Y,A) be the attribute sets over R where X: Any candidate key , Y : Any proper subset of X and A : non key attribute then ?

Y->A is a partial dependency

17
New cards

Based on the partial dependancy of of the insdep schema (Where one Instructor works in many departments ) Insdep (ID, name, salary, dept_name, building, budget ). How do you split the relation?

Instructor (ID,name,salary) and department(deptname,building,budget) Inst-Dept(ID,deptname)