Академический Документы
Профессиональный Документы
Культура Документы
Static Information
Data --- Entities
Associations --Relationships
among entities
Dynamic Information
Processes –
Operations/Transactions
Integrity Constraints – Business
rules/regulations and data
10/5/2009 meanings 2
What is Data Model
Data Relationships
Data semantics
Data constraints
10/5/2009 3
System Model Tools
10/5/2009 4
Basic Terms in Data Model
Entity : Something that exists and can be
distinguished from other entities
Ex:
Student entity with unique roll number
Account Entity with unique account
number
10/5/2009 5
Types of Entities
10/5/2009 6
Relationship: An association among two
or more entities
Relationship set: A set of relationship of
the same type
Attribute: A characteristic of an entity
Domain of Attribute: A set of possible
values for an attribute
10/5/2009 7
The Entity-Relationship Model
10/5/2009 8
Components of E-R diagram
Entities
Relationship
Attributes
10/5/2009 9
Notations used in E-R
diagram
Rectangles- represents entity set
Ecllipses- represents attribute
Diamonds- represents relationships
among entity set
Lines- represents link between entity sets
and entity sets to relationships
10/5/2009 10
Relational Model
It uses a collection of tables to represent both
data and the relationships among those data
Each table has multiple columns, and each
column has unique name
The relational model hides low-level
implementation details from database
developers and users
The relational model is the most widely used
model
The relational model is at a lower level of
abstraction than E-R model
Database designs are carried out in the E-R
model and then translated to the relational
10/5/2009
model 11
Other Data Models