NORMALIZATION. What is Normalization  The process of effectively organizing data in a database  Two goals  To eliminate redundant data  Ensure data.

Slides:



Advertisements
Similar presentations
The Relational Model J.G. Zheng May 15 th Introduction Edgar F. Codd, 1970 One sentence to explain relational database model: Data are organized.
Advertisements

CHAPTER OBJECTIVE: NORMALIZATION THE SNOWFLAKE SCHEMA.
Boyce-Codd NF Takahiko Saito Spring 2005 CS 157A.
Normalization What is it?
Topic Database Normalisation S McKeever Advanced Databases 1.
Database Modeling IT Key Ideas, Dynamic Database Systems, 2002 Chapter 8.
Normalization Lite Pepper. Golden Rule Every attribute must depend upon the key, --- > 1NF the whole key, --- > 2NF and nothing but the key. -  3NF and.
Normal Forms By Christopher Archibald October 16 th 2007.
Normalisation Ensuring data integrity in database design 1.
Athabasca University Under Development for COMP 200 Gary Novokowsky
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
Understand Normalization
Designing a Database Unleashing the Power of Relational Database Design.
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
Normalization A337. A337 - Reed Smith2 Structure What is a database? ◦ Tables of information  Rows are referred to as records  Columns are referred.
Lecture 2 ISM - © 2010 Houman Younessi Convener: Houman Younessi Information Systems Spring 2011.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Normalization: A workshop for everybody! Database Normalization: A workshop for everybody! Part 2 Contents copyright Brent Friedman, Released under.
N. J. Taylor Database Management Systems (DBMS) 1.
Chapter 3 The Relational Model Transparencies Last Updated: Pebruari 2011 By M. Arief
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Normalization A technique that organizes data attributes (or fields) such that they are grouped to form stable, flexible and adaptive entities.
RDBMS Concepts/ Session 3 / 1 of 22 Objectives  In this lesson, you will learn to:  Describe data redundancy  Describe the first, second, and third.
Concepts of Database Management, Fifth Edition
Module III: The Normal Forms. Edgar F. Codd first proposed the process of normalization and what came to be known as the 1st normal form. The database.
Normalization (Codd, 1972) Practical Information For Real World Database Design.
Concepts of Relational Databases. Fundamental Concepts Relational data model – A data model representing data in the form of tables Relations – A 2-dimensional.
Database Normalization Lynne Weldon July 17, 2000.
SALINI SUDESH. Primarily a tool to validate and improve a logical design so that it satisfies certain constraints that avoid unnecessary duplication of.
M Taimoor Khan Course Objectives 1) Basic Concepts 2) Tools 3) Database architecture and design 4) Flow of data (DFDs)
Chapter 7 1 Database Principles Data Normalization Primarily a tool to validate and improve a logical design so that it satisfies certain constraints that.
CORE 2: Information systems and Databases NORMALISING DATABASES.
MS Access: Creating Relational Databases Instructor: Vicki Weidler Assistant: Joaquin Obieta.
1 5 Normalization. 2 5 Database Design Give some body of data to be represented in a database, how do we decide on a suitable logical structure for that.
What's a Database A Database Primer Let’s discuss databases n Why they are hard n Why we need them.
11/07/2003Akbar Mokhtarani (LBNL)1 Normalization of Relational Tables Akbar Mokhtarani LBNL (HENPC group) November 7, 2003.
Component 4/Unit 6d Topic IV: Design a simple relational database using data modeling and normalization Description and Information Gathering Data Model.
Normalization Is the gradual and sequential process of efficiently organizing data in a database that follows the rules listed in the previous slide –
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
MIS 301 Information Systems in Organizations Dave Salisbury ( )
CTFS Workshop Shameema Esufali Asian data coordinator and technical resource for the network
Normalisation RELATIONAL DATABASES.  Last week we looked at elements of designing a database and the generation of an ERD  As part of the design and.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
Postgresql East Philadelphia, PA Databases – A Historical Perspective.
Logical Database Design and the Relational Model.
Exploring Microsoft Access Chapter 5 One-to-Many Relationships: Subforms and Multiple Table Queries.
Lecture 4: Logical Database Design and the Relational Model 1.
Southern Methodist University CSE CSE 2337 Introduction to Data Management Chapter 5 Part II.
Normalization ACSC 425 Database Management Systems.
Logical Database Design and Relational Data Model Muhammad Nasir
What Is Normalization  In relational database design, the process of organizing data to minimize redundancy  Usually involves dividing a database into.
SQL Basics Review Reviewing what we’ve learned so far…….
Lecture # 17 Chapter # 10 Normalization Database Systems.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Normalisation FORM RULES 1NF 2NF 3NF. What is normalisation of data? The process of Normalisation organises your database to: Reduce or minimise redundant.
Understanding Data Storage
INLS 623 – Database Normalization
Revised: 2 April 2004 Fred Swartz
Normalization Karolina muszyńska
Database Normalization
Chapter 5: Logical Database Design and the Relational Model
Database Normalization
Normalization Referential Integrity
Relational Database Model
Normalization.
BTEC ICT – Unit 18 With Mr Griffiths.
Presentation transcript:

NORMALIZATION

What is Normalization  The process of effectively organizing data in a database  Two goals  To eliminate redundant data  Ensure data dependencies make sense  Guidelines are called normal forms  There are 1 thru 6  They are guidelines - not cast in concrete

1 st Normal form  Written as 1NF  Eliminates duplicate column from the same table  Creates separate tables for each group of related data  Identifies each row with a unique column or set of columns – Primary Key

2 nd Normal Form  Must meet all first normal form requirements  Removes subsets of dta that apply to multiple rows of a table and puts them in separate tables  Creates relationships between these new tables and their predecessors thru the use of Foreign Keys

3 rd Normal Form  Meets all the requirements of second normal form  Removes columns that are not dependent upon the primary key

4 th Normal Form – Boyce Codd  Meets all the requirements of the 3 rd normal form  Has no multi-valued dependencies

5 th Normal Form  Fifth normal form deals with cases where information can be reconstructed from smaller pieces of information that can be maintained with less redundancy.  Second, third, and fourth normal forms also serve this purpose, but fifth normal form generalizes to cases not covered by the others.

6 th Normal Form  Must be in 5 th normal form  Sixth normal form is intended to decompose relation variables to irreducible components.  Though this may be relatively unimportant for non-temporal relation variables, it can be important when dealing with temporal variables or other interval data.  For instance, if a relation comprises a supplier's name, status, and city, we may also want to add temporal data, such as the time during which these values are, or were, valid (e.g. for historical data) but the three values may vary independently of each other and at different rates.  We may, for instance, wish to trace the history of changes to Status.

Primary Key  The primary key of a table must be unique to identify the record in the table.  It's also possible to have a table with a primary key made up of two or more columns.  This occurs when a single column can't contain enough unique values.  For example, a two column primary key might consist of a "FirstName" and "LastName" column.

Foreign Key  A foreign key is a field (or fields) that points to the primary key of another table.  The purpose of the foreign key is to ensure referential integrity of the data.  Customer table – customer Id is the primary key  In an Orders table – the customer id is the foreign key