Conceptual Design Lecture 3 Database Development.

Slides:



Advertisements
Similar presentations
ER Model For a college DB
Advertisements

More Diagramming & Practice with Relationship Modeling
ENTITY RELATIONSHIP MODELLING
Ch5: ER Diagrams - Part 1 Much of the material presented in these slides was developed by Dr. Ramon Lawrence at the University of Iowa.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Normalisation Ensuring data integrity in database design 1.
System Analysis - Data Modeling
Database Design (Data Modeling) DCO11310 Database Systems and Design By Rose Chang.
Entity-Relationship Model and Diagrams (continued)
Entity-Relationship Modelling Introduced by Chen in 1976 The ER Model is used to construct the conceptual data model – independent of DBMS Most widely.
CHAPTER 2: MODELING DATA IN THE ORGANIZATION © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey.
Chapter 8 Structuring System Data Requirements
Methodology Conceptual Database Design
Chapter 3 © 2005 by Prentice Hall 1 Objectives Definition of terms Definition of terms Importance of data modeling Importance of data modeling Write good.
Entity/Relationship Modelling
Entity-Relationship Design
Entity Relationship Diagram Farrokh Alemi Ph.D. Francesco Loaiza, Ph.D. J.D. Vikas Arya.
Entity Relationship Model Chapter 6. Basic Elements of E-R Model Entity Object of the real world that stores data. Eg. Customer, State, Project, Supplier,
Entity Relationship Modeling Objectives: To illustrate how relationships between entities are defined and refined. To know how relationships are incorporated.
1 © Prentice Hall, 2002 Chapter 3: Modeling Data in the Organization Modern Database Management 7th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R.
1 © Prentice Hall, 2002 CMIS564: E/R Modeling Dr. Bordoloi Based on Chapter 3; Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
ZEIT2301 – Database Design Entity-Relationship Diagrams
Data Modeling ERM ERD.
Week 4 Lecture Conceptual Data Modeling
Business Process Modeling
CSE 441: Systems Analysis & Design
Methodology Conceptual Databases Design
Conceptual Design Lecture - 2 Database Development.
Conceptual Design Revision Database Development. Basic constructs of the Entity Relationship Model Entity  Representation of an Entity on an ER diagram.
CSCI 3140 Module 2 – Conceptual Database Design Theodore Chiasson Dalhousie University.
BIS 360 – Lecture Six (Part 2) Conceptual Data Modeling (Chapter 10 and partial Chapter 12)
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
G057 - Lecture 02 Introduction To Database System Concepts Mr C Johnston ICT Teacher
Deanery of Business & Computer Sciences Transformation of Logical Diagram into Database Design Language Lecture 6 Database Technology Level.
Database Design Principles – Lecture 3
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 2: Modeling Data in the Organization.
An Introduction to Data Modelling Entity Relationship Modelling Avin Mathew Nov 2010.
Database Design – Lecture 3 Conceptual Database Design.
1 Entity-Relationship Diagram. 2 Components of ERD: –Entity –Relationship –Cardinality –Attributes.
Data Modeling Using the Entity-Relationship (ER) Model.
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.
Jozef Kuper.  Describe a Database  Entities  Atributes  Relationships.
Carnegie Mellon University © Robert T. Monroe Management Information Systems Data Modeling Management Information Systems Robert.
Part4 Methodology of Database Design Chapter 07- Overview of Conceptual Database Design Lu Wei College of Software and Microelectronics Northwestern Polytechnical.
Database Design – Lecture 4 Conceptual Data Modeling.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
Information Access Mgt09/12/971 Entity-Relationship Design Information Level Design.
Conceptual Databases Design Step 1 © Pearson Education Limited 1995, 2005.
Entity/Relationship Modelling. Entity Relationship Modelling In This Lecture Entity/Relationship models Entities and Attributes Relationships Attributes.
MIS 3053 Database Design & Applications The University of Tulsa Professor: Akhilesh Bajaj ER Model Lecture 2 © Akhilesh Bajaj, 2000, 2002, 2003, 2004,
Conceptual Design to Logical Design Lecture 4. Aims  To introduce Business Rules  To identify what a Business Rule is  To Introduce Business Operations.
DBMS ER model-2 Week 6-7.
Entity Relationship Diagram (ERD). Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship.
Dr. Andy Seddon Staffordshire UNIVERSITY School of Computing Information Modelling and the logical data structure.
CSE 412/598 DATABASE MANAGEMENT COURSE NOTES 3. ENTITY-RELATIONSHIP CONCEPTUAL MODELING Department of Computer Science & Engineering Arizona State University.
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
DATA MODELING AND ENTITY-RELATIONSHIP MODEL II IST 210: Organization of Data IST210 1.
Database Designsemester Slide 1 Database Design Lecture 7 Entity-relationship modeling Text , 7.1.
C_ITIP211 LECTURER: E.DONDO. Unit 4 : DATA MODELING.
Entity Relationship Modeling
Entity/Relationship Modelling
Case Studies: Data Modeling
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
Entity-Relationship Model and Diagrams (continued)
MIS2502: Data Analytics Relational Data Modeling
Fundamentals of Databases CSU 07203
MIS2502: Data Analytics Relational Data Modeling 2
Database Management system
Presentation transcript:

Conceptual Design Lecture 3 Database Development

Aim of this presentation  To introduce noun identification  To introduce the diagram script  To identify how we use the Information base to help inform the ER Diagram

Entity Relationship Diagrams The output for the Conceptual design is two things. –An ER Diagram –A diagram script

ER Diagram STUDENT HALL N:1 StudentID HallName Entity Entity Name Relationship Cardinality Attribute Attribute name Mandatory Existence Optional Existence

Diagram Script Entity name Attributes IdentifiedSynonymRelated to The name of the entity identified. (Singular) Any attributes identified for the entity. No spaces allowed in the Attribute name. Alternative name for entity identified from the information base Entities which it relates to.

Diagram Script Entity nameAttributes IdentifiedSynonymRelated to Coursetitle courseCode PrerequisiteStudent Class Course StudentstudentID studentName address postcode Course Classsemester classRoom uniqueClassName tutor Course Relationship between course and student gradeCourse and Student

Using the Information Base  Where do we start?  Analyse the information gathered during the requirements analysis. –One element at a time

Using the Information Base Identifying Entities using noun identification.  In noun identification we follow this procedure: –Examine the system descriptions and identify the nouns and noun phrases –Reject any which seem unsuitable candidates for being entities.

Identifying Entities  A noun is a word that names a person or thing  A noun phrase is a group of words that operate like a noun e.g. dentist appointment  Consider each noun or noun phrase and determine if it is a candidate entity.  Reasons for rejecting candidate entities.

Rejecting Candidate Entities  Redundancy  Vagueness  An event or operation  Meta Language  Outside the system boundary  Attribute

What we know about an Entity  Entity contains descriptive information.  An entity is anything about which we store information.  An entity is a "thing", "concept" or, object".  If a data object you have identified is described by other objects, then it is an entity.

What we know about an Attribute  An attributes either identifies or describes an entity.  Attributes that identify entities are called key attributes, these attributes would uniquely identify an entity instance.  Attributes that describe an entity are called non-key attributes.

Sample Description The local Sea Cadet Unit records information on the Cadets belonging to the unit. For each cadet they record name, address and one emergency contact telephone number. The cadets take classes each week for different skills. Records of skills achieved are recorded, along with the date achieved.

Identify the nouns and noun phrases The local Sea Cadet Unit records information on the Cadets belonging to the unit. For each cadet they record name, address and one emergency contact telephone number. The cadets take classes each week for different skills. Records of skills achieved are recorded, along with the date achieved.

Diagram and Script Cadet Entity nameAttributes IdentifiedSynonymRelated to CadetFName, Surname, Add1, Add2, Add3 PostCode, ConTelNo Class Skill ClassWeekCadet SkillCadet Relationship between Cadet and Skill Date AchievedSkill Cadet Class M:N Skill M:N

Diagram and Script  Once you have dealt with the System Description you then look at each type of information base and check that that information base element is catered for.

Cadet Record Card Date Rank Cadet ID Name Address Contact Telephone

Revised diagram Cadet Entity nameAttributes IdentifiedSynonymRelated to CadetCadetID, Rank, FName, Surname, Add1, Add2, Add3 PostCode, ConTelNo Class Skill ClassWeekCadet SkillCadet Relationship between Cadet and Skill Date AchievedSkill Cadet Class M:N Skill M:N CadetID

 Work through each piece of information base to produce your diagram.  Finally check what additional requirements the company will have for the new system and ensure that your initial design can cater for those requirements.

Summary We have seen  How to use noun identification for identifying entities and attributes.  How to produce the diagram script  How to use the information base to inform the ER Diagram and script

Next Week  In-class test revision  Practice in-class test questions