ChapterFive DataModels
ChapterFive DataModels
Data Models
Therefore we can say that the Data Model is the data structure
relations.
A d a t a bas e M a n a g e m e n t S y s t e m ( D B M S ) i s n o r m a l l y d e s i g n e d
e n t i t i e s ( O n e - t o O n e , O n e - t o M a n y , M a n y - t o M a n y . . . ), s o
MODELS:
Dr Amal Al-Dujaily
Database Management System Spring 2010-11
d a t a o r f i l e w i t h p a r e n t a n d c h i l d r e l a t i o n s h i p . T h e restriction
being that a child can have only parent as shown below. This type
University
CAAS CCBA EC
We can see that the database of University would have files of various
Dr Amal Al-Dujaily
Database Management System Spring 2010-11
Thus it is inflexible.
of database.
Dr Amal Al-Dujaily
Database Management System Spring 2010-11
CCBA
Courses CASS EC
Th
e nature of the network data model allows all types of
relationships between data attributes.
Dr Amal Al-Dujaily
Database Management System Spring 2010-11
Increases.
Example: UNIVAC 's DMS 1100 and DBMS 10-20 from DEC are
audio and video. OODB keep track of objects, which are entities that
Dr Amal Al-Dujaily
Database Management System Spring 2010-11
photos as well as some information about that person and some instruction
for processing the data such as calculate and print monthly bills.
The hierarchical and network data models are unstable because of the
hidden pointers in the records. In the event of the system errors, the chain
data integrity. The Relational model was proposed by Dr Ted Codd in 1970.
This model simplified the database structure. It uses the tables. Data
looked upon and stored as tables and nothing but tables. But these tables
between the tables each table must have unique rows. The columns
values or cell values must be single valued. A named table is also known
as a relation.
For example, we can keep the general information about the student of class
Dr Amal Al-Dujaily
Database Management System Spring 2010-11
STUDENT Player
STN STNAME GROUP Ye STN Games
1000 Ali .H 1 101 1000 Cricket
2000 Sneed .M I 10 2000 Football
3000 Nadia .S 201 3000 Badminto
4000 Salim.W 1 200 4000 Basketbal
5000 Akram.G 1 201 5000 Boxing
6000 Football
6000 Haifa.E 200
It may be noted that in the above two relations the field STN is common.
Such column helps in accessing and manipulating data from different tables.
understand.
Dr Amal Al-Dujaily