Lecture 2 Data Models. Learning Objectives Why data models are important About the basic data-modeling building blocks What business rules are and how.

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 Ninth Edition
Introduction to Databases
ITS232 Introduction To Database Management Systems
Object-Oriented Databases v OO systems associated with – graphical user interface (GUI) – powerful modeling techniques – advanced data management capabilities.
Databases Chapter Distinguish between the physical and logical view of data Describe how data is organized: characters, fields, records, tables,
Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
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
File Systems and Databases Hachim Haddouti
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
8/28/97Information Organization and Retrieval Files and Databases University of California, Berkeley School of Information Management and Systems SIMS.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 2 Data Models Database Systems, 8th Edition 1.
Evolution in Database Models
LOGICAL DATABASE DESIGN
Structured Vs. Object Oriented Analysis and Design SAD Vs. OOAD
LECTURE 2 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE.
Database Design and Introduction to SQL
What is a Database? A database is any collection of data.
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.
Database Management System Lecture 3 Models of Database Management Systems.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
2 1 Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Database Design - Lecture 2
Database Systems: Design, Implementation, and Management Ninth Edition
History of Implementation Data Models. Databases were: Early Business Computer Systems –Accounting functions - payroll, profit/loss statements Files of.
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.
 Data Model Data Model  Categories of Data Models Categories of Data Models  Object Based Data Models Object Based Data Models  Physical Data Models.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
INSS 651 Chapter 1. Learning Objectives To develop the main database system concepts. To show the evolution of database systems from computer file systems.
1 Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
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.
Database Concepts. Data :Collection of facts in raw form. Information : Organized and Processed data is information. Database : A Collection of data files.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
DATA MODELS. Data Models A model is a representation of reality, ‘real world’ objects and events, and their associations. It is an abstraction that concentrates.
By Stephanie Wood And Nedziba Bubregovic.  A very large collection of data  A database management system is a software package designed to store and.
Relational Theory and Design
L Department of Mathematics Computer and Information Science l1l1 1 CS 351: Database Management Christopher I. G. Lanclos Chapter 2.
ITEC 3220A Using and Designing Database Systems
Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Databases Chapter Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
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.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
DBS201: Data Modeling. Agenda Data Modeling Types of Models Entity Relationship Model.
IST 210 Database Design Process IST 210, Section 1 Todd S. Bacastow January 2004.
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.
Data Resource Management Lecture 8. Traditional File Processing Data are organized, stored, and processed in independent files of data records In traditional.
Geographic Information Systems GIS Data Databases.
Architecture & Data Models
Roles in the Database Environment
DATA MODELS.
File Systems and Databases
Data Model.
Database Design Hacettepe University
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Geographic Information Systems
Presentation transcript:

Lecture 2 Data Models

Learning Objectives Why data models are important About the basic data-modeling building blocks What business rules are and how they affect database design How the major data models evolved, and their advantages and disadvantages How data models can be classified by level of abstraction

Data model: Models abstraction of real-world Events DB Model: Represents data structure and relationship Conceptual "What" is represented Implementation "How" represented

CONCEPTUAL 3 types of associations:..one to many..many to many..one-to-one

Implementation How data is represented in database ?

Types of Data Models Hierarchical (see page 33) Network (see page 34)..Simple..Complex Relational (page 36) Object-Oriented (page 41)

Hierarchical DB Model ex: IMS by IBM basic unit is SEGMENT (similar to a record) root..a child can have at the most one parent..a parent can have many children navigation path.pre order traversing.post order traversing

Advantages/Disadvantages Advtg: allows data sharing data independence data integrity efficient for DISADVTG: need to know some PHYSICAL level details data that do not conform to 1:m complex and less flexible need to provide navigational path ad-hoc capabilities limited

Network DB model SET OWNER and MEMBERS

Advantages/Disadvantages Advantages:.m:n easy to implement.data integrity is maintained.data independence Disadvantages:.Complex.no structural independence.navigation path

Relational Model: (p 36) Linking relational tables (page 37) Typically done through primary and foreign key Read the examples carefully

Object-Oriented Model: (page 41) Objects are defined (similar to entities) Objects contain data and procedures Objects can FIT with other objects Objects are reusable Objects have INHERITANCE property

ER Data Model (page 38) Define Entities Attributes Relationships

Degree of DATA abstraction Conceptual IT (hardware/software independent) Internal (DBMS dependent) External (end user orientation) Physical Model (actual implementation)

Supplemental reading: