Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • Aptitude
  • Engineering Mathematics
  • Discrete Mathematics
  • Operating System
  • DBMS
  • Computer Networks
  • Digital Logic and Design
  • C Programming
  • Data Structures
  • Algorithms
  • Theory of Computation
  • Compiler Design
  • Computer Org and Architecture
Open In App
Next Article:
Difference between Hierarchical and Network Data Model
Next article icon

Difference between Network and Relational data model

Last Updated : 12 Sep, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

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 managing data in a variety of ways. To assist you in comprehending the distinctive qualities of the network and relational data models, we’ll examine the main distinctions between them in this post.

What is a Network Data Model?

It is the advanced version of the hierarchical data model. To organize data it uses directed graphs instead of tree-structure. In this, a child can have more than one parent. It uses the concept of two data structures i.e., Records and Sets.

Characteristics of the Network Data Model

  • Graph Structure: Uses directed graphs to organize data, allowing multiple relationships between records.
  • Many Parent Nodes: Having more than one parent allows for more intricate ties to exist amongst children.
  • Physical Representation: Pointers or linked lists are used to physically represent the relationships between data.
  • Data Structures: Data structures are defined using sets (relationships) and records (nodes).

Advantages of the Network Data Model

  • Flexible Relationships: Supports many-to-many relationships, allowing complex data connections.
  • Effective Searching: Finding a data item via many access pathways is an efficient way to search.
  • No Inconsistency in Updates: Issues with consistency are avoided via single-instance child records.

Disadvantages of the Network Data Model

  • Complex Design: Increases complexity for database design and data manipulation.
  • Limited Querying Capabilities: In contrast to contemporary models, there are no declarative querying options.
  • Provides only a limited degree of data independence since modifications to the physical structure might have an impact on the application.

Network data model 

In the above figure, Project is root node which has two children i.e. Project 1 and Project 2. Project 1 has 3 children and Project 2 has 2 children. Total there are 5 children i.e Department A, Department B and Department C, they are network related children as we said that this model can have more than one parent. So, for Department B and Department C have two parents i.e. Project 1 and Project 2. 

What is a Relational Data Model?

The relational data model was developed by E.F. Codd in 1970. There are no physical links as they are in hierarchical data model. Following are properties of relational data model :

  • Data is represented in form of table only.
  • It deals only with data not with physical structure.
  • It provides information regarding metadata.
  • At the intersection of row and column there will be only one value for tuple.
  • It provides a way to handle queries with ease.

Characteristics of the Relational Data Model

  • Tabular Structure: Organizes data in tables, making it easy to understand and manage.
  • Declarative Querying: Provides strong SQL query capabilities.
  • Logical Representation: Tables and keys are used to logically express relationships between records.
  • High degree of data independence is provided by this method, which keeps the logical schema and the physical storage apart.

Advantages of the Relational Data Model

  • Simple Create: The tabular structure makes it simple to create and comprehend.
  • Declarative Querying: Offers powerful SQL querying features.
  • Data Independence: The logical data model remains unaffected by changes made to the physical data storage.
  • Normalizing: By reducing duplication, normalizing enhances data integrity.

Disadvantages of the Relational Data Model

  • Performance Overhead: Normalization may result in performance overhead.
  • The Ability to Scale Limits: For best results, large-scale applications would need more fine-tuning.

Relational Data model

Differences Between Network Data Model and Relational Data Model

Network Data Model Relational Data Model
It organizes records to one another through links or pointers. It organizes records in form of table and relationship between tables are set using common fields.
It organizes records in form of directed graphs. It organizes records in form of tables.
In this relationship between various records is represented physically via linked list. In this relationship between various records is represented logically via tables.
There is lack of declarative querying facilities. It provides declarative query facility using SQL.
Complexity increases burden on programmer for database design as well as data manipulation. As physical level details are hidden from end users so this model is very simple to understand.
Retrieval algorithms are complex but symmetric. Retrieval algorithms are simple and symmetric.
There is partial data independence in this model. This model provides data independence.
There is no inconsistency problem in updating the records because of the single instance of the child records. The updating of records is quite easy because of the normalization which is used to remove the redundancy in the relations.
Searching for a record is easy in the network model as there are multiple access paths to reach data item. In the relational model, a unique, indexed key serves the purpose of searching a record.
Here, is the physical existence of record relations in this model. It maintains logical organization of records using rows and columns and stored in relation.
VAX-DBMS, DMS-1100 of UNIVAC and SUPRADBMS’s use this model. It is mostly used in real world applications. Oracle, SQL.

Conclusion

The Relational Data Model and the Network Data Model provide several approaches to managing and arranging data. The network model, which uses directed graphs and physical pointers, is ideal for complex many-to-many interactions, although being more complex to construct and query. However, because of its tabular form and SQL-based querying, the relational model—which is often used in modern applications—offers simplicity, data independence, and strong querying capabilities. Which model is optimal depends on the specific requirements of the database system and its use case.



Next Article
Difference between Hierarchical and Network Data Model
author
itskawal2000
Improve
Article Tags :
  • DBMS
  • Difference Between

Similar Reads

  • 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 Re
    6 min read
  • Difference between Relational database and NoSQL
    1. Relational Database : RDBMS stands for Relational Database Management Systems. It is most popular database. In it, data is store in the form of row that is in the form of tuple. It contain numbers of table and data can be easily accessed because data is store in the table. This Model was proposed
    2 min read
  • 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 in relatio
    4 min read
  • Difference between Information and Data
    Data and Information are important concepts in the world of computing and decision-making. Data is defined as unstructured information such as text, observations, images, symbols, and descriptions on the other hand, Information refers to processed, organized, and structured data. It gives context to
    4 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 has c
    6 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 data
    3 min read
  • Difference between Data and Metadata
    The term 'data' may also refer to various forms such i.e. numbers, text, images, or audio that provide information concerning facts, phenomena, or even concepts. In other words, it is the basic information that is subjected to processing or interpretation to find meaning or generate products. Metada
    6 min read
  • Difference between CouchDB and Relational Database
    CouchDB is a NoSQL document-oriented database that stores the data as a flexible JSON document while relational databases organize data in a structured table with the predefined schemas. CouchDB offers easy scalability and is suitable for semi-structured data whereas relational databases excel at ha
    5 min read
  • Difference Between Traditional Data and Big Data
    Data is information that helps businesses and organizations make decisions. Based on volume, variety, velocity, and mode of handling data, traditional data, and big data. It is quite helpful for organizations to understand these key dissimilarities to enable them to select the right approach in data
    8 min read
  • Difference between Hardware and Networking
    1. Hardware : Hardware, as name suggest, are tools, machines and other durable equipment's i.e. physical part of components such as keyboard, mouse, sound card, etc. and are required to function. Hardware is responsible for processing data and running software applications. 2. Networking : Networkin
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th 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
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences