Database Models
Database Models
Database Model: It determines the logical structure of a database and fundamentally determines
in which manner data can be stored, organized, and manipulated.
There are four common types of database model that are useful for different types of data or
information. Depending upon your specific needs, one of these models can be used.
1. Hierarchical databases.
2. Network databases.
3. Relational databases.
4. Object-oriented databases.
1. Hierarchical databases
It is one of the oldest database model developed by IBM for information Management System. In
a hierarchical database model, the data is organized into a tree-like structure. In simple language
we can say that it is a set of organized data in tree structure.
This type of Database model is rarely used nowadays. Its structure is like a tree with nodes
representing records and branches representing fields. The windows registry used in Windows
XP is an example of a hierarchical database. Configuration settings are stored as tree structures
with nodes.
Advantages
2. Network databases
This is looks like a Hierarchical database model due to which many time it is called as modified
version of Hierarchical database. Network database model organised data more like a graph and
can have more than one parent node. The network model is a database model conceived as a
flexible way of representing objects and their relationships.
Advantage
Disadvantage:
• All the records are maintained using pointers and hence the whole database structure becomes
very complex.
• The insertion, deletion and updating operations of any record require the large number of
pointers adjustments.
• The structural changes to the database is very difficult.
3. Relational Database
A relational database is developed by E. F. Codd in 1970. The various software systems used to
maintain relational databases are known as a relational database management system (RDBMS).
In this model, data is organised in rows and column structure i.e., two-dimensional tables and the
relationship is maintained by storing a common field. It consists of three major components.
In relational model, three key terms are heavily used such as relations, attributes, and domains. A
relation nothing but is a table with rows and columns. The named columns of the relation are
called as attributes, and finally the domain is nothing but the set of values the attributes can take.
The following figure gives us the overview of rational database model.
Advantage
Disadvantages