1/35
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
DBMS ARCHITECTURE
defines how users interact with the database to read, write, or update information. A well-designed architecture and schema (a blueprint detailing tables, fields and relationships) ensure data consistency, improve performance and keep data secure.
1-Tier Architecture
2-Tier Architecture
3-Tier Architecture
TYPES OF DBMS ARCHITECTURE(3)
1-Tier Architecture
The user works directly with the database on the same system. This means the client, server, and database are all in one application. The user can open the application, interact with the data, and perform tasks without needing a separate server or network connection.
Simple Architecture
Cost-Effective
Easy to Implement
ADVANTAGES OF 1-TIER ARCHITECTURE (3)
Simple Architecture
1-Tier Architecture is the most ______ _________ to set up, as only a single machine is required to maintain it.
Cost-Effective
No additional hardware is required for implementing 1-Tier Architecture
Easy to Implement
1-Tier Architecture can be easily deployed and hence it is mostly used in small projects
Limited to Single User
Poor Security
No Centralized Control
Hard to Share Data
DISADVANTAGES OF 1-TIER ARCHITECTURE (4)
Limited to Single User
Only one person can use the application at a time. It’s not designated for multiple users or teamwork
Poor Security
Since everything is on the same machine, if someone gets access to the system, they can access both the data and the application easily.
No Centralized Control
Data is stored locally, so there’s no central database. This makes it hard to manage or back up data across multiple devices
Hard to Share Data
Sharing data between users is difficult because everything is stored on one computer
2-Tier Architecture
similar to a basic client-server model. The application at the client and directly communicates with the database on the server side. APIs like ODBC and JDBC are used for this interaction. The server side is responsible for providing query processing and transaction management functionalities
Easy to Access
Scalable
Low Cost
Easy Deployment
Simple
ADVANTAGES OF 2-TIER ARCHITECTURE (5)
Easy to Access
2-Tier Architecture makes easy access to the database, which makes fast retrieval
Scalable
We can scale the database easily, by adding clients or upgrading hardware
Low Cost
2-Tier Architecture is cheaper that 3-Tier Architecture and Multi-Tier Architecture
Easy Deployment
2-Tier Architecture is easier to deploy than 3-Tier Archtecture
Simple
2-Tier Architecture is easily understandable as well as simple because of only two components
Limited Scalability
Security Issues
Tight Coupling
Difficult Maintenance
DISADVANTAGES OF 2-Tier Architecture (4)
Limited Scalability
As the number of users increase, the system performance can slow down because the server get overloaded with too many requests
Security Issues
Clients connect directly to the database, which can make the system more vulnerable to attacks or data leaks
Tight Coupling
The client and server are closely linked. If the database changes, the client application often needs to be updated too
Difficult Maintenance
Managing updates, fixing bugs, or adding features become harder when the number of users or systems increases
3-Tier Architecture
there is another layer between the client and the server. The client does not directly communicate with the server. Instead, it interacts with an application server which further communicates with the database system and then the query processing and transaction management takes place. This intermediate layer acts as a medium for the exchange of partially processed dat between the server and the client,
Enhanced Scalability
Data Integrity
Security
ADVANTAGES OF 3-Tier Architecture (3)
Enhanced Scalability
Scalability is enhanced due to the distributed deployment of application servers. Now, individual connections need not be made between the client and server
Data Integrity
3-Tier Architecture maintains ____. Since the is a middle layer between the client and the server, data corruption can be avoided/removed
Security
3-Tier Architecture improves ____. This type of model prevents direct interaction of the client with the server thereby reducing access to unauthorized data.
More Complex
Difficult to Interact
Slower Response Time
High Cost
DISADVANTAGES OF 3-TIER ARCHITECTURE(4)
More Complex
3-Tier Architecture is more complex in comparison to 2-Tier Architecture. Communication Points are also doubled in 3-Tier Architecture
Difficult to Interact
It becomes difficult for this sort of interaction to take place due to the presence of the middle layers
Slower Response Time
Since the request passes through an extra layer (application server), it may take more time to get a response compared to 2-Tier systems
High Cost
Setting up and maintaining three separate layers (client, server, and database) requires more hardware, software, and skilled people. This makes it more expensive.
SQL (Structured Query Language)
a specialized programming language designed for managing and manipulating data stored in relational database. It is particularly useful for handling structured data, which involves relations among entities and variables.
Supabase
Firebase Alternative