02 Normalization
02 Normalization
02 Normalization
• Although rare, these cases are managed by join dependency and fifth
normal form (5NF).
Data Lists
ColA ColC
Vertical Split
Table_h1 Table_h2
ColA ColB ColC ColA ColB ColC
Horizontal split
Information Systems Department 56
Splitting Tables: Horizontal splitting
• Breaks a table into multiple tables based upon common column
values. Example: Campus specific queries.
• GOAL
• Spreading rows for exploiting parallelism.
• Grouping data to avoid unnecessary query load in WHERE clause.
normalized
1 M
Tx_ID Sale_ID Item_ID Item_Qty Sale_Rs Detail
Table_2 Table_2
ColA ColC ColD … ColZ ColA ColC ColD … ColZ
After De-normalization:
Total space used = (60 + 40 – 10) x 20 = 1.8 GB
Net result is 12.5% additional space required in raw data table size for
the database.
Bottom Line: Other than 0.2 GB additional space, also keep the 0.4
GB master table.
Dramatic cancellation of
airline reservations after
9/11, resulting in “hot
Processors spot”
P1 P2 P3 P4