You are on page 1of 7

Superior university sialkot

Submitted to : prof shohaib


Submitted by:samavia ashraf

[NETWORK MODEL DBMS]


Network Database Model

What is a Database Model?


A database model is a structure or a format of a database.

There are three types of database model that is widely used:

1.) Network Database Model


2.) Hierarchical Database Model
3.) Relational Database Model

Definition of Network Database Model


A network database model is a database model that allows multiple records to be linked
to the same owner file. The model can be seen as an upside down tree where the branches are
the member information linked to the owner, which is the bottom of the tree. The multiple
linkages which this information allows the network database model to be very flexible. In
addition, the relationship that the information has in the network database model is defined as
many-to-many relationship because one owner file can be linked to many member files and
vice versa.

Examples:
An uncle can have many nephew, while a nephew can have many uncles .

Each department is related to each other .


It allow multiple parent /child relationship …..

Network Database vs. Hierarchical Database Model :

Network Database Model Hierarchical Database Model

Many-to-many relationship One-to-many relationship

Easily accessed because of the linkage between Difficult to navigate because of its strict owner
the information to member connection

Great flexibility among the information files Less flexibility with the collection of
because the multiple relationships among the information because of the hierarchical
files position of the files

Network Database vs. Relational Database Model

Network Database Model Relational Database Model

The files are greatly related Information is stored on separate tables tied
together with other clumps of information
Advantages of a Network Database Model

- Because it has the many-many relationship, network database model can easily
be accessed in any table record in the database
- For more complex data, it is easier to use because of the multiple relationship
founded among its data
- Easier to navigate and search for information because of its flexibility

Disadvantage of a Network Database Model

- Difficult for first time users


- Difficulties with alterations of the database because when information entered
can alter the entire database

Hierarchical database model

Hierarchical database model is a structure of data organized in a tree-like model using


parent/child like relationships, therefore there won't be too many relationships. In a
hierarchical database, an entity type can be either a parent or a child; under each individual
entity is more multiple entities. Entity types are related to each other using tree mapping,
which is represented by one parent with many child relationships. There are also attributes of a
specific data recorded under an entity.

Example:

A company will store information about an employee. So in the beginning of the tree will be
the employee name. Below the name will be the data of the employee’s number, department,
salary, etc. Information such as birthday, children, and age will be stored also.

take the corporate structure of a company. On the top is the Stockholders which is the most
important parent, then comes the Board of Directors, then the CEO, under the CEO manages
the CFO, COO, CIO and etc

another example

TEACHER's still teach many SUBJECT's but


Each SUBJECT is now taught by only one TEACHER
Relational Database Model

In this model, data is organized in two-dimensional tables called relations. The tables or
relation are related to each other.

It is intersection of rows and columns.

Examples:

searching a single table for information or request a complex search across several related
tables. Also, you can update a single field or many records with a single command. Another
way, you can write program that use RDBMS commands to fetch data you look for and want to
display and allow other users to update.
Conclusion:

The relational model is the best known and in today’s DBMS most often implemented
model. it defines a database as a collection of tables (relations) which contains all data.

This module deals predominantly with the relational model and the database system
based on it.

You might also like