What Is Normalization  In relational database design, the process of organizing data to minimize redundancy  Usually involves dividing a database into.

Slides:



Advertisements
Similar presentations
Database Design: Normalization J.G. Zheng June 29 th 2005 DB Chapter 4.
Advertisements

Relational Terminology. Normalization A method where data items are grouped together to better accommodate business changes Provides a method for representing.
Normalisation Ensuring data integrity in database design 1.
Accounting 6500 Relational Databases: Accounting Applications Introduction to Normalization.
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
Boyce-Codd Normal Form Kelvin Nishikawa SE157a-03 Fall 2006 Kelvin Nishikawa SE157a-03 Fall 2006.
Normalization of Database Tables
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
1 NORMALISATION. 2 Introduction Overview Objectives Intro. to Subject Why we normalise 1, 2 & 3 NF Normalisation Process Example Summary.
Microsoft Access 2002 By Ian Cole Lecturer in ICT.
Normalization of Database Tables
Project and Data Management Software
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Terms - data,information, file record, table, row, column, transaction, concurrency Concepts - data integrity, data redundancy, Type of databases – single-user,
NORMALIZATION N. HARIKA (CSC).
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Michael F. Price College of Business Chapter 6: Logical database design and the relational model.
File and Database Design SYS364. Today’s Agenda WHTSA DBMS, RDBMS, SQL A place for everything and everything in its place. Entity Relationship Diagrams.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 3 Objectives: Identifying and Eliminating Database.
Lecture 12 Inst: Haya Sammaneh
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
CREATE THE DIFFERENCE Normalisation (special thanks to Janet Francis for this presentation)
SQL Normalization Database Design Lecture 5. Copyright 2006Page 2 SQL Normalization Database Design 1 st Normal Form 1 st Normal Form 2 nd Normal Form.
A Guide to SQL, Eighth Edition Chapter Two Database Design Fundamentals.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Concepts and Terminology Introduction to Database.
Relational databases and third normal form As always click on speaker notes under view when executing to get more information!
Component 4: Introduction to Information and Computer Science Unit 6: Databases and SQL Lecture 4 This material was developed by Oregon Health & Science.
Avoiding Database Anomalies
Normalization A technique that organizes data attributes (or fields) such that they are grouped to form stable, flexible and adaptive entities.
Concepts of Database Management, Fifth Edition
The Relational Model and Normalization R. Nakatsu.
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.
Logical Database Design Relational Model. Logical Database Design Logical database design: process of transforming conceptual data model into a logical.
SALINI SUDESH. Primarily a tool to validate and improve a logical design so that it satisfies certain constraints that avoid unnecessary duplication of.
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.
Normalization Well structured relations and anomalies Normalization First normal form (1NF) Functional dependence Partial functional dependency Second.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
M1G Introduction to Database Development 4. Improving the database design.
Database Design – Lecture 8
Rules of Database Normalization
Component 4/Unit 6d Topic IV: Design a simple relational database using data modeling and normalization Description and Information Gathering Data Model.
Quiz questions. 1 A data structure that is made up of fields and records? Table.
Normalization Example. Database Systems, 8 th Edition 2 Database Tables and Normalization Normalization –Process for evaluating and correcting table structures.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
CTFS Workshop Shameema Esufali Asian data coordinator and technical resource for the network
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
Logical Database Design and the Relational Model.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Normalization Hour1,2 Presented & Modified by Mahmoud Rafeek Alfarra.
IST Database Normalization Todd Bacastow IST 210.
Lecture 4: Logical Database Design and the Relational Model 1.
NormalisationNormalisation Normalization is the technique of organizing data elements into records. Normalization is the technique of organizing data elements.
Week 4 Lecture Part 1 of 3 Normalization of Database Tables Samuel ConnSamuel Conn, Asst. Professor.
5 1 Normalization of Database Tables. 5 2 Database Tables and Normalization Normalization –Process for evaluating and correcting table structures to minimize.
Logical Database Design and Relational Data Model Muhammad Nasir
Lecture 5 Data Model Design Jeffery S. Horsburgh Hydroinformatics Fall 2012 This work was funded by National Science Foundation Grant EPS
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.
Systems Analysis & Design Methods III Classic normalization rules for relational databases III Classic normalization rules for relational databases.
NORMALISATION OF DATABASES. WHAT IS NORMALISATION? Normalisation is used because Databases need to avoid have redundant data, which makes it inefficient.
Normal Forms 1NF – A table that qualifies as a relation is in 1NF. (Back)(Back) 2NF – A relation is in 2NF if all of its nonkey attributes are dependent.
Understanding Data Storage
Revised: 2 April 2004 Fred Swartz
SEEM3430: Information Systems Analysis and Design
Chapter 5: Logical Database Design and the Relational Model
CHAPTER 4: LOGICAL DATABASE DESIGN AND THE RELATIONAL MODEL
Presentation transcript:

What Is Normalization  In relational database design, the process of organizing data to minimize redundancy  Usually involves dividing a database into two or more tables and defining relationships between the tables  The objective is to isolate data so that additions, deletions, and modifications of a field can be made in just one table and then propagated through the rest of the database via the defined relationships.

Terminologies  Candidate Key  One of several possible attributes or combinations of attributes which can be used to identify each record uniquely in a table  E.g., Employees( empID, SSN, lastName, firstName, address, phone, , hireDate) Cadidate Keys: empID, SSN, lastName-firstName- address, .  The actual candidate key that is chosen for use is the primary key.

Terminologies  Primary Key  A field in a table whose value is unique and insures that each record in the table is unique.  Foreign Key  A field in a table containing values that are also found in some primary key field (in a different table)—is used to link one table with another

Levels of Normalization  First Normal Form (1NF)  eliminates repeating groups by putting each value of a multi-valued attribute into a new row  Second Normal Form (2NF)  eliminates functional dependencies on a partial key by putting the fields in a separate table from those that are dependent on the whole key  Third Normal Form (3NF)  eliminates functional dependencies on non- key fields by putting them in a separate table.  At this stage, all non-key fields are dependent on the key, whole key, and nothing but the key.

Lectures--Normalization  Logic Modeling I (6:05) (Introduction) Logic Modeling I  Logic Modeling II (5:56) (Candidate Key) Logic Modeling II  Logic Modeling III (6:47) (Normalization) Logic Modeling III  Logic Modeling IV (6:20) (Example) Logic Modeling IV  Logic Modeling V (3:54) (First Normal Form) Logic Modeling V  Logic Modeling VI (9:09) (Second Normal Form) Logic Modeling VI  Logic Modeling VII (6:04) (Third Normal Form) Logic Modeling VII  Logic Modeling VIII (9:09) (Entity Relation Diagram) Logic Modeling VIII

Lectures (More informal)  What Is Database Normalization (2:51) What Is Database Normalization  Understanding Normalization: Rule of One (2:53) Understanding Normalization: Rule of One  SQL Normalization (5:08) SQL Normalization  Normalization Demonstration (7:49) Normalization Demonstration  Database Normalization (w/Excel) (22:00) Database Normalization (w/Excel)