0% found this document useful (0 votes)
2 views

U1T5 Data_base_Environment(DBMS Architecture)

The document outlines the three types of database architecture: One-Tier, Two-Tier, and Three-Tier. One-Tier architecture involves all components on a single machine, suitable for personal applications, while Two-Tier architecture separates the client and server for better interaction, often used in systems like library management. Three-Tier architecture adds an application server layer for larger web applications, facilitating communication between the client and database.

Uploaded by

joyalprincess
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)
2 views

U1T5 Data_base_Environment(DBMS Architecture)

The document outlines the three types of database architecture: One-Tier, Two-Tier, and Three-Tier. One-Tier architecture involves all components on a single machine, suitable for personal applications, while Two-Tier architecture separates the client and server for better interaction, often used in systems like library management. Three-Tier architecture adds an application server layer for larger web applications, facilitating communication between the client and database.

Uploaded by

joyalprincess
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/ 3

DBMS ARCHITECTURE

 A database architecture is a representation of DBMS design


There are 3-types of Architecture
1. One-Tier Architecture
2. Two-Tier Architecture
3. Three-Tier Architecture

ONE-TIER-ARCHITECTURE
 In DBMS is the simplest architecture of database in which the client, server and
database all reside on the same machine.
 One-tier architecture example would be anytime you install a database in your system
and access is to practice SQL queries but such architecture is rarely used in production.
 This setup is simple and is often used in personal or standalone applications where the
user interacts directly with the database.

For Example: A Microsoft Excel spreadsheet is a great example of one-tier architecture.

 Everything—the user interface, application logic and data is handled on a single


system.
 The user directly interacts with the application, performs operations like calculations
or data entry and stores data locally on the same machine.
 This architecture is simple and works well for personal, standalone applications where
no external server or network connection is needed.

Two-Tier Architecture
 The two-tier Architecture is similar to a basic client-server model.
 The application at the client end directly communicated with the database at the
server side.
 API’s like ODBS,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.

For Example: A Library Management System used in schools or small organizations is a classic
example of two-tier architecture.

Client Layer (Tier 1): This is the user interface that library staff or users interact with.

For example they might use a desktop application to search for books, issue them, or check
due dates.

Database Layer (Tier 2): The database server stores all the library records such as book details,
user information, and transaction logs.

The client layer sends a request (like searching for a book) to the database layer which
processes it and sends back the result. This separation allows the client to focus on the user
interface, while the server handles data storage and retrieval.

THREE-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.

For Example: E-commerce Store, Online Banking System.

User: You visit an online store, search for a product and add it to your cart.
Processing: The system checks if the product is in stock, calculates the total price and applies
any discounts.
Database: The product details, your cart and order history are stored in the database for future
reference

You might also like