DATA NORMALIZATION

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/17

encourage image

There's no tags or description

Looks like no tags are added yet.

18 Terms

1
New cards

duplication of data

  • the same data is listed in multiple lines of the database


2
New cards

insert anomaly

  • a record about an entity cannot be inserted into the table without first inserting information about another entity


3
New cards

delete anomaly

  • a record cannot be deleted without deleting a record about a related entity


4
New cards

update anomaly

  • cannot update information without changing information in many places


5
New cards

before normalization

  • begin with a list of all the fields that must appear in the database. think of this as 1 BIG TABLE

  • do not include computed fields

  • one place to begin getting this information is from a printed document used by the system

  • additional attributes besides those for the entities described on the document can be added to the database


6
New cards

first normal form

  • separate repeating groups into new tables

  • repeating groups are fields that may be repeated several times for one document or entity

  • create a new table containing the repeating data

  • the primary key of the new table (repeating group) is always a composite key; usually, document number and a field uniquely describing the repeating line like an item number


7
New cards

second normal form

  • remove partial dependencies

  • create separate table with the functionally dependent data and the part of the key on which it depends.

  • tables created at this step will usually contain descriptions of resources

  • contains functional and partial dependencies


8
New cards

functional dependency

  • the value of one attribute in a table is determined entirely by the value of another


9
New cards

partial dependency

  • a type of functional dependency where an attribute is functionally dependent on only part of the primary key (PK must be a composite key)


10
New cards

third normal form

  • remove transitive dependency

  • create a separate table containing the attribute and the fields that are functionally dependent on it.

  • tables created at this step will usually contain descriptions of either resources or agents

  • leep a copy of the key attribute in the original file


11
New cards

transitive dependency

  • a type of functional dependency where attribute is functionally dependent on an attribute other than the primary key

  • thus, its value is only indirectly determined by the primary key


12
New cards

1nf, 2nd, 3nf, bcnf, 4nf, 5nf

  • types of normalization in SQL


13
New cards

1nf

  • this type ensures that each column contains only atomic values

  • eliminates repeating group


14
New cards

2nf

  • this type eliminates partial dependencies


15
New cards

3nf

  • also called thread normal form

  • this eliminates transitive dependencies


16
New cards

bcnf

  • also called boyce-codd normal form

  • this is a strict version of 3NF that addresses additional anomalies (functional dependency)


17
New cards

4nf

  • this deals with multi-values dependencies


18
New cards

5nf

  • this type addresses join dependencies