Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Rob and Coronel Adapted for INFS-3200.

Slides:



Advertisements
Similar presentations
Information System Analysis Lab 7. ERD entity-relationship diagram is a data modeling technique that creates a graphical representation of the entities,
Advertisements

Database Systems: Design, Implementation, and Management Tenth Edition
Database Systems: Design, Implementation, and Management Tenth Edition
Database Systems: Design, Implementation, and Management Tenth Edition
1 © 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the.
Database Systems: Design, Implementation, and Management Ninth Edition
Entity Relationship (E-R) Modeling Hachim Haddouti
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Eleventh Edition, Coronel & Morris.
Ch5: ER Diagrams - Part 1 Much of the material presented in these slides was developed by Dr. Ramon Lawrence at the University of Iowa.
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Entity Relationship (ER) Modeling
Systems Development Life Cycle
Modeling the Data: Conceptual and Logical Data Modeling
Entity-Relation Modeling Hun Myoung Park, Ph.D., Public Management and Policy Analysis Program Graduate School of International Relations International.
FIS 431/631 Financial Information Systems: Analysis and Design REA Modeling Joe Callaghan Oakland University Department of Accounting & Finance.
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Design (Data Modeling) DCO11310 Database Systems and Design By Rose Chang.
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Modeling Data The Entity Relationship Model (ER) For Database Design.
Data Models.
A Quick Review of Analysis Stages of the Systems Development Life Cycle Planning Analysis Design Construction.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 2 Data Models Database Systems, 8th Edition 1.
Chapter 4 Entity Relationship (E-R) Modeling
Data Modeling 1 Yong Choi School of Business CSUB.
Data Modeling 1 Yong Choi School of Business CSUB.
Entity Relationship Modeling Objectives: To illustrate how relationships between entities are defined and refined. To know how relationships are incorporated.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
2 1 Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
1 © Prentice Hall, 2002 Chapter 3: Modeling Data in the Organization Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred.
1. 2 Data Modeling 3 Process of creating a logical representation of the structure of the database The most important task in database development E-R.
2 1 Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Systems: Design, Implementation, and Management Ninth Edition
Chapter 5 Entity Relationship (ER) Modelling
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Chapter # 2 Data Models BIS Database Systems A.Thanop Somprasong
Chapter Two ( Data Model) Objectives Introduction to Data Models What are the Data Models Why they are important Learn how to design a DBMS.
Database Design Principles – Lecture 3
1 Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Database Design – Lecture 3 Conceptual Database Design.
Carmen David, Senior BA Business Analysis Carmen David, Senior BA Business Analysis Foundation in Business Analysis Session 7 MODELLING REQUIREMENTS.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
Description and exemplification of entity-relationship modelling.
L Department of Mathematics Computer and Information Science l1l1 1 CS 351: Database Management Christopher I. G. Lanclos Chapter 2.
CS311 Database Management system Somchai Thangsathityangkul 1.
1 Database Systems Entity Relationship (E-R) Modeling.
The Entity-Relationship Model, P. I R. Nakatsu. Data Modeling A data model is the relatively simple representation, usually graphic, of the structure.
Lecture 91 Introduction to Data Analysis and Logic Specification Objectives l Draw an entity-relationship diagram, and explain the types of entity relationships.
Entity Relationship Diagram (ERD). Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship.
EntityRelationshipDiagrams. Entity Relationship Models The E-R (entity-relationship) data model views the real world as a set of basic objects (entities)
2 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Data Models Why data models are important About the basic data-modeling.
1 Information System Analysis Topic-3. 2 Entity Relationship Diagram \ Definition An entity-relationship (ER) diagram is a specialized graphic that illustrates.
Department of Mathematics Computer and Information Science1 CS 351: Database Management Systems Christopher I. G. Lanclos Chapter 4.
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
1 © 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the.
Learn about: Data modeling and why data models are important Basic data-modeling building blocks What business rules are and how they influence database.
1 © 2010 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the.
Entity Relationship Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Database Development Lifecycle
CS311 Database Management system
The Entity-Relationship Model
Database Management system
Chapter 4 Entity Relationship (ER) Modeling
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Entity Relationship (ER) Modeling
Presentation transcript:

Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Rob and Coronel Adapted for INFS-3200

Data Models Models are simplified abstractions of real world events or conditions (general). A data model is the relatively simple representation, usually graphic, of complex real-world data structures. It represents data structures and their characteristics, relations, constraints, and transformations. A database model is a collection of logical constructs used to represent the data structure and the data relationships found within the database. A model illustrates what data is being represented (of interest for the end user or system) and how the data elements relate to each other Logical i m p l e m e n t a t i o n physical

Data Models Building Blocks Entities: objects of interest for end user. Each entity describes a particular and different type of object in the real world. Attributes: characteristics that describe a particular type of object. Relationships: association among entities One-to-many relationships (1:M) A painter paints many different paintings, but each one of them is painted by only that painter. PAINTER (1) paints PAINTING (M) Many-to-many relationships (M:N) An employee might learn many job skills, and each job skill might be learned by many employees. EMPLOYEE (M) learns SKILL (N) One-to-one relationships (1:1) Each store is managed by a single employee and each store manager (employee) only manages a single store. EMPLOYEE (1) manages STORE (1) Relationships have direction (determining the roles of entities) Constraint A restriction placed on the data. Salary must be greater than 0 and less than 350,0000 A GPA must be greater than o and less or equal to 4.00 with two decimals Entities, attributes and relationships derive from "business rules"...

Business Rules A business rule is a brief, precise and unambiguous description of a policy, procedure, or principle within an specific organization. Business rules: apply to all types of organizations. derive from a detail description of an organization’s operations. should be stated in writing should be easy to understand should be widely disseminated should be updated frequently

Business Rules Business rules originate from many sources: Manages, policy makers, department managers, written documentation, external sources, operation manuals, etc. Business rules are essential to: Set standards within an organization Communication tool among users and designers Describe the nature, role and scope of data Understanding of business processes Developing a data model

Business Rules Business rules are used to define: entities, attributes, relationships, constrains, processes. A customer may generate many invoices. An invoice belongs to only one customer. A customer may make many payments on account. Each payment on account is credited to only one customer. A machine operator may not work more than 10 hours in any 24-hour period. A training session cannot be scheduled for fewer than 10 employees or more than 30 employees. An student can take many classes A class can be taken by many students A class is a section of a course A course can have many classes and a class belongs to one course An employee is the manager of many employees and each employee can have only one manager A department employs many professors and each professor is employed by (work for) only one department A professor chairs a department and each department is chaired by only one professor

Transforming Business Rules into a Data Model Business rules identify entities, attributes and relationships. Nouns-> entities* Verbs -> relationships* Modifiers of nouns* -> attributes, constraints, other entities or relations. Modifiers of verbs* -> relationship’s roles, constraints or new relations Relationship identification, always ask: Can one instance of A be related to ? 1 (or M) instace(s) of B? Can one instance of B be related to ? 1 (or M) instace(s) of A? One student can take many classes One class can be taken by many students One employee can have many dependents One dependent is related to only one employee * Extended Relational Analysis from Relational Systems Corp.

Entity-Relationship Diagrams It is one of the most widely accepted conceptual data modeling tools. It graphically represents data as entities and their relationships in a database structure. It complements the relational data model concepts. Basic Structure E-R models are normally represented in an entity relationship diagram (ERD). An entity is represented by a rectangle. Each entity is described by a set of attributes. An attribute describes a particular characteristics of the entity. A relationship is represented by a diamond connected to the related entities.

ER MODEL NOTATIONS The end