DBMS Series Part 2: DBMS Architecture
Learn about different layers of architecture in Database Systems

Search for a command to run...
Learn about different layers of architecture in Database Systems

Very well explained💯
Thank you! Glad it could help you.
Thank you!
I'm just guessing. coding minutes website is two-tier architecture, this article tries to drop a hint ( embedding a youtube video) and also there can be multiple clients for the same server and a set of APIs makes it easier for us to access and store data in the Database. I'm ruling out third-tier architecture because I think third-tier is used for complex applications such as websites which use payment gateways, to deal with monetary terms etc. This is just a guess. Waiting for the answer.
Really learnt many things from the article. Just awesome.
Amazing justification for your answer, will reveal the answer in the coming article, so stay tuned to check your answer! Thank you! am glad you found it helpful :)
Thank you
Computer system failures are a common issue, with computers crashing or malfunctioning unexpectedly. This often leads to mistrust in personal computers. The dependability of a computer system refers to its trustworthiness, indicating the user's confi...

With the increasing integration of computer systems into various aspects of our lives, the repercussions of system and software failures are growing. Failures, such as server software malfunction in e-commerce or errors in embedded control systems in...

User or customer testing is a crucial stage in the testing process where users or customers provide input and feedback on the system being tested. It can involve formal testing of a system commissioned from an external supplier or an informal process...

Release testing is the process of testing a particular release of a system that is intended for use outside of the development team. Normally, the system release is for customers and users. In a complex project, however, the release could be for othe...

Test-driven development (TDD) is a programming methodology where testing and code development are interleaved. It involves incrementally developing code alongside corresponding tests, ensuring that each increment of code passes its respective test be...

(This is the second article in the DBMS series, read the first article here to understand about basics of DBMS)
Spoiler: There is a challenge at the end of this article, read it completely to get the correct answer!
Recap : In the previous article, we read about the importance of DBMS and its advantages, drawbacks of file systems, and real-life applications of DBMS.
In this article we will learn about :
Introduction
From the previous article we understood the meaning of DBMS as the ability to access and modify the database, but how exactly are we doing this? Are we directly able to alter the data in the huge Database? The answer is certainly NO because a Database consists of a lot of sensitive information that cannot be shared or modified by any random user.
Here comes the role of Database Architecture as it describes the structure and how the users are connected to a specific database system. It is important to understand the Database architecture of a specific application as it allows us to:
Just like the architects design and develop the layout of the construction, even the Database Administrators design the Database before allowing it to store data. This determines the structural integrity and durability of the entire complex, i.e., the architecture defines the structure's performance.

Due to security constraints, DBMS doesn't allow every user to make changes to the Database, there are multiple levels of Abstraction that allow restricted access and also enable the working of a tier-based classification The 3 types of architecture are:

To learn SQL we set up our SQL server and the database on our local system, every change made by us through queries is reflected directly on the database, this whole setup used to learn SQL queries is an example of Single tier Architecture.
Similar to the concept of Client-Server architecture, where the client is the end user and the Server is the database which provides functionality to perform operations on the database via APIs (Application Programming Interface)
(Example of APIs in real life: Embedding YouTube into a webpage)
APIs are the intermediate stage between client and server that help in communication between the both, for example:
Going back to our Railway Ticket Reservation example, we usually use a web browser to book a ticket, in such a case our device acts as a client and the whole Railways database acts as the server which stores the information of every passenger. Another way of booking a ticket is by physically going to the Railway Station and filling the form, in such a case the ticket counter machine acts as a client that sends data to the Server, hence there can be multiple clients for the same server and a set of APIs makes it easier for us to access and store data into the Database.

Three-Tier DBMS Architecture is the most widely used DBMS architecture in which another layer known as the Application layer is added between the server (Database Layer) and the client (Presentation Layer) systems.
This application or business layer provides the end-user an abstract view of the database.
The requests sent by the users are checked and verified by the Intermediate Layer before transferring them to the server.
The major advantage of this architecture is the reduced load on the Query processor enhancing the Database Design and security.
Major advantages of three-tier architecture :
Scalability: the ability to expand the capacity of a database system to support larger amounts or requests and/or store more data without sacrificing performance.
Data Integrity: The database shouldn't be inconsistent at any point and should always maintain integrity, and shouldn't contain redundant data
Security: Not all the users are directly allowed to access the database due to multi-level abstraction.
Gmail, when we login into our accounts we don't know where our data has been stored and how are we able to log in directly through a password, this is taken care of by the business layer of the three-tier architecture.
Summing it up:
The Coding Minutes Website comes with which Tier Architecture?
A. Single-Tier Architecture
B. Two-Tier Architecture
C. Three-Tier Architecture
(Give your answer in the comments section, the one with the best explanation will have a special mention in the next article!)