Database Design Chapter Extension 4. ce4-2 Study Questions Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Q1: Who will volunteer?

Slides:



Advertisements
Similar presentations
Database Design Using the REA Data Model
Advertisements

Chapter 4 Database Processing. Agenda Purpose of Database Terminology Components of Database System Multi-user Processing Database Design Entity-relationship.
Data Modeling and the Entity-Relationship Model
Data Modeling and the Entity-Relationship Model
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition.
(wrapping up from last week)
Entity-Relationship Model
Data Modeling and the Entity-Relationship Model
Data Modeling and the Entity-Relationship Model
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Chapter 5 Database Processing.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
© 2005 by Prentice Hall Chapter 3a Database Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Database Processing Chapter 4.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke Database Processing Tenth Edition Chapter 5 Data.
Chapter 17 Designing Databases
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
Information Technology in Organizations
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Getting Started Chapter One DATABASE CONCEPTS, 7th Edition
Entity-Relationship Model
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
Chapter 5 Database Processing.
Chapter 3: Modeling Data in the Organization
Database Design Using the REA Data Model
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 9.1.
Chapter 4: Logical Database Design and the Relational Model (Part II)
Database Processing.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Essentials of Systems Analysis and Design Fourth Edition Joseph S. Valacich Joey F.
IS 325 Notes for Wednesday September 4, Syllabus Change I eliminated quizzes I increased the points allocated to homework assignments.
Copyright (c) 2014 Pearson Education, Inc. Introduction to Databases.
Normalization (Codd, 1972) Practical Information For Real World Database Design.
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
Data Modeling IST210 Class Lecture.
Implementing an REA Model in a Relational Database
Chapter 13 Designing Databases Systems Analysis and Design Kendall & Kendall Sixth Edition.
CHAPTER 5 Data and Knowledge Management. CHAPTER OUTLINE 5.1 Managing Data 5.2 The Database Approach 5.3 Database Management Systems 5.4 Data Warehouses.
1 © Prentice Hall, 2002 ITD1312 Database Principles Chapter 4B: Logical Design for Relational Systems -- Transforming ER Diagrams into Relations Modern.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 5 (Part a): Logical Database Design and the Relational Model Modern Database Management.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke’s Chapter Five: Data Modeling with the Entity-Relationship.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Chapter Five: Data Modeling with the Entity-Relationship.
Logical Design 12/10/2009GAK1. Learning Objectives How to remove features from a local conceptual model that are not compatible with the relational model.
Copyright © 2014 Pearson Canada Inc. 5-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5a Database Design Part 2: Using Information Technology.
Database Design Chapters 17 and 18.
CSIS 115 Database Design and Applications for Business
Application Extension 5a
Data Modeling and the Entity-Relationship Model
Requirements Become the E-R Data Model
Chapter 5: Logical Database Design and the Relational Model
Chapter 4 Relational Databases
Copyright © 2015 Pearson Education, Inc.
Chapter 9 Designing Databases
© 2011 Pearson Education, Inc. Publishing as Prentice Hall
Section 11.8 Linear Programming
Copyright © 2008 Pearson Prentice Hall Inc.
Copyright © 2008 Pearson Prentice Hall Inc.
Data Modeling and the Entity-Relationship Model
Mathematical Models: Building Functions
Copyright © 2008 Pearson Prentice Hall Inc.
Copyright © 2008 Pearson Prentice Hall Inc.
Database Processing: David M. Kroenke’s Chapter Five:
Chapter 17 Designing Databases
Copyright © 2008 Pearson Prentice Hall Inc.
Copyright © 2008 Pearson Prentice Hall Inc.
Data Modeling and the Entity-Relationship Model
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Presentation transcript:

Database Design Chapter Extension 4

ce4-2 Study Questions Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Q1: Who will volunteer? Q2: How are database application systems developed? Q3: What are the components of the entity relationship data model? Q4: How is a data model transformed into a database design? Q5: What is the users’ role? Q6: Who will volunteer? (continued)

ce4-3 Q1: Who Will Volunteer? Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Challenge: Secure 60 volunteers for six-night televised fund raiser Problems: Need to contact previous volunteers. Need to know their years of experience, effectiveness, willingness to work multiple nights. Need a usable database format. Need to know how to proceed to create such a database?

ce4-4 Q2: How Are Database Application Systems Developed? Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

ce4-5 Q2: How Are Database Application Systems Developed? (cont’d) Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Interview users to identify and develop requirements for applications Analyze existing forms, reports, queries, other user activities Summarize requirements and themes in a data model Users review and validate data model Users approve data model Build database

ce4-6 Something users want to track Order, customer, salesperson, item, volunteer, donation Entities Describe characteristics of an entity OrderNumber, CustomerNumber, VolunteerName, PhoneNumber Attributes Uniquely identifies one entity instance from other instances Student_ID_Number Identifier Q3: What Are the Components of the Entity-Relationship Data Model? Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

ce4-7 Student Data Model Entities Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

ce4-8 A department may have many advisers An adviser works in one department 1:N relationships An adviser advises many students A student may have one or more advisers N:M relationships Example of Department, Adviser, and Student Entities and Relationships Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

ce4-9 Example of Department, Adviser, and Student Entities and Relationships Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 1:N N:M

ce4-10 Example of Relationships Showing Maximum Cardinalities―Version 1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Crow’s Feet 1:NN:M An Adviser can have many students, and one student can many advisers 1:N One department can have many advisers, but an adviser is in only one department

ce4-11 Example of Relationships Showing Maximum Cardinalities─Version 2 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 1:N A student has only one advisor, but an adviser may advise many students N:M A department has many advisors, and an advisor may advise for more than one department “Crow’s Foot”

ce4-12 Crow’s-Foot Diagram Version Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Maximum cardinality─maximum number of entities involved in a relationship. Vertical bar on a line means that at least one entity is required. Minimum cardinality—minimum number of entities in a relationship. Small oval means entity is optional; relationship need not have an entity of that type.

ce4-13 Normalization Converting poorly structured tables into two or more well-structured tables Goal  Construct tables with data about a single theme or entity Purpose  To minimize data integrity problems Q4: How Is a Data Model Transformed into a Database Design? Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

ce4-14 Data integrity problems produce incorrect and inconsistent information, users lose confidence in information, and the system gets a poor reputation Can only occur if data are duplicated Data IntegrityData Integrity Problems Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

ce4-15 Poorly Designed Employee Table Causes Data Integrity Problem Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

ce4-16 Two Normalized Tables Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Single Themes

ce4-17 Normalization Cautions Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Normalization is just one criterion for evaluating database designs Normalized designs can be slower to process Designers sometimes choose to accept non- normalized tables Best design depends on users’ requirements

ce4-18 Transforming a Data Model into a Database Design Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Transforming a table into a normal form to remove duplicated data and other problemsnormal form

ce4-19 Representing 1:N Relationships Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

ce4-20 Representing an N:M Relationship: Strategy for Foreign Keys Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

ce4-21 Users are the final judges of: –What data database should contain –How tables should be related Users review data model to ensure it accurately reflects users’ view of the business  Mistakes will come back to haunt them Q5: What Is the Users’ Role? Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

ce4-22 Q6: Who Will Volunteer? Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Data Model for Volunteer Database

ce4-23 Q6: Who Will Volunteer? (cont’d) Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall First Table Design

ce4-24 Q6: Who Will Volunteer? (cont’d) Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Second Table Design

ce4-25 Volunteer Prospect Data Entry Form Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

ce4-26 Active Review Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Q1: Who will volunteer? Q2: How are database application systems developed? Q3: What are the components of the entity relationship data model? Q4: How is a data model transformed into a database design? Q5: What is the users’ role? Q6: Who will volunteer? (continued)

ce4-27