Hierarchichal and Network PPT 1

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 10

Hierarchical and network

data model
Abhishek.S
20CS801001
contents
• What is a Data Model?
• What is Hierarchical Data Model?
• What is Network Data Model?
• What is a data model ?
 A Database model represents real world objects. It defines the logical design and structure
of a database and defines how data will be stored, accessed and updated in a database
management system.
 Data Models are fundamental entities to introduce abstraction in a DBMS
 It defines the data elements and the relationships between the data elements. Data Models
are used to show how data is stored, connected, accessed and updated in the database
management system. 
 Levels of Data Models:
1. High Level (Conceptual)
2. Low Level (Physical)
3. Representational Level (Implementation)
•Hierarchical data model
 Here, the data is organized into a tree like structure with each
record is having one parent record and many children.
 These types of models are designed basically for the early
mainframe database management systems, like the Information
Management System (IMS) by IBM.
 It allows the one-to-one and a one-to-many relationship between
two/ various types of data.
 It is very helpful in describing many relationships in the real
world, table of contents, any nested and sorted information.
•Hierarchical data model
 The hierarchical structure is used as
 Example Diagram ::
the physical order of records in
storage.

 One can access the records by


navigating down through the data
structure using pointers which are
combined with sequential accessing.

 Therefore, the hierarchical structure is


not suitable for certain database
operations when a full path is not also
included for each record.
•Hierarchical data model
Advantages :: Disadvantages ::
 Referential integrity is  Does not support complex
maintained relationships
 If parent and child table is not
 Most efficient with 1:N related to each other, adding a new
relationships entry in the child table is difficult
 Conceptually simple due to  Does not support M:N relationships
parent child relationships  Redundancy which leads to
 High performance and inaccurate data
database security is enforced.  Poor flexibility and rigid structure
•Network data model
 This model is an extension of the Hierarchical model. In this model data is
organized more like a graph, and are allowed to have more than one parent
node. A feature that was not supported by the hierarchical data model.
 This model was used to map many-to-many data relationships.
 It was created to represent complex data relationships more effectively than
the hierarchical model, to improve database performance
 While the network database model is generally not used today, but the
standards defined by it are still used.
 Easily accessed because of the linkage between the information
 For more complex data, it is easier to use because of the multiple relationship is found
among its data
•Network data model
Advantages :: Disadvantages ::
 Implementation is simple and easy  Maintenance of records is done
through pointers hence complex
 Manages 1:1 and M:N relations
 Lacks structural independence, as a
 Maintains data integrity as there’s change in the structure demands a
always a connection between change in the application.
parent & child node  The insertion, deletion and updating
 Enables users to create queries operations of any record require large
that are more complex than that of number of pointers adjustments.
hierarchical model  As it is a bit complex to do any
 Provides faster access to data modifications the user must be fully
aware with the overall structure.
•Network data model
 Example Diagram ::
THANK YOU

You might also like