Normalization: A Workshop for Everybody Pt. 2

807 views

Published on

Brent Friedman

- Three hour workshop format, 30 minutes or so on history, trends, quick review of normalization, 45 minutes on a normalization walk-through including everyone, then break into small teams (3-6 ppl) to do a 'normalization challenge' on a real world practical problem

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
807
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Normalization: A Workshop for Everybody Pt. 2

  1. 1. Databases – A Historical Perspective Postgresql East - 2010 Philadelphia, PA
  2. 2. Databases – A Historical Perspective Part Two Why be normal?
  3. 3. Databases – A Historical Perspective •The Normal Forms • Normalization Workshop
  4. 4. Databases – A Historical Perspective Normal Forms The truth, The whole truth, And nothing but the truth.
  5. 5. Databases – A Historical Perspective First Normal Form (1NF) sets the very basic rules for an organized database: 1. Eliminate duplicative columns from the same table. 2. Create separate tables for each group of related data and identify each row with a unique column (the primary key).
  6. 6. Databases – A Historical Perspective Second Normal Form 2NF: 1. Remove subsets of data that apply to multiple rows of a table and place them in separate tables. 2. Create relationships between these new tables and their predecessors through the use of foreign keys.
  7. 7. Databases – A Historical Perspective Third Normal Form: 1. Meet the requirements of both 1NF and 2NF 2. Remove columns that are not fully dependent upon the primary key.
  8. 8. Databases – A Historical Perspective 4th and 5th Normal Form – These are data purity abstractions which are not routinely used in production databases.
  9. 9. Databases – A Historical Perspective 6th Normal Form – Found only in alien databases.
  10. 10. Databases – A Historical Perspective "The key, the whole key, and nothing but the key, so help me Codd."
  11. 11. Databases – A Historical Perspective And, a note about data warehousing… De-normalization is a key tenet of data warehousing.
  12. 12. Databases – A Historical Perspective BRAINSTORM!!!
  13. 13. Databases – A Historical Perspective Questions? Comments?
  14. 14. Databases – A Historical Perspective End Of Part Two

×