SlideShare une entreprise Scribd logo
1  sur  34
Lecture 3 Entity Relationship (E-R) Modeling
In this lecture, you will learn: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Basic Modeling Concepts ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Models: Degrees of Data Abstraction Figure 3.1
Degrees of Abstraction ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Degrees of Abstraction (con’t.) ,[object Object],[object Object],[object Object],[object Object]
Degrees of Abstraction (con’t.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The Entity Relationship (E-R) Model ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Attributes ,[object Object],[object Object],[object Object],Figure 3.6
Attributes (con’t.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Relationships ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Connectivity and Cardinality in an ERD Figure 3.12
Relationship Strength ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Relationship Participation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Weak Entity ,[object Object],[object Object],[object Object],Figure 3.19
Relationship Degree ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Three Types of Relationships Figure 3.21
Composite Entities ,[object Object],[object Object],Figure 3.30
Composite Entities (con’t.) Figure 3.31
Entity Supertypes and Subtypes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Generalization Hierarchy with Overlapping Subtypes Figure 3.35
Comparison of E-R Modeling Symbols ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Comparison of E-R Modeling Symbols Figure 3.36
Developing an E-R Diagram ,[object Object],[object Object],[object Object],[object Object],[object Object]
Supertype/Subtype Relationship in an ERD  Figure 3.42
First ERD Segment Established  Figure 3.43
Second and Third ERD  Segments Established  Figures 3.44 & 3.45
Fourth and Fifth ERD  Segments Established  Figures 3.46 & 3.47
Sixth and Seventh ERD  Segments Established  Figures 3.48 & 3.49
Eighth ERD  Segment Established  Figures 3.50
Ninth ERD  Segment Established  Figures 3.51
Components of E-R Model Table 3.2
Completed ERD Figure 3.52
Challenge of Database Design: Conflicting Goals ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Contenu connexe

Tendances

Stacks & Queues
Stacks & QueuesStacks & Queues
Stacks & Queues
tech4us
 
Lecture 04 normalization
Lecture 04 normalization Lecture 04 normalization
Lecture 04 normalization
emailharmeet
 

Tendances (20)

Data structures & algorithms lecture 3
Data structures & algorithms lecture 3Data structures & algorithms lecture 3
Data structures & algorithms lecture 3
 
MySQL Transactions
MySQL TransactionsMySQL Transactions
MySQL Transactions
 
Linked lists
Linked listsLinked lists
Linked lists
 
Data structure
Data structureData structure
Data structure
 
Tree
TreeTree
Tree
 
Stacks & Queues
Stacks & QueuesStacks & Queues
Stacks & Queues
 
Non Linear Data Structures
Non Linear Data StructuresNon Linear Data Structures
Non Linear Data Structures
 
Less07 storage
Less07 storageLess07 storage
Less07 storage
 
Access 2007
Access 2007Access 2007
Access 2007
 
Quick sort
Quick sortQuick sort
Quick sort
 
Fragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed DatabaseFragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed Database
 
Binary search tree in data structures
Binary search tree in  data structuresBinary search tree in  data structures
Binary search tree in data structures
 
Oracle Tablespace - Basic
Oracle Tablespace - BasicOracle Tablespace - Basic
Oracle Tablespace - Basic
 
Concurrency control
Concurrency controlConcurrency control
Concurrency control
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
Sequential & binary, linear search
Sequential & binary, linear searchSequential & binary, linear search
Sequential & binary, linear search
 
Database Normalization
Database NormalizationDatabase Normalization
Database Normalization
 
Lecture 04 normalization
Lecture 04 normalization Lecture 04 normalization
Lecture 04 normalization
 
Shadow paging
Shadow pagingShadow paging
Shadow paging
 
Insertion sort
Insertion sortInsertion sort
Insertion sort
 

En vedette

Testing lecture after lec 4
Testing lecture after lec 4Testing lecture after lec 4
Testing lecture after lec 4
emailharmeet
 
Lecture 02 terminology of database
Lecture 02 terminology of  databaseLecture 02 terminology of  database
Lecture 02 terminology of database
emailharmeet
 
Lecture 09 dblc centralized vs decentralized design
Lecture 09   dblc centralized vs decentralized designLecture 09   dblc centralized vs decentralized design
Lecture 09 dblc centralized vs decentralized design
emailharmeet
 
Lecture 08 distributed dbms
Lecture 08 distributed dbmsLecture 08 distributed dbms
Lecture 08 distributed dbms
emailharmeet
 
Lecture 06 relational algebra and calculus
Lecture 06 relational algebra and calculusLecture 06 relational algebra and calculus
Lecture 06 relational algebra and calculus
emailharmeet
 
Lecture 09 dblc centralized vs decentralized design
Lecture 09   dblc centralized vs decentralized designLecture 09   dblc centralized vs decentralized design
Lecture 09 dblc centralized vs decentralized design
emailharmeet
 
Lecture 10 distributed database management system
Lecture 10   distributed database management systemLecture 10   distributed database management system
Lecture 10 distributed database management system
emailharmeet
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
emailharmeet
 
Programming course slides c++ (Prof Mansoor Bhatti)
Programming course slides c++ (Prof Mansoor Bhatti)Programming course slides c++ (Prof Mansoor Bhatti)
Programming course slides c++ (Prof Mansoor Bhatti)
Syed Arslan Rizvi
 
Concept of c data types
Concept of c data typesConcept of c data types
Concept of c data types
Manisha Keim
 

En vedette (20)

Erd chapter 3
Erd chapter 3Erd chapter 3
Erd chapter 3
 
Slide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schemaSlide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schema
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
Lecture 3 c++
Lecture 3 c++Lecture 3 c++
Lecture 3 c++
 
Testing lecture after lec 4
Testing lecture after lec 4Testing lecture after lec 4
Testing lecture after lec 4
 
Lecture 02 terminology of database
Lecture 02 terminology of  databaseLecture 02 terminology of  database
Lecture 02 terminology of database
 
Lecture 09 dblc centralized vs decentralized design
Lecture 09   dblc centralized vs decentralized designLecture 09   dblc centralized vs decentralized design
Lecture 09 dblc centralized vs decentralized design
 
Lecture 05 dblc
Lecture 05 dblcLecture 05 dblc
Lecture 05 dblc
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Lecture 08 distributed dbms
Lecture 08 distributed dbmsLecture 08 distributed dbms
Lecture 08 distributed dbms
 
Lecture 06 relational algebra and calculus
Lecture 06 relational algebra and calculusLecture 06 relational algebra and calculus
Lecture 06 relational algebra and calculus
 
Lecture 09 dblc centralized vs decentralized design
Lecture 09   dblc centralized vs decentralized designLecture 09   dblc centralized vs decentralized design
Lecture 09 dblc centralized vs decentralized design
 
Lecture 10 distributed database management system
Lecture 10   distributed database management systemLecture 10   distributed database management system
Lecture 10 distributed database management system
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Lecture 6 operators
Lecture 6   operatorsLecture 6   operators
Lecture 6 operators
 
Programming course slides c++ (Prof Mansoor Bhatti)
Programming course slides c++ (Prof Mansoor Bhatti)Programming course slides c++ (Prof Mansoor Bhatti)
Programming course slides c++ (Prof Mansoor Bhatti)
 
Data Evolution on HBase (with Kiji)
Data Evolution on HBase (with Kiji)Data Evolution on HBase (with Kiji)
Data Evolution on HBase (with Kiji)
 
modeling concepts
modeling conceptsmodeling concepts
modeling concepts
 
Concept of c data types
Concept of c data typesConcept of c data types
Concept of c data types
 
NTU_Portfolio
NTU_PortfolioNTU_Portfolio
NTU_Portfolio
 

Similaire à Lecture 03 data abstraction and er model

3.2 The design model & Architectural design.ppt
3.2 The design model & Architectural design.ppt3.2 The design model & Architectural design.ppt
3.2 The design model & Architectural design.ppt
THARUNS44
 
What is the difference between Data and Information give an exa
What is the difference between Data and Information give an exaWhat is the difference between Data and Information give an exa
What is the difference between Data and Information give an exa
victorring
 
New phase ii-2010
New  phase ii-2010New  phase ii-2010
New phase ii-2010
vijet
 

Similaire à Lecture 03 data abstraction and er model (20)

Dbms
DbmsDbms
Dbms
 
E R model
E R modelE R model
E R model
 
03 chapter
03 chapter03 chapter
03 chapter
 
3.2 The design model & Architectural design.ppt
3.2 The design model & Architectural design.ppt3.2 The design model & Architectural design.ppt
3.2 The design model & Architectural design.ppt
 
SECh78
SECh78SECh78
SECh78
 
Chapter10 conceptual data modeling
Chapter10 conceptual data modelingChapter10 conceptual data modeling
Chapter10 conceptual data modeling
 
Database Management System
Database Management System Database Management System
Database Management System
 
uml.pptx
uml.pptxuml.pptx
uml.pptx
 
What is the difference between Data and Information give an exa
What is the difference between Data and Information give an exaWhat is the difference between Data and Information give an exa
What is the difference between Data and Information give an exa
 
Sq lite module3
Sq lite module3Sq lite module3
Sq lite module3
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
 
Schema Integration, View Integration and Database Integration, ER Model & Dia...
Schema Integration, View Integration and Database Integration, ER Model & Dia...Schema Integration, View Integration and Database Integration, ER Model & Dia...
Schema Integration, View Integration and Database Integration, ER Model & Dia...
 
ch3 final.pptx
ch3 final.pptxch3 final.pptx
ch3 final.pptx
 
New phase ii-2010
New  phase ii-2010New  phase ii-2010
New phase ii-2010
 
Lecture 16 requirements modeling - scenario, information and analysis classes
Lecture 16   requirements modeling - scenario, information and analysis classesLecture 16   requirements modeling - scenario, information and analysis classes
Lecture 16 requirements modeling - scenario, information and analysis classes
 
Entity Relation Diagram (ERD) | Data Modeling | Data Analytics | DBMS
Entity Relation Diagram (ERD) | Data Modeling | Data Analytics | DBMSEntity Relation Diagram (ERD) | Data Modeling | Data Analytics | DBMS
Entity Relation Diagram (ERD) | Data Modeling | Data Analytics | DBMS
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Model
 
DBMS - ER Model
DBMS - ER ModelDBMS - ER Model
DBMS - ER Model
 
E-R model unit(Iv)
E-R model unit(Iv)E-R model unit(Iv)
E-R model unit(Iv)
 
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdfchapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
 

Plus de emailharmeet (8)

Lecture 07 relational database management system
Lecture 07 relational database management systemLecture 07 relational database management system
Lecture 07 relational database management system
 
Lab 1
Lab 1Lab 1
Lab 1
 
Revision Lecture
Revision LectureRevision Lecture
Revision Lecture
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Course File c++
Course File c++Course File c++
Course File c++
 
Assignmnet 1
Assignmnet 1Assignmnet 1
Assignmnet 1
 
Lecture 00 introduction to course
Lecture 00 introduction to courseLecture 00 introduction to course
Lecture 00 introduction to course
 
Syllabus mca 2 rdbms i
Syllabus mca 2 rdbms iSyllabus mca 2 rdbms i
Syllabus mca 2 rdbms i
 

Lecture 03 data abstraction and er model