Categories: DBMSUncategorized

DBMS Architecture

The architecture of the DBMS affects how it is designed. When dealing with a sizable number of PCs, web servers, database servers, and other components connected by networks, the fundamental client/server architecture is used.
A workstation and numerous PCs connected by a network make up the client/server architecture.
How users connect to the database to complete their requests affects the DBMS architecture.

Types of DBMS Architecture:

A single tier or multiple tiers can be seen in database architecture. But logically, there are only two types of database architecture: two-tier and three-tier.

2-Tier Architecture:

A basic client-server architecture is a two-tier architecture. Applications on the client end can speak directly with the database on the server end when using a two-tier architecture. APIs like ODBC and JDBC are used for this interaction.
Client-side computing is used to run the application programs and user interfaces.
The server side provides functionalities like query processing and transaction management.
The client-side application creates a connection with the server side in order to communicate with the DBMS.

3-Tier Architecture:

The 3-tier DBMS architecture is a software design pattern that separates the database management system into three layers, each with its unique responsibilities. The three tiers are:

  1. Presentation Layer: The presentation layer is responsible for displaying data to the user and receiving input from the user. This layer is responsible for the graphical user interface (GUI) and interaction with the end user.
  2. Application Layer: The application layer is responsible for processing the data and performing business logic. This layer is responsible for communicating with the presentation layer to receive user input and provide results, and with the database, layer to access the database.
  3. Database Layer: The database layer is responsible for managing the database and ensuring data consistency. This layer is accountable for creating, storing, and retrieving data from the database. The database layer communicates with the application layer to provide access to the data stored in the database.

The 3-tier architecture provides a clear separation of responsibilities, which makes it easier to manage the database and ensure that the system remains scalable and maintainable. Additionally, this architecture provides a higher level of security, as the database is kept separate from the user interface and application logic.

Note: also read about the Components of DBMS

Follow Me

Please follow me to read my latest post on programming and technology if you like my post.

https://www.instagram.com/coderz.py/

https://www.facebook.com/coderz.py

Share
Published by
Rabecca Fatima

Recent Posts

Longest Absolute Path in File System Representation

Find the length of the longest absolute path to a file within the abstracted file…

3 days ago

Efficient Order Log Storage

You manage an e-commerce website and need to keep track of the last N order…

2 weeks ago

Select a Random Element from a Stream

You are given a stream of elements that is too large to fit into memory.…

3 weeks ago

Estimate π Using Monte Carlo Method

The formula for the area of a circle is given by πr². Use the Monte…

1 month ago

Longest Substring with K Distinct Characters

Given an integer k and a string s, write a function to determine the length…

1 month ago

Staircase Climbing Ways

There is a staircase with N steps, and you can ascend either 1 step or…

1 month ago