INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.

Slides:



Advertisements
Similar presentations
BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
Advertisements

Chapters 7 & 9 System Scope
Entity Relationship (ER) Modeling
ENTITY RELATIONSHIP MODELLING
Entity Relationship (ER) Modeling
Concepts of Database Management Seventh Edition Chapter 6 Database Design : ERD Model.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 4 Entity Relationship (ER) Modeling.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Systems Development Life Cycle
Modeling the Data: Conceptual and Logical Data Modeling
ISMT221 Information Systems Analysis and Design Entity-Relationship Diagram Lab 4 Tony Tam.
System Analysis - Data Modeling
Systems Analysis Requirements structuring Process Modeling Logic Modeling Data Modeling  Represents the contents and structure of the DFD’s data flows.
Entity Relationship Diagrams Basic Elements and Rules.
--The Entity Relationship Model(1)--1 The Entity Relationship Model.
Modeling Data The Entity Relationship Model (ER) For Database Design.
Entity Relationship Diagrams
Systems Analysis and Design in a Changing World, 6th Edition
Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Modeling & Designing the Database
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Chapter 3 © 2005 by Prentice Hall 1 Objectives Definition of terms Definition of terms Importance of data modeling Importance of data modeling Write good.
APPENDIX C DESIGNING DATABASES
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
IT 244 Database Management System Data Modeling 1 Ref: A First Course in Database System Jeffrey D Ullman & Jennifer Widom.
Computer System Analysis Chapter 10 Structuring System Requirements: Conceptual Data Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
Entity Relationship Modelling. What is Entity Relationship Modelling? The Entity-Relationship model is – ” “ a data model for high-level descriptions.
Data Modeling ERM ERD.
Chapter 7 Data Modeling with Entity Relationship Diagrams Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition.
Business Process Modeling
Database. Basic Definitions Database: A collection of related data. Database Management System (DBMS): A software package/ system to facilitate the creation.
Chapter 5 Entity Relationship (ER) Modelling
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)
Copyright (c) 2014 Pearson Education, Inc. Introduction to Databases.
Database Design Principles – Lecture 3
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 4 Entity Relationship (ER) Modeling.
Chapter 4 Entity Relationship (ER) Modeling.  ER model forms the basis of an ER diagram  ERD represents conceptual database as viewed by end user 
1 Entity-Relationship Diagram. 2 Components of ERD: –Entity –Relationship –Cardinality –Attributes.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
Database Design – Lecture 5 Conceptual Data Modeling – adding attributes.
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
Description and exemplification of entity-relationship modelling.
 An entity-relationship diagram (ERD) is a specialized graphic that illustrates the interrelationships between entities in a database.
Jozef Kuper.  Describe a Database  Entities  Atributes  Relationships.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 4 Entity Relationship (ER) Modeling.
Databases Illuminated Chapter 3 The Entity Relationship Model.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 4 ENTITY RELATIONSHIP (ER) MODELING Instructor Ms. Arwa Binsaleh 1.
Database Design – Lecture 4 Conceptual Data Modeling.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
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.
EntityRelationshipDiagrams. Entity Relationship Models The E-R (entity-relationship) data model views the real world as a set of basic objects (entities)
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.
IS 4420 Database Fundamentals Chapter 3: Modeling Data in the Organization Leon Chen.
ENTITY RELATIONSHIP DIAGRAM. Objectives Define terms related to entity relationship modeling, including entity, entity instances, attribute, relationship.
Review Business Analyst vs. Systems Analyst – A Business Analyst identifies a problem and states – in business terms -- what the solution is. They define.
TMC2034 Database Concept and Design
© The McGraw-Hill Companies, All Rights Reserved APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
Tables and Their Characteristics
Database Design – Lecture 4
Database Systems: Design, Implementation, and Management Tenth Edition
Review of Week 1 Database DBMS File systems vs. database systems
Chapter 4 Entity Relationship (ER) Modeling
Entity Relationship Model
Presentation transcript:

INTRODUCTION TO DATABASE DESIGN

Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships Logical: what data needs to be represented Physical: how data is to be stored using a particular type of DBMS

CONCEPTUAL DATA MODEL (High Level, Big Picture) Identify and represent important data and relationships Focus on data (‘what’), not process (‘how’) Conduct informal brainstorming sessions with client representatives Iterate - revise constantly

CONCEPTUAL DATA MODEL COMPONENTS Identify ENTITIES - important things (person, place, thing or event) in system that information is to be maintained ; eg STUDENT, TIMETABLE, SUBJECT, PROGRAM, CLASS, ROOM, … Identify ATTRIBUTES - characteristic or piece of information that helps to describe an entity; eg STUDENT: id, name, address, program, learn account; SUBJECT: subject code, name, description, …

CONCEPTUAL DATA MODEL COMPONENTS(ctd) Identify CANDIDATE KEY(S) for each entity: group of 1 or more attributes which uniquely identify a single occurrence or instance of an entity ; eg STUDENT: ID, SIN Choose a PRIMARY KEY for each entity from candidate keys identified- candidate key that most appropriately uniquely and minimally identifies a particular instance or ocurrence of an entity; eg STUDENT: ID, SUBJECT: SUBJECT CODE

CONCEPTUAL DATA MODEL COMPONENTS(ctd) Identify RELATIONSHIPS - logical links between entities; eg a STUDENT is registered in a program and a program may have one or more students registered Identify CARDINALITY of each relationship - 1:1, 1:m, m:n and mandatory or optional; eg a STUDENT must be registered in only one program and a program may have zero, one or more than one student registered

CONCEPTUAL DATA MODEL COMPONENTS(ctd) Prepare ENTITY-RELATIONSHIP DIAGRAM as Conceptual Data Model Present Conceptual Data Model to clients and review and revise as additional information is received

ENTITY RELATIONSHIP DIAGRAM (ERD) Single ERD represents conceptual model of all data for system Symbols: Rectangle - Entity; Line – Relationship, Diamond – Relationship Label; crowsfeet - Cardinality ERD is to be read in any direction