0% found this document useful (0 votes)
19 views11 pages

Architecture Dbms

Uploaded by

mani1449336
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views11 pages

Architecture Dbms

Uploaded by

mani1449336
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

 Theory of Computation

Open In App

DBMS Architecture 1-level, 2-Level, 3-Level


Last Updated : 27 Sep, 2024



A Database stores a lot of critical information to access data quickly
and securely. Hence it is important to select the correct architecture
for efficient data management. DBMS Architecture helps users to
get their requests done while connecting to the database. We
choose database architecture depending on several factors like the
size of the database, number of users, and relationships between
the users. There are two types of database models that we generally
use, logical model and physical model. Several types of architecture
are there in the database which we will deal with in the next section.
Types of DBMS Architecture
There are several types of DBMS Architecture that we use according
to the usage requirements. Types of DBMS Architecture are
discussed here.
 1-Tier Architecture
 2-Tier Architecture
 3-Tier Architecture
1-Tier Architecture
In 1-Tier Architecture the database is directly available to the user,
the user can directly sit on the DBMS and use it that is, the client,
server, and Database are all present on the same machine. For
Example: to learn SQL we set up an SQL server and the database on
the local system. This enables us to directly interact with the
relational database and execute operations. The industry won’t use
this architecture they logically go for 2-tier and 3-tier Architecture.
DBMS 1-Tier Architecture

Advantages of 1-Tier Architecture


Below mentioned are the advantages of 1-Tier Architecture.
 Simple Architecture: 1-Tier Architecture is the most simple
architecture 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, which makes it cost-
effective.
 Easy to Implement: 1-Tier Architecture can be easily
deployed, and hence it is mostly used in small projects.
2-Tier Architecture
The 2-tier architecture is similar to a basic client-server model . The
application at the client end 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. On the
client side, the user interfaces and application programs are run.
The application on the client side establishes a connection with the
server side to communicate with the DBMS.
An advantage of this type is that maintenance and understanding
are easier, and compatible with existing systems. However, this
model gives poor performance when there are a large number of
users.

DBMS 2-Tier Architecture

Advantages of 2-Tier Architecture


 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 than 3-Tier
Architecture andMulti-Tier Architecture.
 Easy Deployment: 2-Tier Architecture is easier to deploy than
3-Tier Architecture.
 Simple: 2-Tier Architecture is easily understandable as well as
simple because of only two components.
3-Tier Architecture
In 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 data between the server and the client. This type of
architecture is used in the case of large web applications.

DBMS 3-Tier Architecture

Advantages of 3-Tier Architecture


 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 Data Integrity.
Since there is a middle layer between the client and the
server, data corruption can be avoided/removed.
 Security: 3-Tier Architecture Improves Security. This type of
model prevents direct interaction of the client with the server
thereby reducing access to unauthorized data.
Disadvantages of 3-Tier Architecture
 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 middle layers.
For more, you can refer to the Advantages and Disadvantages of 3-
Tier Architecture in DBMS .
Conclusion
When it comes to choosing a DBMS architecture, it all comes down
to how complex and scalable the system is. The 3-level structure
has the best features and is perfect for modern,
big database systems.
Are you a student in Computer Science or an employed professional
looking to take up the GATE 2025 Exam? Of course, you can get a
good score in it but to get the best score our GATE CS/IT 2025 - Self-
Paced Course is available on GeeksforGeeks to help you with its
preparation. Get comprehensive coverage of all topics of GATE,
detailed explanations, and practice questions for study. Study at
your pace. Flexible and easy-to-follow modules. Do well in GATE to
enhance the prospects of your career. Enroll now and let your journey
to success begin!

GeeksforGeeks

444

Previous Article
Next Article

Similar Reads

Advantages and Disadvantages of Three-Tier


Architecture in DBMS
Three-Tier Architecture :The 3-Tier architecture, intermediate servers
handle the client request, which coordinates the execution of the
client request with subordinate servers. It adds middle ware(middle
tier), which provides a way for clients of one DBMS to access data
from another DBMS. Generally, a two-tier client server model is used
to access
3 min read

Introduction of 3-Tier Architecture in DBMS - Set 2


The 3-tier architecture is a commonly used architectural approach in
Database Management Systems (DBMSs) for the design and
development of applications that work with databases. The 3-tier
architecture divides an application’s components into three tiers or
layers. Each layer has its own set of responsibilities. DBMS 3-Tier
architecture divides the
6 min read

Loop Level Parallelism in Computer Architecture


Since the beginning of multiprocessors, programmers have faced
the challenge of how to take advantage of the power of process
available. Sometimes parallelism is available but it is present in a
form that is too complicated for the programmer to think about. In
addition, there exists a large sequential code that has for years has
incremental perfor
3 min read

Two Level Paging and Multi Level Paging in OS


Paging is the process in which we convert the entire process into
equal-sized pages. Each page further consists of a fixed number of
words (if it is word addressable). The Pages are represented by the
Virtual Address generated by the CPU. These Pages are mapped to
the Physical Address by the MMU. So, to help in this mapping we use
the concept of Pa
3 min read

Relationship between User level thread and Kernel


level thread
Introduction: User-level threads and kernel-level threads are two
different approaches to implementing thread management in an
operating system. User-level threads are managed entirely by the
application, without any involvement from the operating system
kernel. The application manages the creation, scheduling, and
synchronization of threads, using
9 min read

Difference between Row level and Statement level


triggers
Triggers are very essential in the management of database
operations since they provide for the automation of tasks and
business rules. Triggers can be defined to occur on either the
‘before’ or the ‘after’ creation of a record using typical database
activities such as inserting, updating, or deleting records. There are
two main types of triggers:
5 min read

Architecture of HBase
Prerequisites - Introduction to Hadoop, Apache HBase HBase
architecture has 3 main components: HMaster, Region Server,
Zookeeper. Figure - Architecture of HBase All the 3 components are
described below: HMaster - The implementation of Master Server in
HBase is HMaster. It is a process in which regions are assigned to
region server as well as DDL (c
3 min read
Architecture of Apache Cassandra
Avinash Lakshman and Prashant Malik initially developed Cassandra
at Facebook to power the Facebook inbox search feature. Facebook
released Cassandra as an open source project on google code in July
2008. It became an Apache incubator project in March 2009. It
became one of the top level project in 17 Feb 2010. Fueled by the
internet revolution, mo
5 min read

NoSQL Data Architecture Patterns


Architecture Pattern is a logical way of categorizing data that will be
stored on the Database. NoSQL is a type of database which helps to
perform operations on big data and store it in a valid format. It is
widely used because of its flexibility and a wide variety of services.
Architecture Patterns of NoSQL: The data is stored in NoSQL in any
of t
4 min read

Types and Part of Data Mining architecture


Data Mining refers to the detection and extraction of new patterns
from the already collected data. Data mining is the amalgamation of
the field of statistics and computer science aiming to discover
patterns in incredibly large datasets and then transform them into a
comprehensible structure for later use. The architecture of Data
Mining: Basic Wor
4 min read

Article Tags :
 DBMS
 GATE CS
 DBMS Basics
Corporate & Communications Address:- A-143, 9th Floor, Sovereign Corporate Tower,
Sector- 136, Noida, Uttar Pradesh (201305) | Registered Address:- K 061, Tower K,
Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh,
201305

 Company
 About Us
 Legal
 In Media
 Contact Us
 Advertise with us
 GFG Corporate Solution
 Placement Training Program
 GeeksforGeeks Community
 Languages
 Python
 Java
 C++
 PHP
 GoLang
 SQL
 R Language
 Android Tutorial
 Tutorials Archive
 DSA
 Data Structures
 Algorithms
 DSA for Beginners
 Basic DSA Problems
 DSA Roadmap
 Top 100 DSA Interview Problems
 DSA Roadmap by Sandeep Jain
 All Cheat Sheets
 Data Science & ML
 Data Science With Python
 Data Science For Beginner
 Machine Learning
 ML Maths
 Data Visualisation
 Pandas
 NumPy
 NLP
 Deep Learning
 Web Technologies
 HTML
 CSS
 JavaScript
 TypeScript
 ReactJS
 NextJS
 Bootstrap
 Web Design
 Python Tutorial
 Python Programming Examples
 Python Projects
 Python Tkinter
 Web Scraping
 OpenCV Tutorial
 Python Interview Question
 Django
 Computer Science
 Operating Systems
 Computer Network
 Database Management System
 Software Engineering
 Digital Logic Design
 Engineering Maths
 Software Development
 Software Testing
 DevOps
 Git
 Linux
 AWS
 Docker
 Kubernetes
 Azure
 GCP
 DevOps Roadmap
 System Design
 High Level Design
 Low Level Design
 UML Diagrams
 Interview Guide
 Design Patterns
 OOAD
 System Design Bootcamp
 Interview Questions
 Inteview Preparation
 Competitive Programming
 Top DS or Algo for CP
 Company-Wise Recruitment Process
 Company-Wise Preparation
 Aptitude Preparation
 Puzzles
 School Subjects
 Mathematics
 Physics
 Chemistry
 Biology
 Social Science
 English Grammar
 Commerce
 World GK
 GeeksforGeeks Videos
 DSA
 Python
 Java
 C++
 Web Development
 Data Science
 CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved

You might also like