SlideShare a Scribd company logo
Databases – A Historical Perspective




Postgresql East - 2010

         Philadelphia, PA
Databases – A Historical Perspective




        Part Two

    Why be normal?
Databases – A Historical Perspective




  •The Normal Forms
• Normalization Workshop
Databases – A Historical Perspective




       Normal Forms

       The truth,
    The whole truth,
And nothing but the truth.
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).
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.
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.
Databases – A Historical Perspective




    4th and 5th Normal Form –

These are data purity abstractions
 which are not routinely used in
     production databases.
Databases – A Historical Perspective




      6th Normal Form –

Found only in alien databases.
Databases – A Historical Perspective




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




  And, a note about data
     warehousing…

 De-normalization is a key
tenet of data warehousing.
Databases – A Historical Perspective




   BRAINSTORM!!!
Databases – A Historical Perspective




      Questions?
      Comments?
Databases – A Historical Perspective




            End
             Of
            Part
            Two

More Related Content

What's hot

Introduction to pdb
Introduction to pdbIntroduction to pdb
Introduction to pdb
Makarand Bhale
 
Protein data bank
Protein data bankProtein data bank
Protein data bank
Yogesh Joshi
 
Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)
Jargalsaikhan Alyeksandr
 
Sequence file formats
Sequence file formatsSequence file formats
Sequence file formats
Alphonsa Joseph
 
The Key Features Of A Database
The Key Features Of A DatabaseThe Key Features Of A Database
The Key Features Of A Databasestan300
 
Intro To DataBase
Intro To DataBaseIntro To DataBase
Intro To DataBase
DevMix
 
Building a Fault Tolerant Distributed Architecture
Building a Fault Tolerant Distributed ArchitectureBuilding a Fault Tolerant Distributed Architecture
Building a Fault Tolerant Distributed Architecture
SingleStore
 
Gen bank databases
Gen bank databasesGen bank databases
Gen bank databases
Hafiz Muhammad Zeeshan Raza
 
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentalscrystalpullen
 
Best Business Sources
Best Business SourcesBest Business Sources
Best Business Sources
Marcy Phelps
 
Molecular Structures 2009
Molecular Structures 2009Molecular Structures 2009
Molecular Structures 2009lyonja
 
Metadata Provenance
Metadata ProvenanceMetadata Provenance
Metadata Provenance
Kai Eckert
 
On Mining Citations to Primary and Secondary Sources in Historiography
On Mining Citations to Primary and Secondary Sources in HistoriographyOn Mining Citations to Primary and Secondary Sources in Historiography
On Mining Citations to Primary and Secondary Sources in Historiography
Giovanni Colavizza
 
Exploring the library catalog
Exploring the library catalogExploring the library catalog
Exploring the library catalogJenna Rinalducci
 

What's hot (16)

Introduction to pdb
Introduction to pdbIntroduction to pdb
Introduction to pdb
 
Intro databases
Intro databasesIntro databases
Intro databases
 
Protein data bank
Protein data bankProtein data bank
Protein data bank
 
Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)
 
Sequence file formats
Sequence file formatsSequence file formats
Sequence file formats
 
The Key Features Of A Database
The Key Features Of A DatabaseThe Key Features Of A Database
The Key Features Of A Database
 
Intro To DataBase
Intro To DataBaseIntro To DataBase
Intro To DataBase
 
Database intro
Database introDatabase intro
Database intro
 
Building a Fault Tolerant Distributed Architecture
Building a Fault Tolerant Distributed ArchitectureBuilding a Fault Tolerant Distributed Architecture
Building a Fault Tolerant Distributed Architecture
 
Gen bank databases
Gen bank databasesGen bank databases
Gen bank databases
 
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentals
 
Best Business Sources
Best Business SourcesBest Business Sources
Best Business Sources
 
Molecular Structures 2009
Molecular Structures 2009Molecular Structures 2009
Molecular Structures 2009
 
Metadata Provenance
Metadata ProvenanceMetadata Provenance
Metadata Provenance
 
On Mining Citations to Primary and Secondary Sources in Historiography
On Mining Citations to Primary and Secondary Sources in HistoriographyOn Mining Citations to Primary and Secondary Sources in Historiography
On Mining Citations to Primary and Secondary Sources in Historiography
 
Exploring the library catalog
Exploring the library catalogExploring the library catalog
Exploring the library catalog
 

Viewers also liked

10 Social Media Predictions For 2011
10 Social Media Predictions For 201110 Social Media Predictions For 2011
10 Social Media Predictions For 2011
Zach Johnson
 
El diamante de cristal
El diamante de cristalEl diamante de cristal
El diamante de cristalcarojesi
 
Simpycity and Exceptable
Simpycity and ExceptableSimpycity and Exceptable
Simpycity and Exceptable
Command Prompt., Inc
 
ZBiz 2011 Social Media Predictions Revised
ZBiz 2011 Social Media Predictions RevisedZBiz 2011 Social Media Predictions Revised
ZBiz 2011 Social Media Predictions RevisedZach Johnson
 
No sql & dq2 tracer service
No sql & dq2 tracer serviceNo sql & dq2 tracer service
No sql & dq2 tracer service
Zang Donal
 
Rapid Upgrades With Pg_Migrator
Rapid Upgrades With Pg_MigratorRapid Upgrades With Pg_Migrator
Rapid Upgrades With Pg_Migrator
Command Prompt., Inc
 
ZBiz Inc presentation
ZBiz Inc presentationZBiz Inc presentation
ZBiz Inc presentation
Zach Johnson
 
Internet strategieplan Saxion Techniek
Internet strategieplan Saxion TechniekInternet strategieplan Saxion Techniek
Internet strategieplan Saxion Techniek
Wouter Frigge
 
How to address 21st century skills in the classroom
How to address 21st century skills in the classroomHow to address 21st century skills in the classroom
How to address 21st century skills in the classroomtarmendariz1216
 
Mummification
MummificationMummification
Mummification
jackiequinton
 
1301 구글 문서도구 활용(01) 계정생성,문서작성
1301 구글 문서도구 활용(01) 계정생성,문서작성1301 구글 문서도구 활용(01) 계정생성,문서작성
1301 구글 문서도구 활용(01) 계정생성,문서작성
서 창갑
 
Cold water distribution
Cold water distributionCold water distribution
Cold water distribution
ashikin
 
Unwrapping a standard2
Unwrapping a standard2Unwrapping a standard2
Unwrapping a standard2
Mary Heck
 
Mummification
MummificationMummification
Mummification
jackiequinton
 
Cold water supply system & Components
Cold water supply system & ComponentsCold water supply system & Components
Cold water supply system & Components
ashikin
 

Viewers also liked (16)

10 Social Media Predictions For 2011
10 Social Media Predictions For 201110 Social Media Predictions For 2011
10 Social Media Predictions For 2011
 
El diamante de cristal
El diamante de cristalEl diamante de cristal
El diamante de cristal
 
Simpycity and Exceptable
Simpycity and ExceptableSimpycity and Exceptable
Simpycity and Exceptable
 
ZBiz 2011 Social Media Predictions Revised
ZBiz 2011 Social Media Predictions RevisedZBiz 2011 Social Media Predictions Revised
ZBiz 2011 Social Media Predictions Revised
 
No sql & dq2 tracer service
No sql & dq2 tracer serviceNo sql & dq2 tracer service
No sql & dq2 tracer service
 
Rapid Upgrades With Pg_Migrator
Rapid Upgrades With Pg_MigratorRapid Upgrades With Pg_Migrator
Rapid Upgrades With Pg_Migrator
 
ZBiz Inc presentation
ZBiz Inc presentationZBiz Inc presentation
ZBiz Inc presentation
 
Internet strategieplan Saxion Techniek
Internet strategieplan Saxion TechniekInternet strategieplan Saxion Techniek
Internet strategieplan Saxion Techniek
 
Overlaybenchmark
OverlaybenchmarkOverlaybenchmark
Overlaybenchmark
 
How to address 21st century skills in the classroom
How to address 21st century skills in the classroomHow to address 21st century skills in the classroom
How to address 21st century skills in the classroom
 
Mummification
MummificationMummification
Mummification
 
1301 구글 문서도구 활용(01) 계정생성,문서작성
1301 구글 문서도구 활용(01) 계정생성,문서작성1301 구글 문서도구 활용(01) 계정생성,문서작성
1301 구글 문서도구 활용(01) 계정생성,문서작성
 
Cold water distribution
Cold water distributionCold water distribution
Cold water distribution
 
Unwrapping a standard2
Unwrapping a standard2Unwrapping a standard2
Unwrapping a standard2
 
Mummification
MummificationMummification
Mummification
 
Cold water supply system & Components
Cold water supply system & ComponentsCold water supply system & Components
Cold water supply system & Components
 

Similar to Normalization: A Workshop for Everybody Pt. 2

Normalization
NormalizationNormalization
Normalization
Altafsoomro
 
Relational Theory for Budding Einsteins -- LonestarPHP 2016
Relational Theory for Budding Einsteins -- LonestarPHP 2016Relational Theory for Budding Einsteins -- LonestarPHP 2016
Relational Theory for Budding Einsteins -- LonestarPHP 2016
Dave Stokes
 
What's database normalization
What's database normalizationWhat's database normalization
What's database normalization
Harish Gyanani
 
Normalization of database tables
Normalization of database tablesNormalization of database tables
Normalization of database tables
Dhani Ahmad
 
Kumar lav
Kumar lavKumar lav
Kumar lav
kumar Lav
 
Normalization in SQL | Edureka
Normalization in SQL | EdurekaNormalization in SQL | Edureka
Normalization in SQL | Edureka
Edureka!
 
Normalisation - 2nd normal form
Normalisation - 2nd normal formNormalisation - 2nd normal form
Normalisation - 2nd normal formcollege
 
chapter08 - Database fundamentals.pdf
chapter08 - Database fundamentals.pdfchapter08 - Database fundamentals.pdf
chapter08 - Database fundamentals.pdf
satonaka3
 
Feb 2nd Makeup Class
Feb 2nd Makeup ClassFeb 2nd Makeup Class
Feb 2nd Makeup Class
George Saban
 
Relational database design unit(v)
Relational database design unit(v)Relational database design unit(v)
Relational database design unit(v)
PadmapriyaA6
 
Chapter 5 - Normalization of Database Tables.pdf
Chapter 5 - Normalization of Database Tables.pdfChapter 5 - Normalization of Database Tables.pdf
Chapter 5 - Normalization of Database Tables.pdf
JervinCagaananSapidR
 
Normalization
NormalizationNormalization
Normalizationlingesan
 
Normalization
NormalizationNormalization
Normalization
thuvarakan28
 
Normalization in relational database management systems
Normalization in relational database management systemsNormalization in relational database management systems
Normalization in relational database management systems
Preethi T G
 
Advanced Normalization
Advanced NormalizationAdvanced Normalization
Advanced Normalization
Abdullah Khosa
 
Database Management Systems 4 - Normalization
Database Management Systems 4 - NormalizationDatabase Management Systems 4 - Normalization
Database Management Systems 4 - NormalizationNickkisha Farrell
 
Master of Computer Application (MCA) – Semester 4 MC0077
Master of Computer Application (MCA) – Semester 4  MC0077Master of Computer Application (MCA) – Semester 4  MC0077
Master of Computer Application (MCA) – Semester 4 MC0077
Aravind NC
 
Normalization form tutorial
Normalization form tutorialNormalization form tutorial
Normalization form tutorialNikhildas P C
 
Normalization PRESENTATION
Normalization PRESENTATIONNormalization PRESENTATION
Normalization PRESENTATION
bit allahabad
 

Similar to Normalization: A Workshop for Everybody Pt. 2 (20)

Normalization
NormalizationNormalization
Normalization
 
Relational Theory for Budding Einsteins -- LonestarPHP 2016
Relational Theory for Budding Einsteins -- LonestarPHP 2016Relational Theory for Budding Einsteins -- LonestarPHP 2016
Relational Theory for Budding Einsteins -- LonestarPHP 2016
 
What's database normalization
What's database normalizationWhat's database normalization
What's database normalization
 
Normalization of database tables
Normalization of database tablesNormalization of database tables
Normalization of database tables
 
Kumar lav
Kumar lavKumar lav
Kumar lav
 
Normalization in SQL | Edureka
Normalization in SQL | EdurekaNormalization in SQL | Edureka
Normalization in SQL | Edureka
 
Normalisation - 2nd normal form
Normalisation - 2nd normal formNormalisation - 2nd normal form
Normalisation - 2nd normal form
 
chapter08 - Database fundamentals.pdf
chapter08 - Database fundamentals.pdfchapter08 - Database fundamentals.pdf
chapter08 - Database fundamentals.pdf
 
Feb 2nd Makeup Class
Feb 2nd Makeup ClassFeb 2nd Makeup Class
Feb 2nd Makeup Class
 
Relational database design unit(v)
Relational database design unit(v)Relational database design unit(v)
Relational database design unit(v)
 
Chapter 5 - Normalization of Database Tables.pdf
Chapter 5 - Normalization of Database Tables.pdfChapter 5 - Normalization of Database Tables.pdf
Chapter 5 - Normalization of Database Tables.pdf
 
Normalization
NormalizationNormalization
Normalization
 
Exception & Database
Exception & DatabaseException & Database
Exception & Database
 
Normalization
NormalizationNormalization
Normalization
 
Normalization in relational database management systems
Normalization in relational database management systemsNormalization in relational database management systems
Normalization in relational database management systems
 
Advanced Normalization
Advanced NormalizationAdvanced Normalization
Advanced Normalization
 
Database Management Systems 4 - Normalization
Database Management Systems 4 - NormalizationDatabase Management Systems 4 - Normalization
Database Management Systems 4 - Normalization
 
Master of Computer Application (MCA) – Semester 4 MC0077
Master of Computer Application (MCA) – Semester 4  MC0077Master of Computer Application (MCA) – Semester 4  MC0077
Master of Computer Application (MCA) – Semester 4 MC0077
 
Normalization form tutorial
Normalization form tutorialNormalization form tutorial
Normalization form tutorial
 
Normalization PRESENTATION
Normalization PRESENTATIONNormalization PRESENTATION
Normalization PRESENTATION
 

More from Command Prompt., Inc

Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and ExceptableHowdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Command Prompt., Inc
 
Mastering PostgreSQL Administration
Mastering PostgreSQL AdministrationMastering PostgreSQL Administration
Mastering PostgreSQL AdministrationCommand Prompt., Inc
 
Temporal Data
Temporal DataTemporal Data
Temporal Data
Command Prompt., Inc
 
Replication using PostgreSQL Replicator
Replication using PostgreSQL ReplicatorReplication using PostgreSQL Replicator
Replication using PostgreSQL ReplicatorCommand Prompt., Inc
 
Pg migrator
Pg migratorPg migrator
Python utilities for data presentation
Python utilities for data presentationPython utilities for data presentation
Python utilities for data presentation
Command Prompt., Inc
 
PostgreSQL, Extensible to the Nth Degree: Functions, Languages, Types, Rules,...
PostgreSQL, Extensible to the Nth Degree: Functions, Languages, Types, Rules,...PostgreSQL, Extensible to the Nth Degree: Functions, Languages, Types, Rules,...
PostgreSQL, Extensible to the Nth Degree: Functions, Languages, Types, Rules,...
Command Prompt., Inc
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLCommand Prompt., Inc
 
Not Just UNIQUE: Generalized Index Constraints
Not Just UNIQUE: Generalized Index ConstraintsNot Just UNIQUE: Generalized Index Constraints
Not Just UNIQUE: Generalized Index Constraints
Command Prompt., Inc
 
Implementing the Future of PostgreSQL Clustering with Tungsten
Implementing the Future of PostgreSQL Clustering with TungstenImplementing the Future of PostgreSQL Clustering with Tungsten
Implementing the Future of PostgreSQL Clustering with Tungsten
Command Prompt., Inc
 
Elephant Roads: a tour of Postgres forks
Elephant Roads: a tour of Postgres forksElephant Roads: a tour of Postgres forks
Elephant Roads: a tour of Postgres forks
Command Prompt., Inc
 
configuring a warm standby, the easy way
configuring a warm standby, the easy wayconfiguring a warm standby, the easy way
configuring a warm standby, the easy way
Command Prompt., Inc
 
Bucardo
BucardoBucardo
Basic Query Tuning Primer
Basic Query Tuning PrimerBasic Query Tuning Primer
Basic Query Tuning Primer
Command Prompt., Inc
 
A Practical Multi-Tenant Cluster
A Practical Multi-Tenant ClusterA Practical Multi-Tenant Cluster
A Practical Multi-Tenant Cluster
Command Prompt., Inc
 
5 Steps to PostgreSQL Performance
5 Steps to PostgreSQL Performance5 Steps to PostgreSQL Performance
5 Steps to PostgreSQL Performance
Command Prompt., Inc
 
Normalization: A Workshop for Everybody Pt. 1
Normalization: A Workshop for Everybody Pt. 1Normalization: A Workshop for Everybody Pt. 1
Normalization: A Workshop for Everybody Pt. 1
Command Prompt., Inc
 
Integrating PostGIS in Web Applications
Integrating PostGIS in Web ApplicationsIntegrating PostGIS in Web Applications
Integrating PostGIS in Web Applications
Command Prompt., Inc
 

More from Command Prompt., Inc (20)

Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and ExceptableHowdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
 
Backup and-recovery2
Backup and-recovery2Backup and-recovery2
Backup and-recovery2
 
Mastering PostgreSQL Administration
Mastering PostgreSQL AdministrationMastering PostgreSQL Administration
Mastering PostgreSQL Administration
 
Temporal Data
Temporal DataTemporal Data
Temporal Data
 
Replication using PostgreSQL Replicator
Replication using PostgreSQL ReplicatorReplication using PostgreSQL Replicator
Replication using PostgreSQL Replicator
 
Go replicator
Go replicatorGo replicator
Go replicator
 
Pg migrator
Pg migratorPg migrator
Pg migrator
 
Python utilities for data presentation
Python utilities for data presentationPython utilities for data presentation
Python utilities for data presentation
 
PostgreSQL, Extensible to the Nth Degree: Functions, Languages, Types, Rules,...
PostgreSQL, Extensible to the Nth Degree: Functions, Languages, Types, Rules,...PostgreSQL, Extensible to the Nth Degree: Functions, Languages, Types, Rules,...
PostgreSQL, Extensible to the Nth Degree: Functions, Languages, Types, Rules,...
 
pg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQLpg_proctab: Accessing System Stats in PostgreSQL
pg_proctab: Accessing System Stats in PostgreSQL
 
Not Just UNIQUE: Generalized Index Constraints
Not Just UNIQUE: Generalized Index ConstraintsNot Just UNIQUE: Generalized Index Constraints
Not Just UNIQUE: Generalized Index Constraints
 
Implementing the Future of PostgreSQL Clustering with Tungsten
Implementing the Future of PostgreSQL Clustering with TungstenImplementing the Future of PostgreSQL Clustering with Tungsten
Implementing the Future of PostgreSQL Clustering with Tungsten
 
Elephant Roads: a tour of Postgres forks
Elephant Roads: a tour of Postgres forksElephant Roads: a tour of Postgres forks
Elephant Roads: a tour of Postgres forks
 
configuring a warm standby, the easy way
configuring a warm standby, the easy wayconfiguring a warm standby, the easy way
configuring a warm standby, the easy way
 
Bucardo
BucardoBucardo
Bucardo
 
Basic Query Tuning Primer
Basic Query Tuning PrimerBasic Query Tuning Primer
Basic Query Tuning Primer
 
A Practical Multi-Tenant Cluster
A Practical Multi-Tenant ClusterA Practical Multi-Tenant Cluster
A Practical Multi-Tenant Cluster
 
5 Steps to PostgreSQL Performance
5 Steps to PostgreSQL Performance5 Steps to PostgreSQL Performance
5 Steps to PostgreSQL Performance
 
Normalization: A Workshop for Everybody Pt. 1
Normalization: A Workshop for Everybody Pt. 1Normalization: A Workshop for Everybody Pt. 1
Normalization: A Workshop for Everybody Pt. 1
 
Integrating PostGIS in Web Applications
Integrating PostGIS in Web ApplicationsIntegrating PostGIS in Web Applications
Integrating PostGIS in Web Applications
 

Normalization: A Workshop for Everybody Pt. 2

  • 1. Databases – A Historical Perspective Postgresql East - 2010 Philadelphia, PA
  • 2. Databases – A Historical Perspective Part Two Why be normal?
  • 3. Databases – A Historical Perspective •The Normal Forms • Normalization Workshop
  • 4. Databases – A Historical Perspective Normal Forms The truth, The whole truth, And nothing but the truth.
  • 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. 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. 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. Databases – A Historical Perspective 4th and 5th Normal Form – These are data purity abstractions which are not routinely used in production databases.
  • 9. Databases – A Historical Perspective 6th Normal Form – Found only in alien databases.
  • 10. Databases – A Historical Perspective "The key, the whole key, and nothing but the key, so help me Codd."
  • 11. Databases – A Historical Perspective And, a note about data warehousing… De-normalization is a key tenet of data warehousing.
  • 12. Databases – A Historical Perspective BRAINSTORM!!!
  • 13. Databases – A Historical Perspective Questions? Comments?
  • 14. Databases – A Historical Perspective End Of Part Two