Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/1 Copyright © 2004 Please……. No Food Or Drink in the class.

Slides:



Advertisements
Similar presentations
Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques
Advertisements

Fundamentals, Design, and Implementation, 9/e Chapter 8 Database Redesign.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module C Designing Databases and Entity-Relationship.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Database Processing: Fundamentals, Design, and Implementation, 9/e by David M. KroenkeChapter 5/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Database Processing: Fundamentals, Design, and Implementation, 9/e by David M. KroenkeAppendix A/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Entity-Relationship Model
Concepts of Database Management Sixth Edition
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 COS 346 Day 6.
Fundamentals, Design, and Implementation, 9/e COS 346 Day 8.
Fundamentals, Design, and Implementation, 9/e Chapter 5 Database Design.
Fundamentals, Design, and Implementation, 9/e Chapter 3 Entity-Relationship Data Modeling: Process and Examples Instructor: Dragomir R. Radev Fall 2005.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke Database Processing Tenth Edition Chapter 5 Data.
Review Questions What is data modeling? What is the actual data model that is created called? Data modeling is a technique for organizing and documenting.
Extended Learning Module C Designing Databases and Entity-Relationship Diagramming McGraw-Hill/Irwin Copyright © 2010 by the McGraw-Hill Companies, Inc.
Chapter Five Data Modeling with the Entity-Relationship Model.
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 3 The Entity- Relationship Model.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 6-1 David M. Kroenke’s Chapter Six: Transforming Data Models into Database.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 COS 346 Day 6.
Data Modeling Entity - Relationship Models. Models Used to represent unstructured problems A model is a representation of reality Logical models  show.
Fundamentals, Design, and Implementation, 9/e COS 346 Day 2.
Concepts of Database Management Seventh Edition
Entity-Relationship Model
Fundamentals, Design, and Implementation, 9/e COS 346 Day 3.
CS424 PK, FK, FD Normalization Primary and Foreign Keys Primary and foreign keys are the most basic components on which relational theory is based. Primary.
Chapter Five Data Modeling with the Entity-Relationship Model.
BIS310: Week 7 BIS310: Structured Analysis and Design Data Modeling and Database Design.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
Entity-Relationship Design
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.
Computer System Analysis Chapter 10 Structuring System Requirements: Conceptual Data Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Chapter 4 The Relational Model.
Conceptual Modeling and Entity-Relationship Diagrams
Advanced Database Course (ESED5204) Eng. Hanan Alyazji University of Palestine Software Engineering Department.
Entity Relationship Diagrams Objectives s Learn the Elements of the E-R model (entities, attributes, and relationships) s Show how to apply the E-R model.
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 2/1 Copyright © 2004 Please……. No Food Or Drink in the class.
10/3/2012ISC329 Isabelle Bichindaritz1 Logical Design.
Concepts of Database Management Sixth Edition Chapter 6 Database Design 2: Design Method.
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
Fundamentals, Design, and Implementation, 9/e CPE 481 Database Processing Chapter 3 Instructor:Suthep Madarasmi, Ph.D. ดร. สุเทพ มาดารัศมี
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, modified by Dr. Lyn Mathis 5-1 David M. Kroenke’s, 10 th ed. Chapter.
Database Processing: Fundamentals, Design, and Implementation, 9/e by David M. KroenkeChapter 6/1 Copyright © 2004 Please……. No Food Or Drink in the class.
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
Next Back A-1 Management Information Systems for the Information Age Second Canadian Edition Copyright 2004 The McGraw-Hill Companies, Inc. All rights.
C-1 Management Information Systems for the Information Age Copyright 2004 The McGraw-Hill Companies, Inc. All rights reserved Extended Learning Module.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
Concepts of Database Management, Fifth Edition Chapter 6: Database Design 2: Design Methodology.
IFS310: Module 6 3/1/2007 Data Modeling and Entity-Relationship Diagrams.
Database Processing: Fundamentals, Design, and Implementation, 9/e by David M. KroenkeChapter 8/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Database Design – Lecture 4 Conceptual Data Modeling.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 4/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Information Access Mgt09/12/971 Entity-Relationship Design Information Level Design.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Fundamentals, Design, and Implementation, 9/e Appendix B The Semantic Object Model.
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.
Microsoft Access 2010 Chapter 11 Database Design.
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 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix H: The Semantic Object Model.
Copyright © 2014 Pearson Canada Inc. 5-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5a Database Design Part 2: Using Information Technology.
Application Extension 5a
Chapter 5 Database Design
Database Processing: David M. Kroenke’s Chapter Five:
COS 346 Day 3.
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Presentation transcript:

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/1 Copyright © 2004 Please……. No Food Or Drink in the class room Cell phones off Pagers on vibrate Phasers on stun

Fundamentals, Design, and Implementation, 9/e Chapter 3 Entity-Relationship Data Modeling: Process and Examples

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/3 Copyright © 2004 To understand the data modeling process including scope definition and determining requirements.  To be able to determine Entities, Attributes, and Relationships  To be able to locate entity identifiers  To understand how to use domains.  To be able to model Non-identifying connection relationships, Identifying connection relationships, Non-Specific Relationships, and Categorization Relationships CHAPTER OBJECTIVES

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/4 Copyright © 2004 A Data Modeling Process  Steps in the data modeling process –Plan project –Determine requirements –Specify entities –Specify relationships –Determine identifiers –Specify attributes –Specify domains –Validate model

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/5 Copyright © 2004 Planning the Project  Obtaining project authorization and budget  Building the project team  Planning the team’s activities  Establishing tools, techniques, and standards for consistent results  Defining the project’s scope

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/6 Copyright © 2004 Determining System Requirements  Sources for data modeling requirements –User interviews and user activity observations –Existing forms and reports –New forms and reports –Existing manual files –Existing computer files/databases –Formally defined interfaces (XML) –Domain expertise  The result of the requirements determination will be a repository of notes, diagram, forms reports, files, etc., that can be used to develop the data model

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/7 Copyright © 2004 Specifying Entities  An entity is something that the users want to track; something the users want to keep data about  Entities –can be physical things or logical concepts –are identifiable; you can tell one from another –are things described by nouns, not characteristics described by adjectives

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/8 Copyright © 2004 Specifying Relationships  Includes: –Identity of the parent and child entities –Relationship type –Minimum and maximum cardinalities –Name of the relationships  Two techniques: –Examine whether a relationship exists between every combination of two entities –Locate relationships from requirement documents  A combination of the two approaches may be used

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/9 Copyright © 2004 Determining Identifiers  Identifier is an attribute or group of attributes that uniquely identifies an entity instance  If there is difficulty specifying an identifier, maybe: –it should be part of a different entity –it is a subtype or category of a common entity –it needs one or more identifying relationships

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/10 Copyright © 2004 Specifying Attributes and Domains  Find attributes on forms, reports, existing files, etc., and add them to entities  Determine whether the attribute has already defined a domain –If so, the attribute is based upon that domain –If not, a new domain is defined  Review the domains and make adjustments as necessary  Domain property inheritance: when the domain properties change, all the attribute properties change as well  Domains may be used to enforce data standards promoting compatible data types and systems  Once all attributes have been specified the model should be reviewed for missing entities

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/11 Copyright © 2004 Validating Model  Data model is a model of humans’ models, not a model of reality  A data model is wrong if it does not accurately reflect the ways the users think about their world  Data models are validated through a series of reviews –Normally, a team review is followed by user reviews  E-R model as well as prototypes of forms and reports may be used to communicate to users features of the data model

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/12 Copyright © 2004 Creating Data Models From Forms and Reports  Example: Single entities

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/13 Copyright © 2004 Example: Identifying Connection Relationships

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/14 Copyright © 2004 Example: Repeating Groups

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/15 Copyright © 2004 Example: Repeating Groups

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/16 Copyright © 2004 Example: Nested Groups

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/17 Copyright © 2004 Example: Non-Identifying Connection Relationships  Example: 1:1

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/18 Copyright © 2004 Example: Non-Identifying Connection Relationships

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/19 Copyright © 2004 Example: 1:N

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/20 Copyright © 2004 Example: 1:N

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/21 Copyright © 2004 Example: 1:N

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/22 Copyright © 2004 Example: N:M  Insert

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/23 Copyright © 2004 Example: Assignment Relationship

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/24 Copyright © 2004 Example: Assignment Relationship

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/25 Copyright © 2004 Example: Category Relationship

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/26 Copyright © 2004 Example: Category Relationship

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/27 Copyright © 2004 Example: Category Relationship

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/28 Copyright © 2004 Sales-Order Model

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/29 Copyright © 2004 Example: Sales Order

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/30 Copyright © 2004 Example: Sales Order  Figure 3-16(c) shows an alternative design that allows an item to appear more than once on a given order

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/31 Copyright © 2004 Example: University System

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/32 Copyright © 2004 University System With Domain Names

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/33 Copyright © 2004 Summary  Purpose of a database is to help people keep track of things  Databases consist of groups of related tables.  A key is a column that identifies a unique row  A foreign key is a column in one table that is a unique identifier in a second table

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/34 Copyright © 2004 Reminder DO NOT FORGET TO SIGN THE ATTENDANCE SHEET BEFORE YOU LEAVE TONIGHT