> For the complete documentation index, see [llms.txt](https://dshub.gitbook.io/ds-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dshub.gitbook.io/ds-hub/database/database-management-systems.md).

# Database Management Systems

## Types of Database Management Systems

The main Four Types of Database Management Systems are:

* Hierarchical database
* Network database
* Relational database
* Object-Oriented database

{% tabs %}
{% tab title="Hierarchical" %}
In a Hierarchical database model, data is arranged in a hierarchical or tree-like structure, and stored either top-down or bottom-up format. The organization of data is based on a parent-child relationship, where parents can have multiple children, while children can have only one parent.&#x20;
{% endtab %}

{% tab title="Network" %}
In the network model, each child can have multiple parents. This model is particularly useful for representing complex relationships, such as the many-to-many relationship between orders and parts. The entities are organized in a graph structure, enabling access through multiple paths. This flexibility allows for efficient navigation and retrieval of data by establishing various connections between entities.
{% endtab %}

{% tab title="Relational" %}
The Relational DBMS is extensively utilized due to its user-friendly nature, making it one of the most popular database management models. It is built on the concept of organizing data into normalized tables with rows and columns. In the Relational model, data is stored in structured formats and can be efficiently manipulated using SQL (Structured Query Language)
{% endtab %}

{% tab title="Object-Oriented" %}
The Object-oriented Model stores data in the form of objects. The structure is defined as classes that encapsulate data within them. This model is a fundamental component of DBMS, where a database is seen as a collection of objects that store both data member values and associated operations. Such databases use an object-oriented programming language for development.
{% endtab %}
{% endtabs %}

RDBMS is the basis for Structured Query Language, and for all modern database systems like **MS SQL Server, IBM DB2, Oracle, MySQL, Postgres, etc**.

#### NoSQL (Not Only SQL) or Non-Relational databases

A popular alternative to relational databases, [NoSQL databases](https://www.techopedia.com/definition/25218/non-relational-database) take a variety of forms and allow you to store and manipulate large amounts of **unstructured** and **semi-structured data**. Examples include key-value stores, document stores and graph databases.

Types of NoSQL Databases:

* Column-oriented Graph
* Graphs based
* Document-oriented
* Key-value Pair Based

<figure><img src="/files/3r8BKmIx5TE8AmtH7VP9" alt=""><figcaption></figcaption></figure>

| Relational Database                                          | NoSQL                                              |
| ------------------------------------------------------------ | -------------------------------------------------- |
| It is used to handle data coming in low velocity.            | It is used to handle data coming in high velocity. |
| It gives only read scalability.                              | It gives both read and write scalability.          |
| It manages structured data.                                  | It manages all type of data.                       |
| Data arrives from one or few locations.                      | Data arrives from many locations.                  |
| It supports complex transactions.                            | It supports simple transactions.                   |
| It has single point of failure.                              | No single point of failure.                        |
| It handles data in less volume.                              | It handles data in high volume.                    |
| Transactions written in one location.                        | Transactions written in many locations.            |
| Support ACID properties compliance                           | Doesn’t support ACID properties                    |
| Its difficult to make changes in database once it is defined | Enables easy and frequent changes to database      |
| Schema  is mandatory to store the data                       | Schema design is not required                      |
| Deployed in vertical fashion.                                | Deployed in Horizontal fashion.                    |

### Some of the Popular DBMS Softwares <a href="#popular-dbms-software" id="popular-dbms-software"></a>

#### Proprietary&#x20;

* [Microsoft Access](https://www.microsoft.com/en-us/microsoft-365/access)
* [Microsoft SQL Server](https://www.microsoft.com/en-us/sql-server)
* [Oracle](https://www.oracle.com/database/)
* [IBM DB2](https://www.ibm.com/products/db2/database) (free plan option)
* [dBASE](https://www.dbase.com)

#### Open Source

* [MySQL](https://www.mysql.com) (Enterprise plan available)
* [PostgreSQL](https://www.postgresql.org)
* [SQLite](https://www.sqlite.org/index.html)
* [MariaDB](https://mariadb.org)
* [Altibase](https://altibase.com/en/)
* [LibreOffice Base](https://www.libreoffice.org/discover/base/)
* [Cubrid](https://www.cubrid.org)
* [MongoDB](https://www.mongodb.com/atlas/database) (NoSQL / document-oriented)
* [Cassandra](https://cassandra.apache.org/_/index.html) (NoSQL)

### **Applications of Database**

<table data-header-hidden><thead><tr><th width="213"></th><th></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Application</strong></td></tr><tr><td>Airline</td><td>Flights, reservations, schedules, tickets, etc.</td></tr><tr><td>Banking</td><td>Clients, account activities, loans, balances etc.</td></tr><tr><td>Library</td><td>Book information, borrower information, issue date, etc.</td></tr><tr><td>Education</td><td>Student information, courses, departments, grades, etc.</td></tr><tr><td>Telecommunication</td><td>Call records, usage, bills, balances etc.</td></tr><tr><td>Social Media</td><td>User data, demographics, preferences, etc.</td></tr><tr><td>E-Commerce</td><td>Customer data, purchases, invoices, etc.</td></tr><tr><td>Human Resources</td><td>Employee information, salary, payroll, deductions, etc.</td></tr><tr><td>Manufacturing</td><td>Supplier information, product details, quantities, etc.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dshub.gitbook.io/ds-hub/database/database-management-systems.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
