Database Design – Lecture 3 Conceptual Database Design.

Slides:



Advertisements
Similar presentations
Entity Relationship Diagrams
Advertisements

Entity-Relationship (ER) Modeling
Information System Analysis Lab 7. ERD entity-relationship diagram is a data modeling technique that creates a graphical representation of the entities,
Database Systems: Design, Implementation, and Management Tenth Edition
Database Systems: Design, Implementation, and Management Tenth Edition
Modeling the Data: Conceptual and Logical Data Modeling
System Analysis - Data Modeling
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Data Modeling Yong Choi School of Business CSUB. Part # 2 2 Database Collection of data in electronic format – A digital library of organization Managed.
Data Modeling Entity - Relationship Models. Models Used to represent unstructured problems A model is a representation of reality Logical models  show.
Lesson-19 Data Modeling and Analysis
CHAPTER 2: MODELING DATA IN THE ORGANIZATION © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
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.
DBS201: Entity Relationship Diagram
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.
CSE314 Database Systems Data Modeling Using the Entity- Relationship (ER) Model Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Business Process Modeling
CSE 441: Systems Analysis & Design
2 1 Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
DBS201: Relational Databases. Agenda Entity Relationship Model Discovering Attributes Identifying Keys Defining Relationships Relational Model.
Database Systems: Design, Implementation, and Management Ninth Edition
9/14/2012ISC329 Isabelle Bichindaritz1 Database System Life Cycle.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 6 Structuring.
BIS 360 – Lecture Six (Part 2) Conceptual Data Modeling (Chapter 10 and partial Chapter 12)
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Rob and Coronel Adapted for INFS-3200.
Chapter # 2 Data Models BIS Database Systems A.Thanop Somprasong
Database Design Principles – Lecture 3
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.
Data Modeling Using the Entity-Relationship (ER) Model.
IT 21103/41103 System Analysis & Design. Chapter 04 Data Modeling.
Description and exemplification of entity-relationship modelling.
ERD ( Conceptual data model From the statement of data requirements a conceptual data model is produced. This describes.
Database Design – Lecture 4 Conceptual Data Modeling.
Database Design – Lecture 6 Moving to a Logical Model.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
Lecture 91 Introduction to Data Analysis and Logic Specification Objectives l Draw an entity-relationship diagram, and explain the types of entity relationships.
Chapter 3: Modeling Data in the Organization. Business Rules Statements that define or constrain some aspect of the business Assert business structure.
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.
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Modeling the Data: Conceptual and Logical Data Modeling.
1 ASPP(DATABASE DESIGN) Database Design. 2 ASPP(DATABASE DESIGN) Objectives àDefine the terms entity, record, and attribute and discuss the various types.
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
Entity Relationship Diagram ERD. Background Peter Chen developed ERDs in Charles Bachman and James Martin have added some slight refinements to.
ENTITY RELATIONSHIP DIAGRAM. Objectives Define terms related to entity relationship modeling, including entity, entity instances, attribute, relationship.
C_ITIP211 LECTURER: E.DONDO. Unit 4 : DATA MODELING.
Data Modeling Using the Entity- Relationship (ER) Model
Entity Relationship Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Business System Development
Chapter 6 Structuring System Requirements: Conceptual Data Modeling
CS311 Database Management system
Database Management system
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
ERD’s REVIEW DBS201.
MIS2502: Data Analytics Relational Data Modeling
Review of Week 1 Database DBMS File systems vs. database systems
Entity-Relationship Diagram (ERD)
Entity-Relationship (E-R) Modeling
Presentation transcript:

Database Design – Lecture 3 Conceptual Database Design

2 Lecture Objectives Conceptual Database Design

3 Create the conceptual model A model which is the result of conceptual design Model will show the following: Entity – something about which someone wants to store data; typically a person, a place, a thing, a concept, or an event Attribute – a characteristic of an entity. It has a name and a data type

4 Conceptual Database Design Model will show the following: Relationship – an associate between entities. Has multiplicity (1:1, 1:M, M:N)

5 Discovering Entities Generally, nouns translate into entities Verbs translate into relationships among entities Relationships are bi-directional

6 Discovering Attributes Will be discovered when identifying entities They will describe an entity

7 Identifying Primary Keys If an existing attribute seems like a good candidate for the Primary Key, use it; otherwise create a new attribute PK is an attribute (or a combination of attributes) that will uniquely identify any given entity

8 Discovering Relationships Verbs translate into relationships among entities Relationships are bi-directional Need to know the following: Optionality Cardinality

9 The Entity Relationship Model Widely accepted and adapted graphical tool for data modeling Introduced by Chen in 1976 Graphical representation of entities and their relationships in a database structure

10 The Entity Relationship Model

11 The Entity Relationship Model

12 In Summary Steps to create a conceptual model Identify entities and attributes Identify primary keys Identify relationships between entities taking into consideration the business rules

13 Discovering Business Rules Constrain some part of the business For example: An employee can only choose one benefit plan An employee may or may not have dependents An employee may opt out of a benefit

14 Discovering Business Rules Sources of Business Rules: Company managers Policy makers Department managers Written documentation Procedures Standards Operations manuals Direct interviews with end users

15 Create an ERD for the following: A department employs many employees, but each employee is employed by one department. A division operates many departments, but each department is operated by one division. An employee may be assigned to many projects, and a project may have many employees assigned to it.

16 Create an ERD for the following: Identify the entities, attributes and primary keys Draw the ERD showing relationships A Librarian wishes to make inquiries about borrowing activity within a library. The librarian can inquire about specific books borrowed by a customer using either their account or name. An inquiry can also be made by book category (such as fantasy, children’s, reference, etc) or an inquiry can be made that will look at the titles of a specific book.

17 Discovering Business Rules Identify the entities, attributes and primary keys Draw the ERD showing relationships Multiple Real Estate Listing Service (MRELS) is a company that has offices throughout Southern Ontario. These offices have a number of Real Estate agents working for them. MRELS deals in both residential and commercial real estate. Agents work with customers to get a listing or to find a listing for a customer. A listing will include the address and the type of property (residential or commercial), square footage, annual taxes and closing date. If it is a residential property, it will include number of bedrooms, number of bathrooms, special features (central air, heated by gas or oil, radiators or forced air, for instance). For a commercial property, it will include number of offices as well as number of docking bays (where trucks back up to be loaded/unloaded).