Preview

Normalization

Powerful Essays
Open Document
Open Document
4768 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Normalization
DATABASE DESIGN: NORMALIZATION NOTE & EXERCISES (Up to 3NF)
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 can be found when tables that break the rules of 1NF, 2NF, and 3NF and they are likely to contain redundant data and suffer from update anomalies. Normalization is a technique for producing a set of tables with desirable properties that support the requirements of a user or company. 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. Take a look at the following example:
StdSSN S1 S1 S2 S2 StdCity SEATTLE SEATTLE BOTHELL BOTHELL StdClass JUN JUN JUN JUN OfferNo O1 O2 O3 O2 OffTerm FALL FALL SPRING FALL OffYear 2006 2006 2007 2006 EnrGrade 3.5 3.3 3.1 3.4 CourseNo C1 C2 C3 C2 CrsDesc DB VB OO VB

The insertion anomaly: Occurs when extra data beyond the desired data must be added to the database. For example, to insert a course (CourseNo), it is necessary to know a student (StdSSN) and offering (OfferNo) because the combination of StdSSN and OfferNo is the primary key. Remember that a row cannot exist with NULL values for part of its primary key. The update anomaly: Occurs when it is necessary to change multiple rows to modify ONLY a single fact. For example, if we change the StdClass of student S1 (JUN), two rows, row 1 and 2 must be changed. If S1 was enrolled in 10 classes, 10 rows must be changed. The deletion anomaly: Occurs whenever deleting a row inadvertently causes other data to be deleted. For example, if we delete the enrollment (EnrGrade) of S2 in O3 (third row), we lose the information about offering O3 and course C3 because these values are unique

You May Also Find These Documents Helpful

  • Satisfactory Essays

    ACC 206 Week 5 Midterm Exam - Strayer University NEW, ACC 206 Week 1 Homework Chapter 10 - Strayer University NEW,ACC 206 Week 10 Homework Chapter 19 - Strayer University NEW,ACC 206 Week 10 Quiz 8 Chapter 18 - Strayer University NEW,ACC 206 Week 11 Final Exam - Strayer University NEW,ACC 206 Week 2 Homework Chapter 11 - Strayer University NEW,ACC 206 Week 2 Quiz 1 Chapter 10 - Strayer University NEW,ACC 206 Week 3 Homework Chapter 12 - Strayer University NEW,ACC 206 Week 3 Quiz 2 Chapter 11 - Strayer University NEW,ACC 206 Week 4 Homework Chapter 13 - Strayer University NEW,ACC 206 Week 4 Quiz 3 Chapter 12 - Strayer University NEW,ACC 206 Week 5 Homework Chapter 14 - Strayer University NEW,ACC 206 Week 5 Midterm Exam - Strayer University NEW,ACC 206 Week 6 Homework Chapter 15 - Strayer University NEW,ACC 206 Week 6 Quiz 4 Chapter 14 - Strayer University NEW,ACC 206 Week 7 Homework Chapter 16 - Strayer University NEW,ACC 206 Week 7 Quiz 5 Chapter 15 - Strayer University NEW,ACC 206 Week 8 Homework Chapter 17 - Strayer University NEW,ACC 206 Week 8 Quiz 6 Chapter 16 - Strayer University NEW,ACC 206 Week 9 Homework Chapter 18 - Strayer University NEW,ACC 206 Week 9 Quiz 7 Chapter 17 - Strayer University NEW,ACC 206 WK 8 Assignment 1- Annual Report Project…

    • 257 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    DBM 380 (Data Base Management) Complete Course Material Click on The Link Below to Purchase A+ Work http://hwminute.com/downloads/dbm-380-data-base-management-complete-course-material/ DBM 380 Week 1 DQ 2.docx DBM 380 Week 1 DQ 1.docx DBM 380 Week 1 Individual Assignment Database Design Paper.docx DBM 380 Week 2 DQ 2.docx DBM 380 Week 2 Individual Assignment; Database Management Systems Paper.docx DBM 380 Week 2 DQ 1.docx DBM 380 Week 3 DQ 1.docx DBM 380 Week 3 DQ 2.docx DBM 380 Week 3 Individual Assignment Driving Log.accdb DBM 380 Week 3 Individual Assignment Driving Log.zip DBM 380 Week 3 Individual Assignment ERD.pdf DBM 380 Week 3 Individual Assignment ERD.zip DBM 380 Week 3 Individual Assignment.zip DBM 380 Week 3 Individual Assignment ERD.pdf DBM 380 Week 3 Individual Assignment ERD.zip DBM 380 Week 4 DQ 1.docx DBM 380 Week 4 DQ 2.docx DBM 380 Week 4 Explaination Of Normalization.docx DBM 380 Week 4 Individual Assignment ERD.zip DBM 380 Week 4 Indiviual Assignment Driving Log Relationships.accdb DBM 380 Week 4 Indiviual Assignment Driving Log Relationships.zip DBM 380 Week 4 Individual Assignment ERD.pdf DBM 380 Week 5 DQ 1.docx DBM 380 Week 5 DQ 2.docx DBM 380 Week 5 LT Database FINAL.accdb DBM 380 Week 5 LT Database FINAL.zip DBM 380 Week 5 LT Huffman PowerPoint REVISED.pptx DBM 380 Week 5 LT Huffman Trucking SR-ht-003.docx DBM 380 Week 5 LT Huffman Trucking SR-ht-003.docx $30.00 – Purchase DBM 380 (Data Base Management) Complete Course Material Click on The Link Below to Purchase A+ Work http://hwminute.com/downloads/dbm-380-data-base-management-complete-course-material/ DBM 380 Week 1 DQ 2.docx DBM 380 Week 1 DQ 1.docx DBM 380 Week 1 Individual Assignment Database Design Paper.docx DBM 380 Week 2 DQ 2.docx DBM 380 Week 2 Individual Assignment; Database Management Systems Paper.docx DBM 380 Week 2 DQ 1.docx DBM 380 Week 3 DQ 1.docx DBM 380 Week 3 DQ 2.docx DBM 380 Week 3 Individual Assignment Driving…

    • 395 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    PT2520 Week 3 Forum

    • 190 Words
    • 1 Page

    Normalization is a process for evaluating and correcting table structures to minimize data redundancies and by helping to eliminate data anomalies. It helps evaluate table structures and produce good tables.…

    • 190 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    ACC 206 Week 4 Quiz 3 Chapter 12 - Strayer University NEW, ACC 206 Week 1 Homework Chapter 10 - Strayer University NEW,ACC 206 Week 10 Homework Chapter 19 - Strayer University NEW,ACC 206 Week 10 Quiz 8 Chapter 18 - Strayer University NEW,ACC 206 Week 11 Final Exam - Strayer University NEW,ACC 206 Week 2 Homework Chapter 11 - Strayer University NEW,ACC 206 Week 2 Quiz 1 Chapter 10 - Strayer University NEW,ACC 206 Week 3 Homework Chapter 12 - Strayer University NEW,ACC 206 Week 3 Quiz 2 Chapter 11 - Strayer University NEW,ACC 206 Week 4 Homework Chapter 13 - Strayer University NEW,ACC 206 Week 4 Quiz 3 Chapter 12 - Strayer University NEW,ACC 206 Week 5 Homework Chapter 14 - Strayer University NEW,ACC 206 Week 5 Midterm Exam - Strayer University NEW,ACC 206 Week 6 Homework Chapter 15 - Strayer University NEW,ACC 206 Week 6 Quiz 4 Chapter 14 - Strayer University NEW,ACC 206 Week 7 Homework Chapter 16 - Strayer University NEW,ACC 206 Week 7 Quiz 5 Chapter 15 - Strayer University NEW,ACC 206 Week 8 Homework Chapter 17 - Strayer University NEW,ACC 206 Week 8 Quiz 6 Chapter 16 - Strayer University NEW,ACC 206 Week 9 Homework Chapter 18 - Strayer University NEW,ACC 206 Week 9 Quiz 7 Chapter 17 - Strayer University NEW,ACC 206 WK 8 Assignment 1- Annual Report Project…

    • 266 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    cis3730_Exam1_Studyguide

    • 512 Words
    • 2 Pages

    Be able to give examples of tables, specify their primary keys, and explain how they are related through foreign keys.…

    • 512 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    The database normalization is a technique that is used to organize the contents in the tables for transactional databases and also data warehouses. The normalization is a portion of designing the database with success, without this the database systems may be inaccurate, inefficient, slow, and they may not create the data that is expected. Following a SQL Server installation that is successful a database will need to be created that will hold the data. After the database framework has been created, the files must be organized in a way that can be easily managed. The primary tool that will help organize the data will be the table that will look like a two-dimensional structure that encompasses rows and columns. When the database is normalized there will be four goals to maintain. These goals will be to organize data in logical groupings that each group will describe a small part of the whole; lessening the amount of duplicated data that is saved in the database; organize the data that so that when it is modified the change can be made in only one place; also building a database where the data can be accessed and manipulated quickly, efficiently, and without compromising the integrity of the data that is stored.…

    • 752 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Pt2520 Unit 6

    • 1447 Words
    • 6 Pages

    Data redundancy in a database occurs when same data is stored in different tables unnecessarily. A modification to a single piece of data requires change for all the copies. Use of flat file database designs and spreadsheets can lead to data redundancy.…

    • 1447 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Nt1320 Unit 7

    • 2041 Words
    • 9 Pages

    The database design team transforms entities into tables and expresses relationships by defining foreign keys. The tables in the model are to be normalized before converting them into designs. Normalization is the process of converting poorly structured tables into two or more well-structured tables. Database practitioners classify tables into various normal forms according to the kinds of problems they have. Transforming a table into a normal form to remove duplicated data and other problems is called normalizing the table. After normalizing, the designer should represent the relationship among those tables to complete the design.…

    • 2041 Words
    • 9 Pages
    Good Essays
  • Satisfactory Essays

    week 4 Discussion 1

    • 447 Words
    • 2 Pages

    Normalization is the process of organizing data in a database. This includes creating tables and establishing relationships between those tables according to rules designed both to protect the data and to make the database more flexible by eliminating redundancy and inconsistent dependency.…

    • 447 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Data redundancy leads to data anomalies and corruption and generally should be avoided by design. Normalization would prevent redundancy and make the best possible usage of storage. By following the principles of normalization you can achieve a design that is highly flexible allowing the model to be extended when needed to account for new attributes, entity sets, and relationships. With normalization we can reduce redundancy, both to save space and to avoid inconsistencies in data which could affect information for reporting and…

    • 677 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Logical Design Pt. 2

    • 641 Words
    • 3 Pages

    Hello sirs, my name is , it has come to my attention that there are some misconceptions about the value in normalizing your database. I wanted to write this correspondence to address any concerns that you may have about flexibility while entering your data into the system. This letter is to assure you and the other members of your executive board that you will have some flexibility within your E-R Model.…

    • 641 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    assign1

    • 309 Words
    • 1 Page

    iVideo, a local video renting shop, is considering creating a database to keep track of…

    • 309 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    Workshop 8 Questions

    • 1220 Words
    • 5 Pages

    o Part A contains two case studies and questions that are to be done in workshop with the…

    • 1220 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    This table is also a good example of a design that leads to Update Anomalies. Note that sales rep's names are repeated for each client. Let's say, for example, that we recently learned Stan's last name should have been spelled "Crossley". This table design makes it very easy for a data entry person to update one of the two records for Stan, without noticing, and updating, the other. Moreover, it is also possible that there are really TWO Stan's working for this organization, and that Stan number 2 actually does spell his name "Crosley", while Stan number 3 spells his "Crossley". (Or is it the other way around?)…

    • 376 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Mis - Case Study

    • 1830 Words
    • 8 Pages

    What the consultant was trying to say is that base on his investigation, with the expertise that he have and upon checking the folder where the database application is placed, he already found the cause of an error or problem within the database. The problem is data overloading. Data Overloading means that there are many unused or inappropriate data that was inserted inside the database application. The solution is to redesign the database and transform it into a new form which is called “Third Normal Form.” The database is said to be in third normal form where in each non-primary entity is independent with each other. Transforming the data base in the third normal will eliminate semantic integrity or an illogical or incorrect placement of values in the database.…

    • 1830 Words
    • 8 Pages
    Powerful Essays

Related Topics