0% found this document useful (0 votes)
317 views7 pages

WWW Geeksforgeeks Org Network Model in Dbms

Uploaded by

Harsh Jalaf
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
317 views7 pages

WWW Geeksforgeeks Org Network Model in Dbms

Uploaded by

Harsh Jalaf
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 7

Aptitude Engineering Mathematics Discrete Mathematics Operating System DBMS Computer Networks Digital Logic and Design C Programming

ign C Programming Data Structures Algorithms Theory of Compu

Network Model in DBMS


Last Updated : 12 Jun, 2024
The Network Model in a Database Management System (DBMS) is a data model that allows the representation of many-to-many relationships in a
more flexible and complex structure compared to the Hierarchical Model. It uses a graph structure consisting of nodes (entities) and edges
Generative Summary
(relationships) to organize data, enabling more efficient and direct access paths.
Now you can generate the summary
of any article of your choice. Got it
What is Network Model?
This model was formalized by the Database Task group in the 1960s. This model is the generalization of the hierarchical model. This model can
consist of multiple parent segments and these segments are grouped as levels but there exists a logical association between the segments
belonging to any level. Mostly, there exists a many-to-many logical association between any of the two segments. We called graphs the logical
associations between the segments. Therefore, this model replaces the hierarchical tree with a graph-like structure, and with that, there can more
general connections among different nodes. It can have M: N relations i.e, many-to-many which allows a record to have more than one parent
segment. Here, a relationship is called a set, and each set is made up of at least 2 types of record which are given below:

An owner record that is the same as of parent in the hierarchical model.


A member record that is the same as of child in the hierarchical model.

Structure of a Network Model

A Network data model

In the above figure, member TWO has only one owner ‘ONE’ whereas member FIVE has two owners i.e, TWO and THREE. Here, each link between
the two record types represents 1 : M relationship between them. This model consists of both lateral and top-down connections between the
nodes. Therefore, it allows 1: 1, 1 : M, M : N relationships among the given entities which helps in avoiding data redundancy problems as it
supports multiple paths to the same record. There are various examples such as TOTAL by Cincom Systems Inc., EDMS by Xerox Corp., etc.

Example : Network model for a Finance Department.

Below we have designed the network model for a Finance Department:

Network model of Finance Department.

So, in a network model, a one-to-many (1: N) relationship has a link between two record types. Now, in the above figure, SALES-MAN,
CUSTOMER, PRODUCT, INVOICE, PAYMENT, INVOICE-LINE are the types of records for the sales of a company. Now, as you can see in the given
figure, INVOICE-LINE is owned by PRODUCT & INVOICE. INVOICE has also two owners SALES-MAN & CUSTOMER.

Let’s see another example, in which we have two segments, Faculty and Student. Say that student John takes courses both in CS and EE
departments. Now, find how many instances will be there?

For the above example, a student’s instance can have at least 2 parent instances therefore, there exist relations between the instances of students
and faculty segment. The model can be very complex as if we use other segments say Courses and logical associations like Student-Enroll and
Faculty-course. So, in this model, a student can be logically associated with various instances of Faculties and Courses.

Advantages of Network Model


This model is very simple and easy to design like the hierarchical data model.
This model is capable of handling multiple types of relationships which can help in modeling real-life applications, for example, 1: 1, 1: M, M: N
relationships.
In this model, we can access the data easily, and also there is a chance that the application can access the owner’s and the member’s records
within a set.
This network does not allow a member to exist without an owner which leads to the concept of Data integrity.
Like a hierarchical model, this model also does not have any database standard,
This model allows to represent multi parent relationships.

Disadvantages of Network Model


The schema or the structure of this database is very complex in nature as all the records are maintained by the use of pointers.
There’s an existence of operational anomalies as there is a use of pointers for navigation which further leads to complex implementation.
The design or the structure of this model is not user-friendly.
This model does not have any scope of automated query optimization.
This model fails in achieving structural independence even though the network database model is capable of achieving data independence.

Features of Network Model in DBMS


Data Relationship Representation: The network model uses a graph structure to represent data relationships. It allows many-to-many
relationships, providing greater flexibility in how data is connected.
Records and Sets: Data in a network model is organized into records and sets. Records are similar to rows in a relational table, and sets are used
to define relationships between records, akin to links in a graph.
Owner-Member Relationships: The network model defines data relationships using owner-member pairs. An owner record can be linked to
multiple member records, and a member record can belong to multiple owner records, facilitating complex relationships.
Navigational Access: The network model supports navigational data access, where records are accessed through predefined paths. This is
different from relational models, which use declarative query languages like SQL.
Hierarchical and Non-Hierarchical Structures: The network model can represent both hierarchical (tree-like) and non-hierarchical (graph-like)
structures, providing flexibility in data modeling.

Operations on Network Model in DBMS


Insertion: Adding new records and establishing owner-member relationships.
Deletion: Removing records and maintaining data integrity by handling related records and relationships.
Update: Modifying existing records and relationships between records.
Traversal: Navigating through the network structure to access related records using predefined paths.
Search: Retrieving specific records based on criteria by navigating the network structure.

Difference Between the Network Model and the Hierarchical Model

Feature Hierarchical Model Network Model

Structure Tree-like structure Graph structure

Relationships One-to-many (single parent, multiple children) Many-to-many (multiple parents and children)

Flexibility Less flexible More flexible

Data Access Single access path Multiple access paths

Redundancy Higher redundancy due to rigid hierarchy Lower redundancy due to shared relationships

Complexity Simpler to design and implement More complex to design and manage

Usage Scenario Suitable for simple, hierarchical data structures Suitable for complex, interconnected data structures

Efficiency Efficient for hierarchical traversal Efficient for complex queries and data retrieval

Example Organizational chart Telecommunications network

Conclusion
The network model in DBMS offers a flexible way to represent complex data relationships through its graph-based structure. While it allows for
many-to-many relationships and more intricate data connections compared to the hierarchical model, it also requires more sophisticated
navigational access methods. Understanding its features and operations helps in leveraging its capabilities for scenarios that involve complex data
interactions.
Frequently Asked Questions on Network Model in DBMS – FAQ’s

What are the main advantages of the network model?

The network model’s primary advantages include its ability to handle many-to-many relationships and represent complex data structures. It
also provides efficient navigational access to data through predefined paths.

How does the network model handle data integrity?

The network model maintains data integrity through its owner-member relationships, ensuring that changes in one part of the database
appropriately cascade to related records. This helps preserve consistency across the database.

In what scenarios is the network model particularly useful?

The network model is particularly useful in applications that require complex relationships between data entities, such as
telecommunications, transportation networks, and inventory management systems. It is also beneficial in scenarios where efficient
navigational access is crucial.

"GeeksforGeeks helped me ace the GATE exam! Whenever I had any doubt regarding any topic, GFG always helped me and made my concepts
quiet clear." - Anshika Modi | AIR 21

Choose GeeksforGeeks as your perfect GATE 2025 Preparation partner with these newly launched programs
GATE CS & IT- Online
GATE DS & AI- Online

Over 150,000+ students already trust us to be their GATE Exam guide. Join them & let us help you in opening the GATE to top-tech IITs & NITs!

tarun… 18

Next Article
Relational Model in DBMS

Similar Reads
Difference between E-R Model and Relational Model in DBMS
In database management systems (DBMS), two key methods are the Relational model and the Entity-Relationship (E-R) model. Each has a specific
function in the development and operation of databases. While the Relational model provides the practical structure for organizing and managing data i…
3 min read

Introduction of Relational Model and Codd Rules in DBMS


Pre-Requisite: Relational Model in DBMS It was proposed by Dr. E.F. Codd. It uses the concept of relations to represent each and every file. Relations are
Two-Dimensional Tables. It is easy to implement and easy to simplification in the operations to manipulate the data. This is the most popular data mode…
12 min read

Hierarchical Model in DBMS


Hierarchical Model :This is one of the oldest models in a data model which was developed by IBM, in the 1950s. In a hierarchical model, data are viewed
as a collection of tables, or we can say segments that form a hierarchical relation. In this, the data is organized into a tree-like structure where each reco…
4 min read

Relational Model in DBMS


E.F. Codd proposed the relational Model to model data in the form of relations or tables. After designing the conceptual model of the Database using ER
diagram, we need to convert the conceptual model into a relational model which can be implemented using any RDBMS language like Oracle SQL,…
7 min read
What is XML Data Model in DBMS?
The database management system market is filled with many choices, and XML is a strong contender due to the elegant syntax model it uses to organize
and structure data. The text would give you information on the main parts of the Data Model for XML, thus, you would be able to understand the…
6 min read

Network attached storage in DBMS


With the phenomenal growth in digital data, particularly generated from multi-media and other enterprise application the need for high-performance
storage solution at low cost has become extremely important. Network Attached Storage (NAS) devices are basically among the latest of storage devic…
4 min read

Difference between Bottom-Up Model and Top-Down Model


Top-Down Design Model: In the top-down model, an overview of the system is formulated without going into detail for any part of it. Each part of it then
refined into more details, defining it in yet more details until the entire specification is detailed enough to validate the model. if we glance at a haul as a…
3 min read

ACID Model vs BASE Model For Database


The difference between ACID and BASE database models is the way they deal with this limitation. The ACID model provides a consistent system.The
BASE model provides high availability.To provide further insight, we will discuss each of the models separately in detail. ACID Model:Collections of…
5 min read

Mapping from ER Model to Relational Model


To understand this, you should have an idea about: ER model Relation model After designing the ER diagram of system, we need to convert it to
Relational models which can directly be implemented by any RDBMS like Oracle, MySQL etc. In this article we will discuss how to convert ER diagram t…
5 min read

Difference between Relational model and Document Model


The relational model organizes data into tables with rows and columns, ideal for structured data. On the other hand, the document model stores data in
hierarchical documents, which offers more flexibility for managing unstructured or semi-structured data. Both models serve different purposes in…
3 min read

Difference between Hierarchical and Network Data Model


Data models are essential for specifying data organization, storage, and retrieval techniques in the field of database administration. The Network Data
Model and the Hierarchical Data Model are two important concepts that have influenced how databases are created and used. Each of these models ha…
6 min read

Difference Between Hierarchical, Network and Relational Data Model


In order to define the connections, organization, and structure of data in a database management system (DBMS), data models are essential. The
effectiveness of a database's ability to store, retrieve, and alter data is greatly influenced by the choice of data model. The Hierarchical, Network, and…
6 min read

Difference between Network and Relational data model


Data models specify the organization, archiving, and manipulation of data in database management systems (DBMSs). The Network Data Model and the
Relational Data Model are two popular forms of data models. Each of these models has distinct characteristics, benefits, and uses for organizing and…
5 min read

Need for DBMS


A Data Base Management System is a system software for easy, efficient and reliable data processing and management. It can be used for: Creation of a
database.Retrieval of information from the database.Updating the database.Managing a database.Multiple User InterfaceData scalability, expandability…
4 min read

Thomas Write Rule in DBMS


The "write rule" in database management systems (DBMS) refers to a principle that governs how changes to the database are handled. Specifically, the
write rule states that any modification to a database must be written to disk before control is returned to the user. In other words, when a user executes …
5 min read

Armstrong's Axioms in Functional Dependency in DBMS


Prerequisite - Functional Dependencies This article contains Armstrong's Axioms and how Armstrong's Axioms are used to decide about the functional
dependency on the database. We will be also learning about the Secondary Rules and Armstrong Relations. We will learn each thing in detail. Before…
4 min read
Transaction Isolation Levels in DBMS
Prerequisite - Concurrency control in DBMS, ACID Properties in DBMS As we know, in order to maintain consistency in a database, it follows ACID
properties. Among these four properties (Atomicity, Consistency, Isolation, and Durability) Isolation determines how transaction integrity is visible to…
5 min read

Database Objects in DBMS


A database object is any defined object in a database that is used to store or reference data.Anything which we make from create command is known as
Database Object.It can be used to hold and manipulate the data.Some of the examples of database objects are : view, sequence, indexes, etc. Table -…
4 min read

Starvation in DBMS
Starvation or Livelock is the situation when a transaction has to wait for an indefinite period of time to acquire a lock. Reasons for Starvation:If the waiting
scheme for locked items is unfair. ( priority queue )Victim selection (the same transaction is selected as a victim repeatedly )Resource leak.Via denial-of-…
5 min read

Graph Based Concurrency Control Protocol in DBMS


Graph-based concurrency control protocols are used in database management systems (DBMS) to ensure that concurrent transactions do not interfere
with each other and maintain the consistency of the database. In graph-based concurrency control, transactions are represented as nodes in a graph, an…
4 min read

Introduction to TimeStamp and Deadlock Prevention Schemes in DBMS


Deadlock occurs when each transaction T in a schedule of two or more transactions waiting for some item locked by some other transaction T' in the set.
Thus, both end up in a deadlock situation, waiting for the other to release the lock on the item. Deadlocks are a common problem and we have introduc…
7 min read

Tuple in DBMS
Pre-requisites: Introduction of DBMS A tuple, also known as a record or row, is a basic unit of data in a relational database management system (DBMS).
A tuple represents a single instance of a relation, or table, in the database. Each tuple contains a set of values, or attributes, that correspond to the…
4 min read

Implementation of Locking in DBMS


Locking protocols are used in database management systems as a means of concurrency control. Multiple transactions may request a lock on a data item
simultaneously. Hence, we require a mechanism to manage the locking requests made by transactions. Such a mechanism is called a Lock Manager. It…
5 min read

Tuple Relational Calculus (TRC) in DBMS


Tuple Relational Calculus (TRC) is a non-procedural query language used in relational database management systems (RDBMS) to retrieve data from
tables. TRC is based on the concept of tuples, which are ordered sets of attribute values that represent a single row or record in a database table. TRC i…
4 min read

Types of Schedules in DBMS


Schedule, as the name suggests, is a process of lining the transactions and executing them one by one. When there are multiple transactions that are
running in a concurrent manner and the order of operation is needed to be set so that the operations do not overlap each other, Scheduling is brought…
7 min read

Fragmentation in Distributed DBMS


Fragmentation is a process of dividing the whole or full database into various subtables or sub relations so that data can be stored in different systems.
The small pieces or sub relations or subtables are called fragments. These fragments are called logical data units and are stored at various sites. It must…
5 min read

Challenges of database security in DBMS


Seeing the vast increase in volume and speed of threats to databases and many information assets, research efforts need to be consider to the following
issues such as data quality, intellectual property rights, and database survivability. Let's discuss them one by one. 1. Data quality - The database…
5 min read

Schema Integration in DBMS


Definition: Schema integration is used to merge two or more database schemas into a single schema that can store data from both the original databases.
For large databases with many expected users and applications, the integration approach of designing individual schema and then merging them can be…
5 min read
Domain Key Normal Form in DBMS
Prerequisites - Normal Forms, 4th and 5th Normal form, find the highest normal form of a relation It is basically a process in database to organize data
efficiently. Basically there are two goals of doing normalization these are as follows: To remove repeated data or in simple words we can say to remove…
4 min read

Interfaces in DBMS
A database management system (DBMS) interface is a user interface that allows for the ability to input queries to a database without using the query
language itself. User-friendly interfaces provided by DBMS may include the following: Menu-Based InterfacesForms-Based InterfacesGraphical User…
4 min read

Article Tags : DBMS

Trending in News View More

OpenAI o1 AI Model Launched: Explore


o1-Preview, o1-Mini, Pricing &
Comparison
How to Merge Cells in Google Sheets:
Step by Step Guide
How to Lock Cells in Google Sheets :
Step by Step Guide
PS5 Pro Launched: Controller, Price,
Specs & Features, How to Pre-Order, and
More
#geekstreak2024 – 21 Days POTD
Challenge Powered By Deutsche Bank

Corporate & Communications Address:- A-


143, 9th Floor, Sovereign Corporate Tower,
Sector- 136, Noida, Uttar Pradesh (201305)
| Registered Address:- K 061, Tower K,
Gulshan Vivante Apartment, Sector 137,
Noida, Gautam Buddh Nagar, Uttar
Pradesh, 201305

Company Languages
About Us Python
Legal Java
In Media C++
Contact Us PHP
Advertise with us GoLang
GFG Corporate Solution SQL
Placement Training Program R Language
GeeksforGeeks Community Android Tutorial
Tutorials Archive

DSA Data Science & ML


Data Structures Data Science With Python
Algorithms Data Science For Beginner
DSA for Beginners Machine Learning
Basic DSA Problems ML Maths
DSA Roadmap Data Visualisation
Top 100 DSA Interview Problems Pandas
DSA Roadmap by Sandeep Jain NumPy
All Cheat Sheets NLP
Deep Learning

Web Technologies Python Tutorial


HTML Python Programming Examples
CSS Python Projects
JavaScript Python Tkinter
TypeScript Web Scraping
ReactJS OpenCV Tutorial
NextJS Python Interview Question
Bootstrap Django
Web Design

Computer Science DevOps


Operating Systems Git
Computer Network Linux
Database Management System AWS
Software Engineering Docker
Digital Logic Design Kubernetes
Engineering Maths Azure
Software Development GCP
Software Testing DevOps Roadmap

System Design Inteview Preparation


High Level Design Competitive Programming
Low Level Design Top DS or Algo for CP
UML Diagrams Company-Wise Recruitment Process
Interview Guide Company-Wise Preparation
Design Patterns Aptitude Preparation
OOAD Puzzles
System Design Bootcamp
Interview Questions

School Subjects GeeksforGeeks Videos


Mathematics DSA
Physics Python
Chemistry Java
Biology C++
Social Science Web Development
English Grammar Data Science
Commerce CS Subjects
World GK

@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved

You might also like