Motivation for IDEF1X Simplicity Common Standard Useful when relational model is target Air Force 1985 or thereabouts.

Slides:



Advertisements
Similar presentations
Data Modeling and the Entity-Relationship Model
Advertisements

Logical Database Design
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 4 Entity Relationship (ER) Modeling.
Entity Relationship (ER) Modeling
CIT 381 Slides part 3. Review: One-to-many and many-to-one One movie is stored on many videos – many videos are in one store. Both relationships are mandatory.
Chapter 6 Methodology Logical Database Design for the Relational Model Transparencies © Pearson Education Limited 1995, 2005.
Fundamentals, Design, and Implementation, 9/e COS 346 Day 8.
DATABASE APPLICATION DEVELOPMENT SAK 3408 Database Design II (week 3)
Fundamentals, Design, and Implementation, 9/e Chapter 5 Database Design.
CIT 381 More ER Modeling - review one-to-many - one-to-one - recursive relationships.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke Database Processing Tenth Edition Chapter 5 Data.
Modeling Data The Entity Relationship Model (ER) For Database Design.
1 Methodology : Conceptual Databases Design © Pearson Education Limited 1995, 2005.
Methodology Logical Database Design for the Relational Model
Chapter Five Data Modeling with the Entity-Relationship Model.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 3 The Entity- Relationship Model.
Chapter 4 ENTITY-RELATIONSHIP MODELLING.
Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 1 Data Models: Degrees of Data Abstraction l Modified ANSI/SPARC Framework.
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
Chapter 4 Entity Relationship (E-R) Modeling
Chapter 4 Entity-Relationship modeling Transparencies © Pearson Education Limited 1995, 2005.
LOGICAL DATABASE DESIGN
Entity Relationships. Relationships Relationships exist between entities The type of relationship is entirely dependent on the business rules The business.
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
Mapping ERM to relational database
 Keys are special fields that serve two main purposes: ◦ Primary keys are unique identifiers of the relation in question. Examples include employee numbers,
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Entity-Relationship modeling Transparencies
Chapter 5 1 © Prentice Hall, 2002 Chapter 5: Transforming EER Diagrams into Relations Mapping Regular Entities to Relations 1. Simple attributes: E-R attributes.
Entity-relationship Modeling Transparencies 1. ©Pearson Education 2009 Objectives How to use ER modeling in database design. The basic concepts of an.
Chapter 5 Entity–Relationship 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.
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Database R.Fröhlich, M. Schaffer, J. Konicek Database Relationship Types Different Relationship Types in a Logical Relational Model.
Database Design Using Entity-Relationship Models Transformation of Entity-Relationship Models into Relational Database Design Trees, Networks, and Bills.
Database Design Principles – Lecture 3
CSCI 3140 Module 3 – Logical Database Design for the Relational Model Theodore Chiasson Dalhousie University.
Team Dosen UMN Database Design Connolly Book Chapter
Chapters 15 &16 Conceptual and Logical Database Design Methodology.
© Pearson Education Limited, Chapter 7 Entity-Relationship modeling Transparencies.
Data Modeling IST210 Class Lecture.
1 E-R Model (II) Keys To identify records in a table Candidate Key Primary Key Alternate Key Composite Key.
CS 370 Database Systems Lecture 9 The Relational model.
Chapter 11 & 12 Entity-Relationship (E-R) Model Characteristics of E-R Model Components of E-R Model Example of E-R Model Enhanced E-R Model.
Database Design – Lecture 5 Conceptual Data Modeling – adding attributes.
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
3 & 4 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Keys Consists of one or more attributes that determine other.
Data modeling using the entity-relationship model Chapter 3 Objectives How entities, tuples, attributes and relationships among entities are represented.
Jozef Kuper.  Describe a Database  Entities  Atributes  Relationships.
1 Chapter 17 Methodology - Local Logical Database Design.
Relational Theory and Design
Databases Illuminated Chapter 3 The Entity Relationship Model.
Chapter 9 Logical Database Design : Mapping ER Model To Tables.
Database Design – Lecture 4 Conceptual Data Modeling.
Chapter 15 & 16 Conceptual and Logical Database Design Methodology Thomas Connolly, Carolyn Begg, Database System, A Practical Approach to Design Implementation.
1 © Prentice Hall, 2002 ITD1312 Database Principles Chapter 4B: Logical Design for Relational Systems -- Transforming ER Diagrams into Relations Modern.
Entity-Relationship Modeling. 2 Entity Type u Entity type –Group of objects with same properties, identified by enterprise as having an independent existence.
Methodology - Logical Database Design. 2 Step 2 Build and Validate Local Logical Data Model To build a local logical data model from a local conceptual.
Lecture # 14 Chapter # 5 The Relational Data Model and Relational Database Constraints Database Systems.
April 20022/CS/3X1 Database Design Design method John Wordsworth Department of Computer Science The University of Reading Room.
Data Modeling and the Entity-Relationship Model
Chapter 5 Database Design
Methodology Logical Database Design for the Relational Model
Chapter 4: Part B Logical Database Design and the Relational Model
Requirements Become the E-R Data Model
Database Design – Lecture 4
CHAPTER 4: LOGICAL DATABASE DESIGN AND THE RELATIONAL MODEL
Entity Relation Model Tingting Zhang.
Presentation transcript:

Motivation for IDEF1X Simplicity Common Standard Useful when relational model is target Air Force 1985 or thereabouts

IDEF1X Objectives To provide a means for completely understanding and analyzing an organization's data resources To provide a common means of representing and communicating the complexity of data To provide a technique for presenting an overall view of the data required to run an enterprise To provide a means for defining an application- independent view of data which can be validated by users and transformed into a physical database design To provide a technique for deriving an integrated data definition from existing data resources

Attributes and Primary keys

Entities strong and weak

Relationships Parent to child relationships. One-to…..

Identifying Relationship

Non-identifying Relationship (Mandatory)

Non-identifying Relationship (Optional)

Non-specific Relationship

Alternate Keys

Foreign Keys

Role Names

The general manager of a small chain of candy stores wants a database to keep track of the stores that it has and the employees that work at them. Each employee only works at a single store. Most employees have another employee that is their mentor. Each store has one manager (which is also an employee). Employees have unique employee numbers. Stores also have unique store ids. For each store he wants to keep track of the city, address (this can be a single attribute in your model), phone and who the store manager is. Attributes for each employee include first name, last name, phone number, and who their mentor is.

Optional or Mandatory Participation Only non-identifying relationships can be Optional. Remember that identifying relationships bring the key into the primary key of the child thus they can’t be NULL. Consider the one-to-many relationship between STORE and EMPLOYEE. Is this optional for EMPLOYEE? That is, can an EMPLOYEE exist with a NULL STORE_ID?

One-to-One What does the Z mean when we have a one-to- one relationship? It is not related to Optional. Consider manages between Employee and Store. An Employee will manage either no store or one store. This does not mean optional. Optional would be mean that a store could exist without a manager.

Roles and Recursive Roles are important when you have a recursive relationship or more than one relationship between entities. Recursive is when an entity is related to itself. Such as employee entity that includes the mentor. The relationship “mentors” is a recursive relationship on the entity employee. The mentor of an employee is another employee. We use role name EMP_MENTOR for the foreign key in the EMPLOYEE relationship. Note that it is an optional non-identifying relationship. Explain.