today’s agenda any questions about the assignment (due mon)? quiz quiz review homework for...
TRANSCRIPT
![Page 1: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/1.jpg)
Today’s AgendaToday’s Agenda Any questions about the assignment (due Mon)?Any questions about the assignment (due Mon)? QuizQuiz Quiz reviewQuiz review Homework for Friday:Homework for Friday:
Watch the two videos on the Coursera db website that Watch the two videos on the Coursera db website that deal with relational algebradeal with relational algebra
And/or read up on it from your favorite resourceAnd/or read up on it from your favorite resource Formalize concepts of database anomalies Formalize concepts of database anomalies If time, finish off our Transit TablesIf time, finish off our Transit Tables
4-4-11
![Page 2: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/2.jpg)
Today’s slides from:Today’s slides from:Chapter 4Chapter 4
The Database Management The Database Management System ConceptSystem Concept
Fundamentals of Database Management Systemsby
Mark L. Gillenson, Ph.D.
University of Memphis
John Wiley & Sons, Inc.
![Page 3: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/3.jpg)
4-4-33
ObjectivesObjectives
List the three problems created by data List the three problems created by data redundancy. redundancy.
Describe the nature of data redundancy Describe the nature of data redundancy among many files. among many files.
Explain the relationship between data Explain the relationship between data integration and data redundancy in one integration and data redundancy in one file.file.
![Page 4: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/4.jpg)
4-4-44
The Database ConceptThe Database Concept
Data Integration and Data Redundancy - The Data Integration and Data Redundancy - The ability to achieve data integration while at the ability to achieve data integration while at the same time storing data in a nonredundant same time storing data in a nonredundant fashion. This, alone, is the central, defining fashion. This, alone, is the central, defining feature of the database approach.feature of the database approach.
Multiple RelationshipsMultiple Relationships - The ability to store data - The ability to store data representing entities involved in multiple representing entities involved in multiple relationships without introducing data relationships without introducing data redundancy or other structural problems. redundancy or other structural problems.
![Page 5: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/5.jpg)
4-4-55
Data Integration and Data Data Integration and Data RedundancyRedundancy
Data integration - the ability to tie together Data integration - the ability to tie together pieces of related data within an pieces of related data within an information system.information system.
Data redundancy - the same fact about the Data redundancy - the same fact about the business environment is stored more than business environment is stored more than once within an information system.once within an information system.
![Page 6: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/6.jpg)
4-4-66
Data Redundancy - ProblemsData Redundancy - Problems
Redundant data takes up a great deal of Redundant data takes up a great deal of extra disk space. extra disk space.
If the redundant data has to be updated, it If the redundant data has to be updated, it takes additional time to do so. This can be takes additional time to do so. This can be a major performance issue.a major performance issue.
There is the potential for data integrity There is the potential for data integrity problems.problems.
![Page 7: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/7.jpg)
4-4-77
Data IntegrityData Integrity
Refers to the accuracy of the data.Refers to the accuracy of the data.
Inaccurate data leaves the whole Inaccurate data leaves the whole information system of limited value.information system of limited value.
![Page 8: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/8.jpg)
4-4-88
Data Redundancy,Data Redundancy,Data IntegrityData Integrity
When all copies of redundant data are not When all copies of redundant data are not updated consistently, a data integrity problem updated consistently, a data integrity problem exists.exists.
![Page 9: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/9.jpg)
4-4-99
Three Files with Redundant Three Files with Redundant DataData
![Page 10: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/10.jpg)
4-4-1010
Three Files with a Data Three Files with a Data Integrity ProblemIntegrity Problem
![Page 11: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/11.jpg)
4-4-1111
General General Hardware Hardware Company Company FilesFiles
![Page 12: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/12.jpg)
4-4-1212
General Hardware Company General Hardware Company Combined FileCombined File
![Page 13: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/13.jpg)
4-4-1313
AnomaliesAnomalies
Typically occur in poorly structured files.Typically occur in poorly structured files.
Problems arise when two different kinds of Problems arise when two different kinds of data, like salesperson and customer data data, like salesperson and customer data are merged into one file.are merged into one file.
![Page 14: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/14.jpg)
4-4-1414
AnomaliesAnomalies Deletion Anomaly Deletion Anomaly - e.g, if you delete a customer and - e.g, if you delete a customer and
that record was the only one for a salesperson, the that record was the only one for a salesperson, the salespersonsalesperson’’s data is gone.s data is gone.
Insertion Anomaly Insertion Anomaly - e.g., General Hardware cannot add - e.g., General Hardware cannot add data about a new salesperson the company just hired data about a new salesperson the company just hired until she is assigned at least one customer.until she is assigned at least one customer.
Update Anomaly Update Anomaly - redundant data in the database file - redundant data in the database file must be updated each place it exists when it changesmust be updated each place it exists when it changes
![Page 15: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/15.jpg)
4-4-1515
Database Management Database Management SystemSystem
A software utility for storing and retrieving A software utility for storing and retrieving data that gives the end-user the data that gives the end-user the impression that the data is well integrated impression that the data is well integrated even though the data can be stored with even though the data can be stored with no redundancy at all.no redundancy at all.
![Page 16: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/16.jpg)
How would you represent How would you represent Sales and Customers?Sales and Customers?
What is the cardinality/modality of the What is the cardinality/modality of the relationshiprelationship
How should we handle it?How should we handle it?
4-4-1616
![Page 17: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/17.jpg)
In order to avoid anomalies, In order to avoid anomalies, we normalize our tableswe normalize our tables
But first… we will start a side trip into Relational But first… we will start a side trip into Relational Algebra firstAlgebra first Need to know the basic rules for how relational data Need to know the basic rules for how relational data
is updated/deleted/combined/selected/projected in is updated/deleted/combined/selected/projected in order to fully understand the implications of order to fully understand the implications of normalizationnormalization
Do your homework for Friday – dive into Do your homework for Friday – dive into relational algebrarelational algebra
4-4-1717
![Page 18: Today’s Agenda Any questions about the assignment (due Mon)? Quiz Quiz review Homework for Friday: Watch the two videos on the Coursera db website](https://reader036.vdocuments.mx/reader036/viewer/2022062422/56649e995503460f94b9bed1/html5/thumbnails/18.jpg)
4-4-1818
“Copyright 2004 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in Section 117 of the 1976 United States Copyright Act without express permission of the copyright owner is unlawful. Request for further information should be addressed to the Permissions Department, John Wiley & Sons, Inc. The purchaser may make back-up copies for his/her own use only and not for distribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages caused by the use of these programs or from the use of the information contained herein.”