DBS201: Data Modeling. Agenda Data Modeling Types of Models Entity Relationship Model.

Slides:



Advertisements
Similar presentations
Database Systems: Design, Implementation, and Management Ninth Edition
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.
Chapter 2 Data Models.
Database Systems: Design, Implementation, and Management Ninth Edition
FILE SYSTEMS & DATABASE 1.5: Data Models
Introduction to Databases
1 1 File Systems and Databases. 1 1 Introducing the Database 4Major Database Concepts u Data and information l Data - Raw facts l Information - Processed.
ITS232 Introduction To Database Management Systems
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Object-Oriented Databases v OO systems associated with – graphical user interface (GUI) – powerful modeling techniques – advanced data management capabilities.
Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Chapter 1 File Systems and Databases
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.
File Systems and Databases
Data Models.
Geographic Information Systems
Ch1: File Systems and Databases Hachim Haddouti
File Systems and Databases Hachim Haddouti
7M822 Software Engineering: System Models 14 September 2009.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 2 Data Models Database Systems, 8th Edition 1.
Chapter 4 Entity Relationship (E-R) Modeling
Academic Year 2014 Spring.
LECTURE 2 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE.
Introduction to Database Concepts
2 1 Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
2 1 Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Design - Lecture 2
Database Systems: Design, Implementation, and Management Ninth Edition
Chapter # 2 Data Models BIS Database Systems A.Thanop Somprasong
2 1 Data Models MIS 304 Winter Class Goals Understand why data models are important Learn about the basic data-modeling building blocks Learn.
1 Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
1 Data Models. 2 Overview Why data models are important Basic data-modeling building blocks What are business rules and how do they influence database.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
6/2/20161 Database Systems Lecture # 3 By: Asma Ahmad Jan 21 st, 2011.
Switch off your Mobiles Phones or Change Profile to Silent Mode.
Database Design – Lecture 4 Conceptual Data Modeling.
L Department of Mathematics Computer and Information Science l1l1 1 CS 351: Database Management Christopher I. G. Lanclos Chapter 2.
Week 2 Introduction to Data Modelling
ITEC 3220A Using and Designing Database Systems
Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Lecture 2 Data Models. Learning Objectives Why data models are important About the basic data-modeling building blocks What business rules are and how.
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.
Introduction to Databases Angela Clark University of South Alabama.
 To explain why the context of a system should be modelled as part of the RE process  To describe behavioural modelling, data modelling and object modelling.
2 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Data Models Why data models are important About the basic data-modeling.
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.
Geographic Information Systems GIS Data Databases.
Database Systems: Design, Implementation, and Management Tenth Edition
DATA MODELS Siti Nurbaya Ismail Senior Lecturer
Geographic Information Systems
ITS232 Introduction To Database Management Systems
MANAGING DATA RESOURCES
File Systems and Databases
Chapter 4 Entity Relationship (ER) Modeling
Databases and Structured Files: What is a database?
Data Model.
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Chapter 4 Entity Relationship (ER) Modeling
Geographic Information Systems
Presentation transcript:

DBS201: Data Modeling

Agenda Data Modeling Types of Models Entity Relationship Model

Data Modeling A representation, usually graphical, of complex real-world data structures – organizes data for various users Communications tool to facilitate interaction between designers, application programmers and the end users Good database design uses an appropriate data model as its foundation

Data Modeling Model shows the data that is collected and stored, its characteristics and the relationships between the data

Agenda Data Modeling Types of Models Entity Relationship Model

Types of Models Evolution of Data Models: Hierarchical Network Relational Object Oriented

Types of Models Hierarchical Model: Basic concepts of this model formed the basis for subsequent database development Based on a parent/child relationship Each parent can have many children Each child can have only one parent Similar to a tree structure: Tree is defined by path that traces parent segments to child segments, beginning from top left

Types of Models Hierarchical Model: Advantages: Conceptual simplicity Efficient Disadvantages Complex implementation Complex applications programming and use Implementation limitations

Types of Models

Network Model Represents complex data relationships more effectively Improved database standard Based on a parent/child relationship Each parent can have many children Each child can have more than one parent

Types of Models Network Model: Advantages: Conceptual simplicity Handles more relationship types Disadvantages Complex implementation Complex applications programming and use

Types of Models

Relational Model Performs basic functions provided by both hierarchical and network models Based on tables (resembles a file) Columns represent fields Rows represent records Tables are related based on a common field

Types of Models Relational Model Advantages: Structural independence Improved conceptual simplicity Easier database design, implementation, and use Ad hoc capability Disadvantages: Substantial hardware and software overhead Can facilitate poor design and implementation

Types of Models Relational Model

Types of Models Object Oriented Similar to relational model Models objects (not tables) Objects contain operations too (not just field names) Objects that have similar characteristics are grouped into classes

Types of Models Object Oriented Classes are organized in a class hierarchy Allows for inheritance (ability for an object within a class hierarchy to inherit the attributes and methods of classes above it)

Types of Models Object Model Advantages: Significant code reusability Allows for complex data types Supports sophistications transaction and information requirements Improved conceptual simplicity Disadvantages: Complex navigational access Steep learning curve

Types of Models Sample OO Model (without operations/methods)

Agenda Data Modeling Types of Models Entity Relationship Model

The first step in database design is to gather requirements Done through: Interviews with end-users/management Reviewing application documentation done by a business/systems analyst Review existing documentation GUI interfaces Existing reports/documents

Entity Relationship Model Need to clearly understand user’s data requirements Need to understand the business rules that affect the data Need to create a model to reflect what requirements have been gathered – Entity Relationship Model

Entity Relationship Model A representation, usually graphical, of complex real-world data structures – organizes data for various users Communications tool to facilitate interaction between designers, application programmers and the end users

Entity Relationship Model Entity Relationship Diagram (ERD): graphical representation of the Entity Relationship Model ERD: Shows entities Entity is mapped to a relational table Entity instance (or occurrence) is a row in a table Connectivity between entities show types of relationships More than one type of ERD models exists

Entity Relationship Model Chen ERD

Entity Relationship Model Crow’s Foot ERD

Entity Relationship Model ERD is a Conceptual Model Represents a global view of the database Basis for identification and description of main entities May or may not contain fields names, keys Advantages Easy to understand the data environment Independent of both software and hardware Changes in either the hardware or software have not effect on the database design at the conceptual level

Entity Relationship Model Conceptual Model

Entity Relationship Model Conceptual Model Represents a global view of the database Basis for identification and description of main entities May or may not contain fields names, keys Advantages Easy to understand the data environment Independent of both software and hardware Changes in either the hardware or software have not effect on the database design at the conceptual level

Physical Model Software and hardware dependent Need to have a detailed knowledge of both the hardware and software used to implement database design