Home »
DBMS
Types of Database Management System
By Anushree Goswami Last updated : May 26, 2023
There is a wide variety of Databases in Database Management System. Name of the different types of databases is given below.
- Hierarchical Databases
- Network Databases
- Relational Databases
- Object-oriented Databases
- Graph Databases
- ER model Databases
- Document Databases
1. Hierarchical Databases
- Hierarchical Database System Structure was developed by IBM in the early 1960s.
- In this type of Database, data gets stored in parent-children relationship nodes. Also, the records not only contain the data of it but of their parent and children as well.
- As the name suggests, ‘Hierarchy', it is a tree-like structure. There are links attached between each record as a parent-children relationship.
- Data gets stored in the form of a collection of fields in which each field contains only one value, i.e., every individual record has only one parent and a parent can have one or more than one children.
- To retrieve the data, we need to traverse each tree until we get the desired data.
It is simple but inflexible due to the parent-child one-to-many relationship. They are mostly used in Banking and Telecommunications industries to build high performance and manage applications.
Example
IBM Information Management System (IMS) and Windows Registry.
Advantages
The hierarchical database has the advantage that it is a two-edged and can be retrieved and manipulated or altered rapidly due to the tree-like structure of the record and also relationships between records are defined in advance.
Disadvantages
- The hierarchical database has the disadvantage that in this type of database structure each node can only have one parent, and children can't have relationships or linkages between them, even if they make sense from a logical standpoint.
- In order to add record or data in the database, the whole database needs to be redefined.
2. Network Databases
- The network database structure was invented by Charles Bachman. Network database management systems (Network DBMSs) uses network structure to create a relationship between entities.
- Network databases are mainly used on a large network of computers.
- Network databases are similar to hierarchical databases differs with one key point that in network databases one node can have a relationship with multiple entities.
- In network databases, parents are termed as occupier and children are termed as members. Data in the network database is organized as many-to-many relationships.
Example
Integrated Data Store (IDS), IDMS (Integrated Database Management System), Raima Database Manager, TurboIMAGE, and Univac DMS-1100.
3. Relational Databases
- Relational Databases are the most popular among all databases.
- In this type of database, there is a relationship between data and that is stored in the form of the table of rows and columns, such that row represents record and column represents the attribute.
- Every individual field represents the data value. In order to query the Relational Databases, Structured Query Language (SQL) is used which includes insertion, deletion, manipulation and search the records.
Relational database depicts the relation between two or more tables, but how this relation is made? Through Key Fields. Every row has its unique key field and these key fields are used to connect one table to another one.
Example
Oracle, SQL Server, MySQL, SQLite, and IBM DB2.
What's so unique and fascinating about the relational database that is not in other databases? There are mainly two reasons:
- These databases can be used with little or no training
- One can easily modify database entries without specifying the entire
Properties
- It's values are Atomic.
- Every row is individual.
- Columns are undistinguished.
- Sequence of Rows is Insignificant.
4. Object-Oriented Databases
- Object-oriented Databases were created in the early 1980s.
- Object-Oriented Databases deals with the functionality of the object-oriented programming and it increases the semantics of the C++ and Java.
- Advance programming language objects are required in Object-Oriented Databases.
- It provides full-featured database programming capability while containing native language compatibility such that it alters the database functionality to object programming languages.
- Applications in Object-Oriented databases require less code, use more natural data modeling, and code bases are easier to maintain.
- Object developers can write complete database applications with a less amount of effort and in less time.
- Object-oriented databases use small software called objects. The objects themselves are stored in the object-oriented database.
-
Every object in Object-Oriented databases contains two elements:
- Piece of data (e.g., sound, video, text, or graphics)
- Instructions or software programs called methods
Example
Some Object-Oriented Databases were designed to work with OOP languages such as Delphi, Ruby, C++, Java, and Python. Some popular Object-Oriented Databases are TORNADO, Gemstone, InterSystems Cache, Versant Object Database, ODABA, ZODB, Poet. JADE, and Informix.
Advantage
One of the most important advantages of Object-Oriented Database is its ability to mix and match reusable objects. It provides the unbelievable multimedia capability.
Disadvantages
- They are more expensive to develop.
- Most organizations don't want to abandon their traditional database approach and convert into this database system.
Image source: https://www.researchgate.net
5. Graph Databases
- Graph databases are NoSQL databases and it uses the graphical structure for semantic queries.
- Data is stored in the form of nodes, edges, and properties in which node is equivalent to a record, the edge is a link between two nodes and properties are additional information added into the nodes.
Example
Neo4j, Azure Cosmos DB, SAP HANA, Sparksee, Oracle Spatial and Graph, OrientDB, ArrangoDB and MarkLogic.
Graph database are supported by some RDBMs, including Oracle and SQL Server 2017 and later versions.
Image source: https://database.guide
6. ER Model Databases
- Entity-Relations Model Database was developed by Peter Chen 1976.
- Here, the ER model is applied as a database. Each row in the table represents one instance of an object type, and each column in a table represents an attribute type.
Image source: https://wcs.smartdraw.com/
7. Document Databases
- Document databases (DBs) are also a NoSQL database.
- It stores data in the form of documents which are key values. Each document makes the relationship of the data with other data elements and attributes.
- It became popular due to its storage of documents and NoSQL properties. The specialty of NoSQL data storage is that it provides a faster mechanism for storing and searching for documents.
Example
Hadoop / Hbase, Hyperable, MapR, , Amazon SimpleDB, Apache Flink, IBM Informix and Azure DocumentDB.
Image source: https://www.techighness.com/images/er.png