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

Generate Parenthesis | Intuition + Code | Recursion Tree | Backtracking | Java

Problem Statement: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example…

2 months ago

Square Root of Integer

Given an integer A. Compute and return the square root of A. If A is…

1 year ago

Build Array From Permutation

Given a zero-based permutation nums (0-indexed), build an array ans of the same length where…

1 year ago

DSA: Heap

A heap is a specialized tree-based data structure that satisfies the heap property. It is…

1 year ago

DSA: Trie

What is a Trie in DSA? A trie, often known as a prefix tree, is…

1 year ago

Trees: Lowest Common Ancestor

What is the Lowest Common Ancestor? In a tree, the lowest common ancestor (LCA) of…

1 year ago