Design of Parallel Databases | DBMS
Last Updated :
07 Jun, 2023
A parallel DBMS is a DBMS that runs across multiple processors or CPUs and is mainly designed to execute query operations in parallel, wherever possible. The parallel DBMS link a number of smaller machines to achieve the same throughput as expected from a single large machine.
In Parallel Databases, mainly there are three architectural designs for parallel DBMS. They are as follows:
- Shared Memory Architecture
- Shared Disk Architecture
- Shared Nothing Architecture
Let’s discuss them one by one:
1. Shared Memory Architecture- In Shared Memory Architecture, there are multiple CPUs that are attached to an interconnection network. They are able to share a single or global main memory and common disk arrays. It is to be noted that, In this architecture, a single copy of a multi-threaded operating system and multithreaded DBMS can support these multiple CPUs. Also, the shared memory is a solid coupled architecture in which multiple CPUs share their memory. It is also known as Symmetric multiprocessing (SMP). This architecture has a very wide range which starts from personal workstations that support a few microprocessors in parallel via RISC.

Shared Memory Architecture
Advantages :
- It has high-speed data access for a limited number of processors.
- The communication is efficient.
Disadvantages :
- It cannot use beyond 80 or 100 CPUs in parallel.
- The bus or the interconnection network gets block due to the increment of the large number of CPUs.
2. Shared Disk Architectures :
In Shared Disk Architecture, various CPUs are attached to an interconnection network. In this, each CPU has its own memory and all of them have access to the same disk. Also, note that here the memory is not shared among CPUs therefore each node has its own copy of the operating system and DBMS. Shared disk architecture is a loosely coupled architecture optimized for applications that are inherently centralized. They are also known as clusters.

Shared Disk Architecture
Advantages :
- The interconnection network is no longer a bottleneck each CPU has its own memory.
- Load-balancing is easier in shared disk architecture.
- There is better fault tolerance.
Disadvantages :
- If the number of CPUs increases, the problems of interference and memory contentions also increase.
- There’s also exists a scalability problem.
3, Shared Nothing Architecture :
Shared Nothing Architecture is multiple processor architecture in which each processor has its own memory and disk storage. In this, multiple CPUs are attached to an interconnection network through a node. Also, note that no two CPUs can access the same disk area. In this architecture, no sharing of memory or disk resources is done. It is also known as Massively parallel processing (MPP).

Shared Nothing Architecture
Advantages :
- It has better scalability as no sharing of resources is done
- Multiple CPUs can be added
Disadvantages:
- The cost of communications is higher as it involves sending of data and software interaction at both ends
- The cost of non-local disk access is higher than the cost of shared disk architectures.
Note that this technology is typically used for very large databases that have the size of 1012 bytes or TB or for the system that has the process of thousands of transactions per second.
4, Hierarchical Architecture :
This architecture is a combination of shared disk, shared memory and shared nothing architectures. This architecture is scalable due to availability of more memory and many processor. But is costly to other architecture.
Similar Reads
Database Design in DBMS
Before designing a database, it's crucial to understand important terms and concepts. A properly structured database guarantees efficiency, data accuracy, and usability. From understanding data storage to the principles that define data relationships, these concepts are essential for anyone involved
10 min read
Introduction of Parallel Database
In this article, we will discuss the overview of Parallel Databases and then will emphasize their needs and advantages, and then finally, will cover the performance measurement factor-like Speedup and Scale-up with examples. Let's discuss it one by one. Parallel Databases :Nowadays organizations nee
3 min read
Purpose of Database System in DBMS
Nowadays organizations are data-dependent. efficient management and retrieval of information play a crucial role in their success. A database is a collection of data that is organized, which is also called structured data. It can be accessed or stored in a computer system. It can be managed through
3 min read
Database Languages in DBMS
Databases are essential for efficiently storing, managing, and retrieving large volumes of data. They utilize both software and hardware components. The software provides an interface that enables users or applications to interact with the database, while the hardware consists of servers and storage
10 min read
Significance of Database Design
A database refers to the collection of data (files and records) which is stored and can be manipulated using a software named Database Management Systems. In the previous days where no technical developments took place, data was stored in form of files. Due to its drawbacks of storage and manipulati
2 min read
Data Models in DBMS
A Data Model in Database Management System (DBMS) is the concept of tools that are developed to summarize the description of the database. Data Models provide us with a transparent picture of data which helps us in creating an actual database. It shows us from the design of the data to its proper im
8 min read
Base Properties in DBMS
Pre-requisites: ACID Properties in DBMS The BASE properties of a database management system are a set of principles that guide the design and operation of modern databases. The acronym BASE stands for Basically Available, Soft State, and Eventual Consistency. Basically Available This property refers
2 min read
Types of Databases
Databases are essential for storing and managing data in todayâs digital world. They serve as the backbone of various applications, from simple personal projects to complex enterprise systems. Understanding the different types of databases is crucial for choosing the right one based on specific requ
11 min read
Secondary Indexing in Databases
Pre-requisites: Primary Indexing in Databases Databases are a critical component of modern applications, storing vast amounts of data and serving as a source of information for various functions. One of the primary challenges in managing databases is providing efficient access to the stored data. To
5 min read
Specialty Databases
A NoSQL originally referring to non SQL or nonrelational is a database that provides a mechanism for storage and retrieval of data. NoSQL databases are used in real-time web applications and big data and their use is increasing over time. NoSQL systems are also sometimes called Not only SQL to empha
4 min read