We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byKyra Brittan
Modified over 4 years ago
© Pearson Education Limited, 20041 Chapter 8 Normalization Transparencies
© Pearson Education Limited, 20042 Chapter 8 - Objectives How tables that contain redundant data can suffer from update anomalies, which can introduce inconsistencies into a database. The rules associated with the most commonly used normal forms, namely first (1NF), second (2NF), and third (3NF). The identification of various types of update anomalies such as insertion, deletion, and modification anomalies.
© Pearson Education Limited, 20043 Chapter 8 - Objectives How tables that break the rules of 1NF, 2NF, and 3NF are likely to contain redundant data and suffer from update anomalies. How to restructure tables that break the rules of 1NF, 2NF, and 3NF.
© Pearson Education Limited, 20044 Normalization A technique for producing a set of tables with desirable properties that support the requirements of a user or company.
© Pearson Education Limited, 20045 Data redundancy and update anomalies Major aim of relational database design is to group columns into tables to minimize data redundancy and reduce file storage space required by base tables. Problems associated with data redundancy are illustrated by comparing the Staff and Branch tables with the StaffBranch table.
© Pearson Education Limited, 20046 Data redundancy and update anomalies
© Pearson Education Limited, 20047 Data redundancy and update anomalies
© Pearson Education Limited, 20048 Data redundancy and update anomalies StaffBranch table has redundant data; the details of a branch are repeated for every member of staff. In contrast, the branch information appears only once for each branch in the Branch table and only the branch number (branchNo) is repeated in the Staff table, to represent where each member of staff is located.
© Pearson Education Limited, 20049 Data redundancy and update anomalies Tables that contain redundant information may potentially suffer from update anomalies. Types of update anomalies include insertion deletion modification
© Pearson Education Limited, 200410 First normal form (1NF) Only 1NF is critical in creating appropriate tables for relational databases. All subsequent normal forms are optional. A table in which the intersection of every column and record contains only one value.
© Pearson Education Limited, 200411 Branch table is not in 1NF
© Pearson Education Limited, 200412 Converting Branch table to 1NF
© Pearson Education Limited, 200413 Second normal form (2NF) 2NF only applies to tables with composite primary keys. A table that is in 1NF and in which the values of each non-primary-key column can be worked out from the values in all the columns that make up the primary key.
© Pearson Education Limited, 200414 TempStaffAllocation table is not in 2NF
© Pearson Education Limited, 200415 Functional dependency The particular relationships that we show between the columns of a table are more formally referred to as functional dependencies. Functional dependency describes the relationship between columns in a table.
© Pearson Education Limited, 200416 Functional dependency For example, consider a table with columns A and B, where B is functionally dependent on A (denoted A B). If we know the value of A, we find only one value of B in all the records that has this value of A, at any moment in time.
© Pearson Education Limited, 200417 Second normal form (2NF) Formal definition of 2NF is a table that is in 1NF and every non-primary-key column is fully functional dependent on the primary key. Full functional dependency indicates that if A and B are columns of a table, B is fully dependent on A if B is functionally dependent on A but not on any proper subset of A.
© Pearson Education Limited, 200418 Converting TempStaffAllocation table to 2NF
© Pearson Education Limited, 200419 Third normal form (3NF) A table that is in 1NF and 2NF and in which all non-primary-key column can be worked out from only the primary key column(s) and no other columns.
© Pearson Education Limited, 200420 StaffBranch table is not in 3NF
© Pearson Education Limited, 200421 Third normal form (3NF) The formal definition of 3NF is a table that is in 1NF and 2NF and in which no non-primary-key column is transitively dependent on the primary key.
© Pearson Education Limited, 200422 Third normal form (3NF) For example, consider a table with A, B, and C. If B is functional dependent on A (A B) and C is functional dependent on B (B C), then C is transitively dependent on A via B (provided that A is not functionally dependent on B or C). If a transitive dependency exists on the primary key, the table is not in 3NF.
© Pearson Education Limited, 200423 Converting the StaffBranch table to 3NF
Oct 28, 2004WPES Off-the-Record Communication, or, Why Not to Use PGP Nikita Borisov Ian Goldberg Eric Brewer.
Spring Process Control Spring Outline 1.Optimization 2.Statistical Process Control 3.In-Process Control.
UML and WSDL for JISC e-Learning Projects Major Practical Richard Hopkins NeSC Training Team Member
D. Elia, R. SantoroITS week / SPD meeting - May 12, Test beam data analysis D. Elia, R. Santoro – Bari SPD Group Alignments, plane rotation for setup.
17 May Multiple Sites. 17 May Multiple Sites This presentation assumes you are already familiar with Doors and all its standard commands It.
21 April Temp Users. 21 April Setup Temp Users Allows you to set activation and expiration dates for cards ahead of time Works only on PXL-500/510.
An Advanced Shell Theory Based Tire Model by D. Bozdog, W. W. Olson Department of Mechanical, Industrial and Manufacturing Engineering The 23 rd Annual.
Automating Test File Creation Using Excel, UltraEdit, and Batch files to build test data.
Fitzkilism Production, Putting the Fun in Function By Mrs. Kiley Sandymount Elementary.
5 5 Normalization of Database Tables Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
COAT -TRIBUNALS' MODEL PRACTICE GUIDE - AIJA COAT TRIBUNALS MODEL PRACTICE MANUAL Livingston Armytage Centre for Judicial Studies
Søren Poulsen, Ørsted·DTU, Automation Technical University of Denmark NORPIE Integrating switch mode audio power amplifiers and.
Processing of multiple frequency test data of Traction Auto Transformer Helen Di Yu Power Systems Research Group University of Strathclyde.
12/6/20041 TITLE: Basic Multicarrier EVDV operation SOURCE: Srinivasan
8 April Doors TM Set System Options. 8 April Set System Options Allows you to set certain standard Doors operating parameters and enable certain.
The Relational Model System Development Life Cycle Normalisation
1 Database Systems: A Practical Approach to Design, Implementation and Management International Computer Science S. Carolyn Begg, Thomas Connolly Lecture.
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
1 5 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 5 Database Design: Normalization.
© 2018 SlidePlayer.com Inc. All rights reserved.