NORMALIZATION: ‘1NF’ The general rule: ‘’Any field which can have many, must have its own table’’ By Sam Beaumont.

Slides:



Advertisements
Similar presentations
CHAPTER OBJECTIVE: NORMALIZATION THE SNOWFLAKE SCHEMA.
Advertisements

Normalisation Ensuring data integrity in database design 1.
Microsoft Access Removing Redundancy in a Database.
Systems Development Life Cycle
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
Data Management 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.
Chapter 11 Data Management Layer Design
Normalization By Albert Lin. 2 Basics Process of efficiently organizing data in a database. Goals Eliminate redundant data Ensure data dependency sensibility.
Project and Data Management Software
Normalization A337. A337 - Reed Smith2 Structure What is a database? ◦ Tables of information  Rows are referred to as records  Columns are referred.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Define Table Relationships—1 of 3 One of the most powerful features of a relational database management system, such as Access, is its ability to define.
Introduction to Schema Refinement. Different problems may arise when converting a relation into standard form They are Data redundancy Update Anomalies.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
DATA MODELLING TOOLS FOR ORGANISING DATABASES. For a database to be organised and logical, it must be well-designed and set out. In such cases, the databases.
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
Relational Database Concepts. Let’s start with a simple example of a database application Assume that you want to keep track of your clients’ names, addresses,
Section 11 : Normalisation
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
Chapter 1 In-lab Quiz Next week
Concepts and Terminology Introduction to Database.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
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
Database Management COP4540, SCS, FIU Relation Normalization (Chapter 14)
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.
Databases in Web Devolvement By Andy Larson Using Microsoft Sever 2000 with ASP Database Integrity Inserting data Stored procedures Views Triggers Tips.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Chapter 10 Normalization Pearson Education © 2009.
IST 318 – DB Administration
System and data modeling tools Revision. Schemas A schema shows the organisational structure of a database. It should show the entities (the tables in.
Rules of Database Normalization
Normalization Transparencies 1. ©Pearson Education 2009 Objectives How the technique of normalization is used in database design. How tables that contain.
GIS Data Models GEOG 370 Christine Erlien, Instructor.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
Competitive (Business) Intelligence Systems The Road to Denormalization (starring Charlie Sheen & other Random Celebrities)
Lesson 2: Designing a Database and Creating Tables.
Flat Files Relational Databases
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
Logical Database Design and the Relational Model.
IST Database Normalization Todd Bacastow IST 210.
Normalisation 1NF to 3NF Ashima Wadhwa. In This Lecture Normalisation to 3NF Data redundancy Functional dependencies Normal forms First, Second, and Third.
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.
INFS 6220 Systems Analysis & Design Transactional DBs vs. Data Warehouses.
NORMALIZATION Handout - 4 DBMS. What is Normalization? The process of grouping data elements into tables in a way that simplifies retrieval, reduces data.
5 1 Chapter 5 Normalization of Database Tables Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
What Is Normalization  In relational database design, the process of organizing data to minimize redundancy  Usually involves dividing a database into.
MS Access. Most A2 projects use MS Access Has sufficient depth to support a significant project. Relational Databases. Fairly easy to develop a good user.
SQL Basics Review Reviewing what we’ve learned so far…….
1 CS490 Database Management Systems. 2 CS490 Database Normalization.
NORMALISATION OF DATABASES. WHAT IS NORMALISATION? Normalisation is used because Databases need to avoid have redundant data, which makes it inefficient.
A brief summary of database normalization
Chapter 4 Relational Databases
Databases A brief introduction….
Database Normalization
1st, 2nd, and 3rd Normal Forms
The Road to Denormalization
1st, 2nd, and 3rd Normal Forms
Databases 1.
Presentation transcript:

NORMALIZATION: ‘1NF’ The general rule: ‘’Any field which can have many, must have its own table’’ By Sam Beaumont

What is ‘’Normalization’’? Normalization is used in any RDBMS (relational database management systems) to assist the creation of well structured, efficient databases The goal of normalisation is to divide larger tables into smaller ones. Relationships are usually defined between isolated primary keys, shared between two tables. The object of normalization is to isolate the data so that any changes (modifications, additions and/or deletions) can be done in one table, thus updating the entire database via the defined relationships between tables. ‘’Normalization’’ has several stages, they are often referred to as ‘’Normal forms’’ This presentation discusses the definition and uses of the 1 st normal form ‘1NF’

An example of relationships between tables (MS Access) Each table’s relationship is defined by common primary keys in a ‘’Many-to-one’’ or ‘’One-to-many’’ relationship

What is it used for? Normalization is used to increase the efficiency of RDBMS’ by reducing/preventing data redundancy and inconsistent dependencies. Inconsistent dependencies refer to the illogical relationship of fields in tables. For example the pet name of the pet, would not be located in the owners table. Etc. These can compromise the efficiency of a database as they are often associated to errors within the database due to broken or missing paths between the data Data redundancy is the duplication of data within the database. This can be the exact same fields/data within the same Table or several tables: IE – the replication of a Pet Owners name in various tables Redundant data wastes space, thus severely compromising the efficiency and is extremely cost inefficient

An example of splitting records and eliminating duplicated data

Therefore….. Normalisation provides: FLEXIBLE databases There are several ways to look at the data within the database, therefore not confined to existing conventions; there are several paths to reach the same data EFFICIENCY Saves space by eliminating redundant data and providing an organised structure DATA INTEGRITY ‘Modification Anomalies’ are prevented as changes made within the databases are all updated throughout due to the defined relationships. ‘Changes’ include: Deletion Addition Alteration Updates

1 st Normal Form (1NF) ‘’ALL DATA MUST BE ATOMIC’’ All fields must be atomic This means there is no duplication of data throughout the database There are no multiple values stored in one record This is done through splitting larger tables, into smaller tables, with a general and simple rule ‘’Any field which can have many, must have its own table’’ The tables are then linked by the common primary keys, defining the relationship between the two tables

An example of ‘ATOMIC’ values

Works Cited normalization.htm normalization.htm ppframe.htm ppframe.htm database_normalization_process.html database_normalization_process.html database-normalisation.html database-normalisation.html normal-forms-introduction.html normal-forms-introduction.html DataConsiten_Norm1NF.html DataConsiten_Norm1NF.html