Identify and describe each of the normal forms

Assignment Help Database Management System
Reference no: EM133682456

Database Management Systems

Normalization of Database Tables

Learning Objective 1: Explain normalization and its role in the database design process

Learning Objective 2: Identify and describe each of the normal forms: 1NF, 2NF, 3NF, BCNF, and 4NF

Learning Objective 3: Explain how normal forms can be transformed from lower normal forms to higher normal forms

Learning Objective 4: Apply normalization rules to evaluate and correct table structures

Learning Objective 5: Identify situations that require denormalization to generate information efficiently

Learning Objective 6: Use a data-modeling checklist to check that the ERD meets a set of minimum requirements

Normalization of Database Tables

What is normalization? When is a table in 1NF?
Given the dependency diagram shown in Figure 1, answer the following questions
Identify and discuss each of the indicated dependencies
Create a database whose tables are at least in 2NF, showing the dependency diagrams for each table.
Create a database whose tables are at least in 3NF, showing the dependency diagrams for each table.

The dependency diagram in Fig 2 indicates that a patient can receive many prescriptions for one or more medicines over time. Based on the dependency diagram, create a database whose tables are in at least 2NF, showing the dependency diagram for each table.

2215_Database Management Systems.jpg

 

What is a partial dependency? With what normal form is it associated?
What three data anomalies are likely to be the result of data redundancy? How can such anomalies be eliminated?

Database Tables and Normalization

Normalization: evaluating and correcting table structures to minimize data redundancies
Reduces data anomalies
Assigns attributes to tables based on determination
Normal forms
First normal form (1NF)
Second normal form (2NF)
Third normal form (3NF)


Structural point of view of normal forms
Higher normal forms are better than lower normal forms
Properly designed 3NF structures meet the requirement of fourth normal form (4NF)
Denormalization: produces a lower normal form
Results in increased performance and greater data redundancy


The Need for Normalization
Used while designing a new database structure
Analyzes the relationship among the attributes within each entity
Determines if the structure can be improved through normalization
Improves the existing data structure and creates an appropriate database design

The Normalization Process
Objective is to ensure that each table conforms to the concept of well-formed relations
Each table represents a single subject
Each row/column intersection contains only one value and not a group of values
No data item will be unnecessarily stored in more than one table
All nonprime attributes in a table are dependent on the primary key
Each table has no insertion, update, or deletion anomalies

Ensures that all tables are in at least 3NF
Higher forms are not likely to be encountered in business environment
Works one relation at a time
Identifies the dependencies of a relation (table)
Progressively breaks the relation up into a new set of relations

Partial dependency: functional dependence in which the determinant is only part of the primary key
Assumption: one candidate key
Straight forward
Easy to identify
Transitive dependency: attribute is dependent on another attribute that is not part of the primary key
More difficult to identify among a set of data
Occur only when a functional dependence exists among nonprime attributes

Conversion to First Normal Form

Repeating group: group of multiple entries of same type can exist for any single key attribute occurrence
Reduces data redundancies
Three step procedure
Eliminate the repeating groups
Identify the primary key
Identify all dependencies
Dependency diagram: depicts all dependencies found within given table structure
Helps to get an overview of all relationships among table's attributes
Makes it less likely that an important dependency will be overlooked

1NF describes tabular format in which:
All key attributes are defined
There are no repeating groups in the table
All attributes are dependent on the primary key
All relational tables satisfy 1NF requirements
Some tables contain partial dependencies
Update, insertion, or deletion

Conversion to Second Normal Form
Conversion to 2NF occurs only when the 1NF has a composite primary key
If the 1NF has a single-attribute primary key, then the table is automatically in 2NF
The 1NF-to-2NF conversion is simple
Make new tables to eliminate partial dependencies
Reassign corresponding dependent attributes
Table is in 2NF when it:
Is in 1NF
Includes no partial dependencies

Summary Normalization is a technique used to design tables in which data redundancies are minimized
A table is in 1NF when all key attributes are defined and all remaining attributes are dependent on the primary key
A table is in 2NF when it is in 1NF and contains no partial dependencies
A table is in 3NF when it is in 2NF and contains no transitive dependencies
A table that is not in 3NF may be split into new tables until all of the tables meet the 3NF requirements
Normalization is an important part-but only a part-of the design process
A table in 3NF might contain multivalued dependencies that produce either numerous null values or redundant data

Reference no: EM133682456

Questions Cloud

How can improve it by teaching people about discrimination : How you can improve it By teaching people about discrimination, you may persuade all employees to respect one another's differences.
Paul observes man break a window : Paul observes a man break a window in a door at a school, then run away. Paul knows it was Jamie who broke the window.
What might you need to do to ensure that the process owners : What might you need to do to ensure that the process owners in the organization will accept your Control measures?
Products liability lawsuit : Ajax Company has come up with new toy. Does Toby have products liability cause of action? If so, on what theories should he base his products liability lawsuit?
Identify and describe each of the normal forms : ICT503 Database Management Systems, Sydney International School of Technology & Commerce - Explain normalization and its role in the database design process
Ethics in criminal justice system : In order to understand the ethics of cops, courts, and corrections that make up the Criminal Justice System(CJS)
Describe two relevant value-added activities : Identify and describe two relevant value-added activities. Identify a non-value-added activity and describe why this activity is a non-value-added activity.
Flies through the room in great sweeping circle : Ajax Company has come up with a new toy. This toy is a rocket ship that when activated, flies through the room in a great sweeping circle,
Records kept by family day care educators : National Regulation 182 is about the confidentiality of records kept by family day care educators.

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd