Database Design and Normalization: Key Concepts and Forms

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

1/21

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

22 Terms

1
New cards

Database design

Is the process of defining the structure, relationships, and constraints of data to support efficient storage and retrieval.

2
New cards

Requirement Analysis

Understanding what data needs to be stored and how it will be used.

3
New cards

Conceptual Design

Creating high-level models (like ER diagrams) to visualize entities and relationships.

4
New cards

Local Design

Translating ER models into tables, keys, and constraints.

5
New cards

Normalization

Is the systematic process of organizing data in a database to reduce redundancy and ensure data integrity.

6
New cards

Physical Analysis

Deciding how data is physically stored and indexed for performance.

7
New cards

Data Redundancy

Same data repeated unnecessarily.

8
New cards

Update Anomalies

Inconsistent data after updates.

9
New cards

Insertion Anomalies

Inability to add data without other unnecessary data.

10
New cards

Deletion Anomalies

Deleting data causes loss of unrelated data.

11
New cards

1NF (First Normal Form)

Goal: Ensures that the table structure is tabular and atomic.

12
New cards

Rule of 1NF

Each column should contain only atomic values, and each record must be unique.

13
New cards

Key Points of 1NF

No Repeating groups or arrays; Each field contains only a single value; The table must have a primary key.

14
New cards

Example of 1NF

If a table has a column 'Phone Numbers' with multiple numbers separated by commas, it violates 1NF.

15
New cards

2NF (Second Normal Form)

Goal: Remove partial dependency of non-key attributes on a part of a composite key.

16
New cards

Rule of 2NF

It should be already in 1NF and every non-key attribute must depend on the entire primary key.

17
New cards

Key Points of 2NF

Applies only when the primary key is composite; No partial dependencies allowed.

18
New cards

Example of 2NF

If a table has a composite primary key (A,B) and a column depends only on A, that column violates 2NF.

19
New cards

3NF (Third Normal Form)

Goal: Removes transitive dependencies.

20
New cards

Rule of 3NF

It should be already in 2NF, and all non-key attributes must depend directly on the primary key.

21
New cards

Key Points of 3NF

No transitive dependency; Non-key attributes cannot depend on other non-key attributes.

22
New cards

Example of 3NF

If you have a column 'City' and another column 'ZipCode', and 'ZipCode' depends on 'City', this is a transitive dependency.