تانايبلا دعاوق يلا لخ دم 111 لاح - 3 Chapter 1 - Data Model
تانايبلا دعاوق يلا لخ دم 111 لاح - 3 Chapter 1 - Data Model
Data Model
Integrated collection of concepts for describing data, relationships between
data and constraints on the data in an organization.
A data model can be thought of as a diagram or flowchart that illustrates the
relationships between data.
The structure of a database is a data model.
A DATABASE MODEL
A database model is a type of data model that determines the logical structure of
a database and fundamentally determines in which manner data can be stored,
organized, and manipulated. The most popular example of a database model is
the relational model, which uses a table-based format.
Data Model comprises:
a structural part;
a manipulative part;
Purpose
E-R data model is one of several semantic data models that is, it attempts to
represent the meaning of the data.
The E-R model employs three basic concepts:
a)
Entity sets
b)
Relationship sets
c)
Attributes.
An entity is an object in the real world that is distinguishable from all other
5 of 1Page
3- 111
CHAPTER 1 . DATA MODEL
objects. An entity set is a set of entities of the same type that share the same
properties (or attributes). Attributes are descriptive properties possessed by all
members of an entity set. Each entity has its own value for each attribute. A set of
attributes that suffices to distinguish all entities in an entity set is called a primary
key. A relationship is an association among several entities.
Extended E-R features include specialization, generalization, higher- and
lower-level entity sets, attribute inheritance, and aggregation
Entity Relationship Database Model
Complements the relational data model concepts
Represented in an entity relationship diagram (ERD)
Based on entities, attributes, and relationships
5 of 1Page
3- 111
CHAPTER 1 . DATA MODEL
into an inheritance hierarchy; each class inherits attributes and methods from
classes that are above it in the hierarchy. Taking full advantage of both the
code- and object-sharing features is an important aspect of object-oriented data
modeling
.
2. Physical.
Physical data models are used to describe data at the lowest level.
Physical data models capture aspects of database system
implementation.
3. Record-Based Data Models
3.1.
5 of 3Page
3- 111
CHAPTER 1 . DATA MODEL
5 of 4Page
111 3-
CHAPTER 1 . DATA MODEL
5 of 5Page