Database Models

📘 DBMS 👁 86 views 📅 Nov 14, 2025
⏱ Estimated reading time: 3 min

A Database Model is a logical structure that defines how data is stored, organized, and accessed in a Database Management System (DBMS). It describes the relationship between different data elements and provides a blueprint for designing a database.

The choice of database model affects storage efficiency, performance, data consistency, and ease of management. Different models evolved over time to overcome the limitations of earlier models.


Types of Database Models

1️⃣ Hierarchical Model

The hierarchical model organizes data in the form of a tree structure with parent–child relationships.

Features
  • Each child has only one parent.

  • Data is arranged in hierarchy (like folders in a computer).

Advantages
  • Simple and easy to understand

  • Fast access for hierarchical data

Disadvantages
  • Cannot represent many-to-many relationships

  • Difficult to modify the structure

Example

Organization structure: CEO → Manager → Employees.


2️⃣ Network Model

The network model extends the hierarchical model by allowing a child to have multiple parents, using a graph structure.

Features
  • Supports many-to-many relationships

  • Uses sets and pointers to represent links

Advantages
  • Flexible structure

  • Faster access for complex relationships

Disadvantages
  • Complex to design and maintain

  • Heavy dependence on physical pointers


3️⃣ Relational Model (Most Popular)

Introduced by E.F. Codd, it represents data in the form of tables (relations).

Features
  • Data stored in rows (tuples) and columns (attributes)

  • Uses keys (primary, foreign) to maintain relationships

  • Based on mathematical set theory

Advantages
  • Very flexible and simple

  • Strong data integrity

  • Standard query language (SQL)

Disadvantages
  • Performance slows when tables become very large

  • Complex joins may reduce efficiency

Example

Customer( CustomerID, Name )
Orders( OrderID, CustomerID, Amount )


4️⃣ Entity–Relationship (ER) Model

Used mostly for database design, it represents data using:

  • Entities (objects)

  • Attributes (properties)

  • Relationships (connections)

Advantages
  • Easy to visualize the database

  • Widely used in conceptual designing

Disadvantages
  • Not used for actual storage — only for design

Example

Student — Enrolls — Course


5️⃣ Object-Oriented Database Model (OODBMS)

This model stores data in the form of objects, as used in object-oriented programming.

Features
  • Supports inheritance, encapsulation, and polymorphism

  • Complex data types supported

Advantages
  • Best for multimedia, CAD, scientific applications

  • Complex objects can be stored directly

Disadvantages
  • Not suitable for simple, traditional applications

  • Limited query language support compared to SQL


6️⃣ Document Model (NoSQL)

Used in modern NoSQL systems such as MongoDB.

Features
  • Stores data in JSON-like documents

  • Schema-free and flexible

Advantages
  • High scalability

  • Ideal for semi-structured data

Disadvantages
  • No strong ACID properties

  • Less support for complex queries


7️⃣ Key–Value Model

Stores data as key-value pairs.

Advantages
  • Extremely fast read/write

  • Highly scalable for large datasets

Disadvantages
  • Cannot perform complex queries

  • Limited relationships

Example

Redis, Amazon DynamoDB.


8️⃣ Graph Database Model

Data is stored as nodes, edges, and properties.

Features
  • Best for relationship-heavy data

  • Uses graph algorithms

Applications

Social networks, fraud detection, recommendation systems.

Examples

Neo4j, Amazon Neptune.


Comparison of Database Models

ModelStructure Relationship             SupportUsage
HierarchicalTree One-to-manyFile systems, early DBMS
NetworkGraphMany-to-manyTelecom, banking
RelationalTablesHigh flexibilityAlmost all modern apps
ER ModelDiagrammaticAll typesDatabase design
Object-OrientedObjectsComplexCAD, multimedia
DocumentJSON docsSemi-structuredBig data, NoSQL
Key-ValueKey-value pairsNoneCaching, real-time systems
GraphGraphComplex relationshipsSocial networks

 Conclusion

Database models define how data is logically structured and accessed. While early models like hierarchical and network were rigid, the relational model became dominant due to its simplicity and SQL support. With modern requirements, NoSQL models such as document, key-value, and graph databases are widely used for scalable, real-time applications.

Choosing the right database model is essential for ensuring performance, flexibility, and efficient data management.


🔒 Some advanced sections are available for Registered Members
Register Now

Share this Post


← Back to Tutorials

Popular Competitive Exam Quizzes