Presentation is loading. Please wait.

Presentation is loading. Please wait.

Postgresql East - 2010 Philadelphia, PA Databases – A Historical Perspective.

Similar presentations


Presentation on theme: "Postgresql East - 2010 Philadelphia, PA Databases – A Historical Perspective."— Presentation transcript:

1 Postgresql East - 2010 Philadelphia, PA Databases – A Historical Perspective

2 Part Two Why be normal? Databases – A Historical Perspective

3 The Normal Forms Normalization Workshop Databases – A Historical Perspective

4 Normal Forms The truth, The whole truth, And nothing but the truth. Databases – A Historical Perspective

5 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). Databases – A Historical Perspective

6 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. Databases – A Historical Perspective

7 Third Normal Form: 1. Meet the requirements of both 1NF and 2NF 1NF2NF 2. Remove columns that are not fully dependent upon the primary key.columnsprimary key Databases – A Historical Perspective

8 4 th and 5 th Normal Form – These are data purity abstractions which are not routinely used in production databases. Databases – A Historical Perspective

9 6 th Normal Form – Found only in alien databases. Databases – A Historical Perspective

10 "The key, the whole key, and nothing but the key, so help me Codd." Databases – A Historical Perspective

11 And, a note about data warehousing… De-normalization is a key tenet of data warehousing. Databases – A Historical Perspective

12 BRAINSTORM!!! Databases – A Historical Perspective

13 Questions? Comments? Databases – A Historical Perspective

14 End Of Part Two Databases – A Historical Perspective


Download ppt "Postgresql East - 2010 Philadelphia, PA Databases – A Historical Perspective."

Similar presentations


Ads by Google