SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Presentation Contents
• An Introduction
• Entities & Relationships
• Cardinality, Degree, Existence of Relationships
• Attributes and Identifiers
• Building an Entity-Relationship model
History of
E-R Model
An Introduction
• E-R Model was proposed by Dr. Peter Chen
(currently professor at Louisiana State
University)
• Chen’s original paper on E-R Model is the 35th
most sited paper in computer science
• Chen has written papers interconnecting E-R
model and linguistics
Database Life
Cycle
An Introduction
Requirements
• specification of customer/user needs/desires
Design
• specification of potential solution or solution approach
Implementation
• providing the solution
Test Results
• evaluations, inferences, reports, documentation
Modifications
• changes/additions to solution
An Introduction
The three schema approach to software engineering uses three levels
of ER models that was developed.
Conceptual data model
Logical data model
Physical data model
The Conceptual Model
• Conceptual model captures the global/institutional view of the data semantics.
• It investigates and enumerates the various entities that participate in the
business environment being modelled
Conceptual
Data Model
Features of
E-R Model
An Introduction
1. Diagrammatic.
2. Simple but expressive.
3. Easy to map into traditional DBMS models.
4. Extensions
> Extended ER Model
> Entity Category Relationship Model
> Enhanced ER Model
E-R Modeling
Entities & Relationships
Entity-Relationship (E-R) Modeling is a
conceptual modeling tool.
perceives the business environment in terms of
participating “entities” and the “relationship”
between them.
e.g. many employees work for a department
E-R Modeling
Entities & Relationships
Entity
is a “data object”
models some object/entity in the real-world;
entity type represents the set of all similar
objects.
identified by the nouns in the requirements
specification.
must have a name that is unique across the
entire model and has a consistent meaning
across the modelling team and the end users.
E-R Modeling
Entities & Relationships
Attributes
characteristics/properties of an entity, that
provide descriptive details of it.
every attribute must be given a name that is
unique across the entity (distinct entities may
have attributes with the same name).
attribute names are also subject to the same
rules that govern entity names (consistent
meaning, documentation, etc..)
EMP ID
Name Address
Types of
Attributes
Entities & Relationships
1.Simple and composite
2.Single-valued and multivalued
3.Null
4.Derived
Entities & Relationships
Relationship
• ER models in the real-world association between two
or more entities (binary, ternary relationship).
• A relationship can be optional or mandatory
“degree” is the number of entity sets involved in
• the relationship. typically 2 (binary); other
common degrees are 1 (recursive) and 3 (ternary).
Attributes and Identifiers
Simple and Composite
Attributes
Simple Attribute: An attribute composed of a
single component with an independent
existence. E.g position and salary of the Staff
entity.
Composite Attribute: An attribute composed
of multiple components, each with an
independent existence. E.g adress attribute of
the branch entity that can be subdivided into
street, city and postcode attributes
Single-Valued and Multi-Valued
Attributes
Single-Valued Attribute: An attribute that
holds a single value for each occurrence of an
entity type. E.g branch No.
Multi-Valued Attributes: An attribute that
holds multiple values for each occurrence of
an entity type. E.g telephone No.
Attributes and Identifiers
Derived
Attributes
Derived Attributes: An attribute that
represents a value that is derivable from the
value of a related attribute or set of
attributes, not necessarily in the same entity
type.
E.g attribute duration which value is
derived from the rent Start and rent Finish
attributes.
Attributes and Identifiers
Cardinality, Degree, Existence of Relationship
Cardinality
• “Cardinality” indicates the entity occurrences (instances) participating
in a relationship.
• takes values as “one” or “many”. e.g. a one: many relationship
indicates that for
• Every occurrence of one entity, there are many related instances of the
other entity.
Employee Department
Cardinality, Degree, Existence of Relationship
One-to-One (1:1)
Cardinality, Degree, Existence of Relationship
One-to-Many (1:*)
Cardinality, Degree, Existence of Relationship
Many-to-Many (*:*)
Building the ER Model
• the requirements specification is the first step to any
design; it captures the ‘what’ of the business
environment.
• also documents the “business rules” - i.e., the
constraints that will apply to your database.
e.g. every department must have a manager; and
only one manager.
• the ER model must capture the participating entities
as well as these business rules.
Building the ER Model
Entity : Categorization
• Fundamental/strong entity
an entity that is capable of its “own existence” -
i.e. an entity whose instances exist
notwithstanding the existence of other entities.
• Weak Entities
• Associative Entities
Building the ER Model
Weak Entity
• an entity that is not capable of “its own
existence”.
• characterised by the need to have at least one
external identifier (of another entity) as part of
its own identifier. e.g. consider “ payment” and
“ pmt_items” “ pmt_items” cannot exist without
a corresponding “ payment” instance. “pmt_id”
of “ payment” will be part of the identifier of “
pmt_items”.
Building the ER Model
Associative Entity
• a relationship translates into migration of a key
many:many relationship implies the keys migrating many
times, both ways.
• such migration leads to redundancy and many:many
relationships must therefore be resolved.
• “Associative entity” is an entity that is used to resolve a
many:many relationship.

Weitere ähnliche Inhalte

Was ist angesagt?

Er model ppt
Er model pptEr model ppt
Er model pptPihu Goel
 
ER DIAGRAM & ER MODELING IN DBMS
ER DIAGRAM & ER MODELING IN DBMSER DIAGRAM & ER MODELING IN DBMS
ER DIAGRAM & ER MODELING IN DBMSssuser20b618
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagramHaseeb
 
Presentation database about ERD
Presentation database about ERDPresentation database about ERD
Presentation database about ERDElis Ervina
 
Erd chapter 3
Erd chapter 3Erd chapter 3
Erd chapter 3Nargis Ehsan
 
Lecture 03 data abstraction and er model
Lecture 03 data abstraction and er modelLecture 03 data abstraction and er model
Lecture 03 data abstraction and er modelemailharmeet
 
Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship modelJafar Nesargi
 
Revision ch 3
Revision ch 3Revision ch 3
Revision ch 3Rupali Rana
 
Advantages and disadvantages of er model in DBMS. Types of database models ..
Advantages and disadvantages of er model in DBMS. Types of database models ..Advantages and disadvantages of er model in DBMS. Types of database models ..
Advantages and disadvantages of er model in DBMS. Types of database models ..Nimrakhan89
 
Special lecture er diagram
Special lecture er diagramSpecial lecture er diagram
Special lecture er diagramNiaz Ali
 
Database Modeling Using Entity.. Weak And Strong Entity Types
Database Modeling Using Entity.. Weak And Strong Entity TypesDatabase Modeling Using Entity.. Weak And Strong Entity Types
Database Modeling Using Entity.. Weak And Strong Entity Typesaakanksha s
 
E-R Diagram of College Management Systems
E-R Diagram of College Management SystemsE-R Diagram of College Management Systems
E-R Diagram of College Management SystemsOmprakash Chauhan
 
ER Diagrams Simplified
ER Diagrams SimplifiedER Diagrams Simplified
ER Diagrams SimplifiedPuneet Arora
 
Entityrelationshipmodel
EntityrelationshipmodelEntityrelationshipmodel
EntityrelationshipmodelEnes Bolfidan
 
DBMS 2 | Entity Relationship Model
DBMS 2 | Entity Relationship ModelDBMS 2 | Entity Relationship Model
DBMS 2 | Entity Relationship ModelMohammad Imam Hossain
 

Was ist angesagt? (20)

Er model ppt
Er model pptEr model ppt
Er model ppt
 
ER DIAGRAM & ER MODELING IN DBMS
ER DIAGRAM & ER MODELING IN DBMSER DIAGRAM & ER MODELING IN DBMS
ER DIAGRAM & ER MODELING IN DBMS
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagram
 
Presentation database about ERD
Presentation database about ERDPresentation database about ERD
Presentation database about ERD
 
Er Modeling
Er ModelingEr Modeling
Er Modeling
 
Erd chapter 3
Erd chapter 3Erd chapter 3
Erd chapter 3
 
DBMS UNIT1
DBMS UNIT1DBMS UNIT1
DBMS UNIT1
 
Lecture 03 data abstraction and er model
Lecture 03 data abstraction and er modelLecture 03 data abstraction and er model
Lecture 03 data abstraction and er model
 
Db lec 02_new
Db lec 02_newDb lec 02_new
Db lec 02_new
 
Data model and entity relationship
Data model and entity relationshipData model and entity relationship
Data model and entity relationship
 
Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship model
 
Revision ch 3
Revision ch 3Revision ch 3
Revision ch 3
 
Advantages and disadvantages of er model in DBMS. Types of database models ..
Advantages and disadvantages of er model in DBMS. Types of database models ..Advantages and disadvantages of er model in DBMS. Types of database models ..
Advantages and disadvantages of er model in DBMS. Types of database models ..
 
Special lecture er diagram
Special lecture er diagramSpecial lecture er diagram
Special lecture er diagram
 
Er model
Er modelEr model
Er model
 
Database Modeling Using Entity.. Weak And Strong Entity Types
Database Modeling Using Entity.. Weak And Strong Entity TypesDatabase Modeling Using Entity.. Weak And Strong Entity Types
Database Modeling Using Entity.. Weak And Strong Entity Types
 
E-R Diagram of College Management Systems
E-R Diagram of College Management SystemsE-R Diagram of College Management Systems
E-R Diagram of College Management Systems
 
ER Diagrams Simplified
ER Diagrams SimplifiedER Diagrams Simplified
ER Diagrams Simplified
 
Entityrelationshipmodel
EntityrelationshipmodelEntityrelationshipmodel
Entityrelationshipmodel
 
DBMS 2 | Entity Relationship Model
DBMS 2 | Entity Relationship ModelDBMS 2 | Entity Relationship Model
DBMS 2 | Entity Relationship Model
 

Andere mochten auch

Entity relationship model
Entity relationship modelEntity relationship model
Entity relationship modelSamuel Igbanogu
 
Introduction to office 2013
Introduction to office 2013Introduction to office 2013
Introduction to office 2013Bishrul Haq
 
Normalization in a Database
Normalization in a DatabaseNormalization in a Database
Normalization in a DatabaseBishrul Haq
 
Entity relationship(er) model
Entity relationship(er) modelEntity relationship(er) model
Entity relationship(er) modelRahul Khanwani
 
Entity relationship modelling - DE L300
Entity relationship modelling - DE L300Entity relationship modelling - DE L300
Entity relationship modelling - DE L300Edwin Ayernor
 
The effects of Social Networking upon society
The effects of Social Networking upon societyThe effects of Social Networking upon society
The effects of Social Networking upon societyBishrul Haq
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship ModelSlideshare
 
Negative impacts of social networking
Negative impacts of social networkingNegative impacts of social networking
Negative impacts of social networkingrei_ra
 
The effect-of-social-networking-sites
The effect-of-social-networking-sitesThe effect-of-social-networking-sites
The effect-of-social-networking-sitesRam Patil
 
Social networking PPT
Social networking PPTSocial networking PPT
Social networking PPTvarun0912
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerLuminary Labs
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsLinkedIn
 

Andere mochten auch (12)

Entity relationship model
Entity relationship modelEntity relationship model
Entity relationship model
 
Introduction to office 2013
Introduction to office 2013Introduction to office 2013
Introduction to office 2013
 
Normalization in a Database
Normalization in a DatabaseNormalization in a Database
Normalization in a Database
 
Entity relationship(er) model
Entity relationship(er) modelEntity relationship(er) model
Entity relationship(er) model
 
Entity relationship modelling - DE L300
Entity relationship modelling - DE L300Entity relationship modelling - DE L300
Entity relationship modelling - DE L300
 
The effects of Social Networking upon society
The effects of Social Networking upon societyThe effects of Social Networking upon society
The effects of Social Networking upon society
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
Negative impacts of social networking
Negative impacts of social networkingNegative impacts of social networking
Negative impacts of social networking
 
The effect-of-social-networking-sites
The effect-of-social-networking-sitesThe effect-of-social-networking-sites
The effect-of-social-networking-sites
 
Social networking PPT
Social networking PPTSocial networking PPT
Social networking PPT
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 

Ähnlich wie Entity-Relationship Data Model

er-models.pptx
er-models.pptxer-models.pptx
er-models.pptxUmmerFarooq24
 
ICT DBA3 09 0710 Model Data Objects.pdf
ICT DBA3 09 0710 Model Data Objects.pdfICT DBA3 09 0710 Model Data Objects.pdf
ICT DBA3 09 0710 Model Data Objects.pdfInfotech27
 
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptxDATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptxJasmineMichael1
 
E_R-Diagram (2).pptx
E_R-Diagram (2).pptxE_R-Diagram (2).pptx
E_R-Diagram (2).pptxsandeep54552
 
2 er
2 er2 er
2 erELIMENG
 
Database part3-
Database part3-Database part3-
Database part3-Taymoor Nazmy
 
Cn presentation on the topic called as re modelling
Cn presentation on the topic called as re modellingCn presentation on the topic called as re modelling
Cn presentation on the topic called as re modellingg30162363
 
Advance database system(part 4)
Advance database system(part 4)Advance database system(part 4)
Advance database system(part 4)Abdullah Khosa
 
entityrelationshipmodel.pptx
entityrelationshipmodel.pptxentityrelationshipmodel.pptx
entityrelationshipmodel.pptxThangamaniR3
 
RDBMS ERD
RDBMS ERDRDBMS ERD
RDBMS ERDSarmad Ali
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship DiagramRakhi Mukherji
 
dbms mannual.pdf
dbms mannual.pdfdbms mannual.pdf
dbms mannual.pdfDevidasBhere
 

Ähnlich wie Entity-Relationship Data Model (20)

Database design
Database designDatabase design
Database design
 
er-models.pptx
er-models.pptxer-models.pptx
er-models.pptx
 
ICT DBA3 09 0710 Model Data Objects.pdf
ICT DBA3 09 0710 Model Data Objects.pdfICT DBA3 09 0710 Model Data Objects.pdf
ICT DBA3 09 0710 Model Data Objects.pdf
 
ER MODEL.pptx
ER MODEL.pptxER MODEL.pptx
ER MODEL.pptx
 
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptxDATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
 
E_R-Diagram (2).pptx
E_R-Diagram (2).pptxE_R-Diagram (2).pptx
E_R-Diagram (2).pptx
 
2 er
2 er2 er
2 er
 
Database part3-
Database part3-Database part3-
Database part3-
 
Cn presentation on the topic called as re modelling
Cn presentation on the topic called as re modellingCn presentation on the topic called as re modelling
Cn presentation on the topic called as re modelling
 
Advance database system(part 4)
Advance database system(part 4)Advance database system(part 4)
Advance database system(part 4)
 
ERD.ppt
ERD.pptERD.ppt
ERD.ppt
 
ERD.ppt
ERD.pptERD.ppt
ERD.ppt
 
Data Models.pptx
Data Models.pptxData Models.pptx
Data Models.pptx
 
entityrelationshipmodel.pptx
entityrelationshipmodel.pptxentityrelationshipmodel.pptx
entityrelationshipmodel.pptx
 
RDBMS ERD
RDBMS ERDRDBMS ERD
RDBMS ERD
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
database
databasedatabase
database
 
Day 1 SQL.pptx
Day 1 SQL.pptxDay 1 SQL.pptx
Day 1 SQL.pptx
 
SQL.pptx
SQL.pptxSQL.pptx
SQL.pptx
 
dbms mannual.pdf
dbms mannual.pdfdbms mannual.pdf
dbms mannual.pdf
 

KĂźrzlich hochgeladen

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 

KĂźrzlich hochgeladen (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 

Entity-Relationship Data Model

  • 1.
  • 2. Presentation Contents • An Introduction • Entities & Relationships • Cardinality, Degree, Existence of Relationships • Attributes and Identifiers • Building an Entity-Relationship model
  • 3. History of E-R Model An Introduction • E-R Model was proposed by Dr. Peter Chen (currently professor at Louisiana State University) • Chen’s original paper on E-R Model is the 35th most sited paper in computer science • Chen has written papers interconnecting E-R model and linguistics
  • 4. Database Life Cycle An Introduction Requirements • specification of customer/user needs/desires Design • specification of potential solution or solution approach Implementation • providing the solution Test Results • evaluations, inferences, reports, documentation Modifications • changes/additions to solution
  • 5. An Introduction The three schema approach to software engineering uses three levels of ER models that was developed. Conceptual data model Logical data model Physical data model The Conceptual Model • Conceptual model captures the global/institutional view of the data semantics. • It investigates and enumerates the various entities that participate in the business environment being modelled Conceptual Data Model
  • 6. Features of E-R Model An Introduction 1. Diagrammatic. 2. Simple but expressive. 3. Easy to map into traditional DBMS models. 4. Extensions > Extended ER Model > Entity Category Relationship Model > Enhanced ER Model
  • 7. E-R Modeling Entities & Relationships Entity-Relationship (E-R) Modeling is a conceptual modeling tool. perceives the business environment in terms of participating “entities” and the “relationship” between them. e.g. many employees work for a department
  • 8. E-R Modeling Entities & Relationships Entity is a “data object” models some object/entity in the real-world; entity type represents the set of all similar objects. identified by the nouns in the requirements specification. must have a name that is unique across the entire model and has a consistent meaning across the modelling team and the end users.
  • 9. E-R Modeling Entities & Relationships Attributes characteristics/properties of an entity, that provide descriptive details of it. every attribute must be given a name that is unique across the entity (distinct entities may have attributes with the same name). attribute names are also subject to the same rules that govern entity names (consistent meaning, documentation, etc..) EMP ID Name Address
  • 10. Types of Attributes Entities & Relationships 1.Simple and composite 2.Single-valued and multivalued 3.Null 4.Derived
  • 11. Entities & Relationships Relationship • ER models in the real-world association between two or more entities (binary, ternary relationship). • A relationship can be optional or mandatory “degree” is the number of entity sets involved in • the relationship. typically 2 (binary); other common degrees are 1 (recursive) and 3 (ternary).
  • 12. Attributes and Identifiers Simple and Composite Attributes Simple Attribute: An attribute composed of a single component with an independent existence. E.g position and salary of the Staff entity. Composite Attribute: An attribute composed of multiple components, each with an independent existence. E.g adress attribute of the branch entity that can be subdivided into street, city and postcode attributes
  • 13. Single-Valued and Multi-Valued Attributes Single-Valued Attribute: An attribute that holds a single value for each occurrence of an entity type. E.g branch No. Multi-Valued Attributes: An attribute that holds multiple values for each occurrence of an entity type. E.g telephone No. Attributes and Identifiers
  • 14. Derived Attributes Derived Attributes: An attribute that represents a value that is derivable from the value of a related attribute or set of attributes, not necessarily in the same entity type. E.g attribute duration which value is derived from the rent Start and rent Finish attributes. Attributes and Identifiers
  • 15. Cardinality, Degree, Existence of Relationship Cardinality • “Cardinality” indicates the entity occurrences (instances) participating in a relationship. • takes values as “one” or “many”. e.g. a one: many relationship indicates that for • Every occurrence of one entity, there are many related instances of the other entity. Employee Department
  • 16. Cardinality, Degree, Existence of Relationship One-to-One (1:1)
  • 17. Cardinality, Degree, Existence of Relationship One-to-Many (1:*)
  • 18. Cardinality, Degree, Existence of Relationship Many-to-Many (*:*)
  • 19. Building the ER Model • the requirements specification is the first step to any design; it captures the ‘what’ of the business environment. • also documents the “business rules” - i.e., the constraints that will apply to your database. e.g. every department must have a manager; and only one manager. • the ER model must capture the participating entities as well as these business rules.
  • 20. Building the ER Model Entity : Categorization • Fundamental/strong entity an entity that is capable of its “own existence” - i.e. an entity whose instances exist notwithstanding the existence of other entities. • Weak Entities • Associative Entities
  • 21. Building the ER Model Weak Entity • an entity that is not capable of “its own existence”. • characterised by the need to have at least one external identifier (of another entity) as part of its own identifier. e.g. consider “ payment” and “ pmt_items” “ pmt_items” cannot exist without a corresponding “ payment” instance. “pmt_id” of “ payment” will be part of the identifier of “ pmt_items”.
  • 22. Building the ER Model Associative Entity • a relationship translates into migration of a key many:many relationship implies the keys migrating many times, both ways. • such migration leads to redundancy and many:many relationships must therefore be resolved. • “Associative entity” is an entity that is used to resolve a many:many relationship.