MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )

Slides:



Advertisements
Similar presentations
Conceptual Design Modeling the rules of organization Building ER model.
Advertisements

1 © Prentice Hall, 2002 Chapter 4: The Enhanced E-R Model and Business Rules Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
Chapter 4: The Enhanced ER Model and Business Rules
Enhanced E-R Models and Business Rules
1 Chapter 4 The Enhanced ER Model and Business Rules.
Chapter 3: The Enhanced E-R Model
Enhanced Entity-Relationship Modeling. Strong and Weak Entity Types Strong entity: Each object is uniquely identifiable using primary key of that entity.
Chapter 3 The Enhanced E-R Model
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 3: The Enhanced E-R Model Modern Database Management 10 th Edition Jeffrey A. Hoffer,
Chapter 3  Define terms  Understand use of supertype/subtype relationships  Understand use of specialization and generalization techniques  Specify.
1 © Prentice Hall, 2002 Chapter 4: The Enhanced E-R Model and Business Rules Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
Chapter 3 © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 CHAPTER 4: THE ENHANCED E-R MODEL Modern Database Management 11 th Edition Jeffrey.
Database Design and the E-R Model Chapter 7 [2 of 2]
1 © Prentice Hall, 2002 Chapter 4: The Enhanced E-R Model and Business Rules Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
Chapter 14 (Web): Object-Oriented Data Modeling
Chapter 4: The Enhanced ER Model and Business Rules
Entity Relationship Diagrams Don Archer. Entity Relationship Diagram  ERDs – depicts data in terms of the entities and relationships described by the.
Enhanced Entity-Relationship Modeling
IS 4420 Database Fundamentals Chapter 4: The Enhanced ER Model and Business Rules Leon Chen.
Chapter 14: Object-Oriented Data Modeling
Chapter 4: The Enhanced E-R Model and Business Rules
Chapter 4 1 Chapter 4: The Enhanced ER Model and Business Rules.
1 Chapter 4 Enhanced E-R Model. 2 Supertypes and Subtypes Subtype: A subgrouping of the entities in an entity type which has attributes that are distinct.
Chapter 3: The Enhanced E-R Model
1 Chapter 4: The Enhanced ER Model and Business Rules.
Chapter 8 Structuring System Data Requirements
Chapter 8 Structuring System Data Requirements
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 3: The Enhanced E-R Model Modern Database Management 10 th Edition Jeffrey A. Hoffer,
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 The Enhanced Entity Relationship Diagrams (E-ERDs)
Chapter 2: Modeling Data in the Organization
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Chapter 4: The Enhanced ER Model and Business Rules
MIS 301 Information Systems in Organizations Dave Salisbury ( )
MIS 301 Information Systems in Organizations Dave Salisbury ( )
CHAPTER 13 (ONLINE): OBJECT-ORIENTED DATA MODELING © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition.
Chapter 4 1 Chapter 4: The Enhanced ER Model and Business Rules Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden.
Database Development Supertype, Subtype, and Business Rules Powered by DeSiaMore 1.
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
Chapter 3: The Enhanced E-R Model
Chapter 3: The Enhanced E-R Model
CHAPTER 3: THE ENHANCED E-R MODEL © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey A. Hoffer,
© 2011 Pearson Education 1 Chapter 3: Advanced Database Analysis Modern Database Management 10 th Edition, International Edition Jeffrey A. Hoffer, V.
CHAPTER 3: THE ENHANCED E-R MODEL © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey A. Hoffer,
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
Enhanced Entity-Relationship Modeling
Chapter 9 Structuring System Data Requirements Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 4: The Enhanced E-R Model and Business Rules Modern Database Management 9 th Edition.
Chapter 3: Modeling Data in the Organization. Business Rules Statements that define or constrain some aspect of the business Assert business structure.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 5 (Part a): Logical Database Design and the Relational Model Modern Database Management.
Advance Database Engineering 1 Chapter 4: The Enhanced ER Model and Business Rules Modern Database Management 7 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
Culture The knowledge, language, values, customs, and material objects that are passed from person to person and from one generation to the next in a human.
© 2005 by Prentice Hall 1 Chapter 4: The Enhanced ER Model and Business Rules Modern Database Management 7 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
Chapter 3: The Enhanced E-R Model
The Enhanced E-R Model and Business Rules
LECTURE 4: Chapter 4: The Enhanced E-R Model
Advanced Database Analysis
Chapter 4: The Enhanced E-R Model and Business Rules
Chapter 4: The Enhanced ER Model and Business Rules
Culture The knowledge, language, values, customs, and material objects that are passed from person to person and from one generation to the next in a human.
Database Management System 1 (ITED123A)
Chapter 3: The Enhanced E-R Model
Overview of Entity‐Relationship Model
CHAPTER 3: THE ENHANCED E-R MODEL
CHAPTER 4: LOGICAL DATABASE DESIGN AND THE RELATIONAL MODEL
Culture The knowledge, language, values, customs, and material objects that are passed from person to person and from one generation to the next in a human.
CGS 2545: Database Concepts Summer 2006
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
Presentation transcript:

MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( ) (web site)

Entity Clusters EER diagrams are difficult to read when there are too many entities and relationships “Chunking” (Miller, 1956) Solution: group entities and relationships into entity clusters Entity cluster: set of one or more entity types and associated relationships grouped into a single abstract entity type

Possible entity clusters for Pine Valley Furniture Related groups of entities could become clusters

Possible entity clusters for Pine Valley Furniture in Microsoft Visio Related groups of entities could become clusters

EER diagram of PVF entity clusters More readable, isn’t it?

EER diagram of PVF entity clusters More readable, isn’t it?

Figure 4-14 Manufacturing entity cluster Detail for a single cluster

Universal Data Models Generic/template data model Can be reused as starting point a.k.a. data model patterns

Universal Data Models Can leverage previous experience Less time and effort (think object-oriented programming) Less likely to miss stuff common across organization – holistic view Good starting point for new requirements Extensive use of supertype/subtype Reusing data Holistic view (there’s that word again) Extensive use of M:N Greater flexibility Implied handling of time-stamp and history data Capture best practices (even those outside your organization)

Packaged data models provide generic models that can be customized for a particular organization’s business rules Universal Data Models

Business rules Statements that define or constrain some aspect of the business. Constraints can impact: Structure (definition, domain, relationship) Behavior (operational constraints) Classification of business rules: Derivation – rule derived from other knowledge Structural assertion – rule expressing static structure Action assertion – rule expressing constraints/control of organizational actions

EER depiction of business rules classification

Action Assertion Classifications Result Condition – IF/THEN rule Integrity constraint – must always be true Authorization – privilege statement Form Enabler – leads to creation of new object Timer – allows or disallows an action Executive – executes one or more actions Rigor Controlling – something must or must not happen Influencing – guideline for which a notification must occur

Stating an Action Assertion Action Assertion Action assertion will identify corresponding objects that constrain the ability to perform actions on anchor objects Anchor Object an object on which actions are limited Action creation, deletion, update, or read Corresponding Objects an object influencing the ability to perform an action on another business rule

Data model segment for class scheduling

Business Rule 1: For a faculty member to be assigned to teach a section of a course, the faculty member must be qualified to teach the course for which that section is scheduled Action assertion Anchor object Corresponding object In this case, the action assertion is a restriction

Business Rule 2: For a faculty member to be assigned to teach a section of a course, the faculty member must not be assigned to teach a total of more than three course sections Action assertion Anchor object Corresponding object In this case, the action assertion is an upper limit.