© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke

Slides:



Advertisements
Similar presentations
Chapter 4 Database Processing. Agenda Purpose of Database Terminology Components of Database System Multi-user Processing Database Design Entity-relationship.
Advertisements

Database Design Chapter Extension 4. ce4-2 Study Questions Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Q1: Who will volunteer?
© 2002 by Prentice Hall 1 SI 654 Database Application Design Winter 2003 Dragomir R. Radev.
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.
IT420: Database Management and Organization
Entity-Relationship Model
Data Modeling and the Entity-Relationship Model
Data Modeling and the Entity-Relationship Model
Chapter 5 Database Processing.
© 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 5-1 COS 346 Day 6.
Fundamentals, Design, and Implementation, 9/e Chapter 3 Entity-Relationship Data Modeling: Process and Examples Instructor: Dragomir R. Radev Fall 2005.
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.
© 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 5-1 COS 346 Day 6.
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.
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Entity-Relationship Model
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
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.
Chapter 5 Database Processing.
David M. Kroenke’s Chapter One: Introduction Part Two Database Processing: Fundamentals, Design, and Implementation.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
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.
Data Modeling IST210 Class Lecture.
Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.
Chapter 4 The Semantic Object Model David M. Kroenke Database Processing © 2000 Prentice Hall.
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.
ENTITY RELATIONSHIP DIAGRAM. Objectives Define terms related to entity relationship modeling, including entity, entity instances, attribute, relationship.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Copyright © 2014 Pearson Canada Inc. 5-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5a Database Design Part 2: Using Information Technology.
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
©2005 The McGraw-Hill Companies, All rights reserved McGraw-Hill/Irwin
CSIS 115 Database Design and Applications for Business
Application Extension 5a
Data Modeling and the Entity-Relationship Model
TMC2034 Database Concept and Design
CSIS 115 Database Design and Applications for Business
Requirements Become the E-R Data Model
Tables and Their Characteristics
Chapter 4 Relational Databases
Copyright © 2015 Pearson Education, Inc.
Database Processing: David M. Kroenke’s Chapter One: Introduction
Chapter 9 Designing Databases
Accounting System Design
Database Processing: David M. Kroenke’s Chapter One: Introduction
Database Processing: David M. Kroenke’s Chapter Six:
Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Data Modeling and the Entity-Relationship Model
Database Processing: David M. Kroenke’s Chapter Six:
Accounting System Design
Chapter 4 Entity Relationship (ER) Modeling
Database Processing: David M. Kroenke’s Chapter Five:
Chapter 17 Designing Databases
Database Processing: David M. Kroenke’s Chapter Six:
Databases and Information Management
Database Processing: David M. Kroenke’s Chapter Six:
Data Modeling and the Entity-Relationship Model
Lecture 10 Structuring System Requirements: Conceptual Data Modeling
Presentation transcript:

© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke Chapter Extension 5 Database Design © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke

Study Questions Who will volunteer? How are database application systems developed? What are the components of the entity-relationship data model? How is a data model transformed into a database design? What is the user’s role?

Who Will Volunteer? Fundraising manager needs database to: Track volunteers How many years Effectiveness Personal information

Database Application Systems Database application consists of: Forms Reports Queries Application programs

How Are Systems Developed? Figure CE5-1

Database Application System Development Process Developers interview users Develop requirements for new system Analyze existing reports, forms, and user activities Requirements summarized in data model Logical representation of structure of data Contains description of data and relationships Users validate and approve model Design implemented in a database Database filled with user data

Database Must include all data necessary for users to perform jobs Contains only that amount of data, and no more Developers rely on users to: Tell them what to include Check data model Verify correctness and completeness

Entity-Relationship Data Model Techniques for creating data model Entity-relationship data model E-R data model Unified Modeling Language UML Database content Entities stored in database and relationship among those things

Entities Something that users want tracked May be: Always singular physical object Logical construct Transaction Always singular

Entities (continued) Have: Attributes Identifier Describe characteristics Identifier Attribute whose value is associated with one and only one entity instance

E-R Diagrams Figure CE5-5 Figure CE5-6

E-R Diagrams (continued) Rectangles represent entities Relationships shown by lines Crow’s foot Forks at end of lines Indicate more than one relationship Read “many” Vertical line means at least one entity of that type Small oval means entity is optional

Relationships Entities have relationships with each other Single entity to single entity 1:N relationship One-to-many Single entity to many entities N:M Many-to-many

Database Design Process of converting data model Transforms entities into tables Expresses relationships Defines foreign keys Shows data constraints

Normalization Process Data integrity problems Normalized tables Converts table into two or more tables Changes from poorly structured to well-structured Data integrity problems Different names for the same entity Produces incorrect and inconsistent information Resolve by eliminating duplicated data Normalized tables Eliminate data duplication Slower to process Every table has single topic

Cardinality Number of entities that can be involved in relationship Maximum cardinality Maximum number involved Minimum cardinality Constraints on minimum requirements

Relational Database Construction Figure CE5-10

Relational Database Design Designer creates table for every entity Entity identifier becomes primary key of table Attributes of entity become columns Tables normalized to single theme Represent relationships between tables Add foreign key to one or more tables

What Is the Users’ Role? Final judges as to what data should be contained Determine how records are related to each other Need to review data model Must insure that model reflects an accurate view of business

Who Will Volunteer? Consultant creates data model Based on interviews with users Data model reviewed and approved Database tables constructed Primary and foreign keys selected Based on interviews Microsoft Access database created Relationships indicated Forms and reports constructed

Active Review Who will volunteer? How are database application systems developed? What are the components of the entity-relationship data model? How is a data model transformed into a database design? What is the user’s role?