Which data structure is used in network model?
Category:
technology and computing
databases
Overview. While the hierarchical database model structures data as a tree of records, with each record having one parent record and many children, the network model allows each record to have multiple parent and child records, forming a generalized graph structure.
Similarly, you may ask, what data structure do we use in computer networks?
There actually are simple With networking since we are dealing with multiple nodes, we'd be using linked lists for keeping track of the links. Graph data structure to determine shortest paths and optimal paths. Queue data structure to maintain packets and remember their order of arrival.
Network Database Model | Hierarchical Database Model |
---|---|
Many-to-many relationship | One-to-many relationship |
Easily accessed because of the linkage between the information | Difficult to navigate because of its strict owner to member connection |
Similarly, you may ask, what concepts use networking models?
A network model is a database model that is designed as a flexible approach to representing objects and their relationships. A unique feature of the network model is its schema, which is viewed as a graph where relationship types are arcs and object types are nodes.
Types of database models
- Hierarchical database model.
- Relational model.
- Network model.
- Object-oriented database model.
- Entity-relationship model.
- Document model.
- Entity-attribute-value model.
- Star schema.