Database Management
Database Management
Database Management
Diagram
(ERD)
CONTENTS
What is an ER diagram?
History of ER models
Uses of entity relationship diagrams
The components and features of an ER diagram
ERD symbols and notations
Limitations of ER diagrams and models
How to draw a basic ER diagram
References
What is an ER diagram?
type of flowchart
The ER diagram defines the conceptual view of a
database. It works around real-world entities and the
associations among them. At view level, the ER model
is considered a good option for designing databases.
History of ER models
Peter Pin-Shan Chen
Information
Engineering Style:
ERD symbols and notations
ERD symbols and notations
ERD symbols and notations
ERD symbols and notations
ERD symbols and notations
Limitations of ER
diagrams and models
Only for relational data: Understand that the purpose is to show relationships.
ER diagrams show only that relational structure.
Not for unstructured data: Unless the data is cleanly delineated into different
fields, rows or columns, ER diagrams are probably of limited use. The same is
true of semi-structured data, because only some of the data will be useful.
Difficulty integrating with an existing database: Using ER Models to integrate
with an existing database can be a challenge because of the different
architectures.
How to draw a basic ER
diagram
Purpose and scope: Define the purpose and scope of what youre analyzing or
modeling.
Entities: Identify the entities that are involved. When youre ready, start drawing
them in rectangles (or your systems choice of shape) and labeling them as
nouns.
Relationships: Determine how the entities are all related. Draw lines between
them to signify the relationships and label them. Some entities may not be
related, and thats fine. In different notation systems, the relationship could be
labeled in a diamond, another rectangle or directly on top of the connecting
line.
Attributes: Layer in more detail by adding key attributes of entities. Attributes
are often shown as ovals.
Cardinality: Show whether the relationship is 1-1, 1-many or many-to-many.
https://www.youtube.com/watch?v=QpdhBUYk7Kk
References
https://www.smartdraw.com/entity-relationship-diagram/
https://www.slideshare.net/mudasirqazi00/database-entity-relationship-
diagram-erd?qid=9e71a77a-fedc-4d9a-b468-8090d75a691a&v=&b=&from_search
=2
https://www.slideshare.net/pramodredekar/erd-examples?qid=9e71a77a-f
edc-4d9a-b468-8090d75a691a&v=&b=&from_search=10
https://www.lucidchart.com/documents/edit/c8bfb9dc-84f4-42f7-99a7-835e
c37977db#
22