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

Database Tier and System Architecture

Uploaded by

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

Database Tier and System Architecture

Uploaded by

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

So far we have discussed

• Introduction to database
• Data , Database , DBMS
• Purpose of database
• Database vs File system
• Need of database
• Data abstraction
• View of data, level of data (physical, logical, view)
• Instance, schema
• Data independence
Unit-1
Introduction to Database system
(Database Tier and System Architecture)
Dr. Virendra Singh Kushwah
Senior Assistant Professor Grade-I
School of Computing Science and Engineering
[email protected]
Architecture of Database
Management System
• DBMS architecture helps in development, implementation, design,
and maintenance of a database that store and organize information
for agencies, businesses, and institutions. It is the base of any
database management system, which allows it to perform the
functions effectively and efficiently. The whole concept of DBMS
depends upon its architecture. It can be designed as centralized,
decentralized, or hierarchical.
• The database management system architecture can be seen as either
a single-tier or multi-tier, but logically, it can be of two types: 2-tier
architecture and 3- tier architecture.
1-tier Architecture
• In 1-tier architecture, the database
is directly available to the DBMS
user for executing the SQL queries
and storing data in it. Any changes
or updates that are done here will
be reflected directly to the
database in the database
management system.
• Generally, 1-tier architecture is
used for the development of
applications where a programmer
or developer directly communicates
with the database for a quick
response.
2-tier Architecture
• The 2-tier Architecture of DBMS is based on a client-server machine. In
this type of architecture, applications on the client-side can interact
directly with the database at the server-side. For this interaction between
client and the server, application programming interface (API) like Open
Database Connectivity (ODBC) and Java Database Connectivity (JDBC).
• This architecture gives poor performance when there are a large number
of users at the client machine to access the database.

• Examples of 2-tier architecture are Oracle, Sybase, Microsoft SQL Server,


etc.
2-tier Architecture
• The 2-tier Architecture of DBMS is based on a client-server machine. In
this type of architecture, applications on the client-side can interact
directly with the database at the server-side. For this interaction between
client and the server, application programming interface (API) like Open
Database Connectivity (ODBC) and Java Database Connectivity (JDBC).
• This architecture gives poor performance when there are a large number
of users at the client machine to access the database.

• Examples of 2-tier architecture are Oracle, Sybase, Microsoft SQL Server,


etc.
3-tier Architecture
• The DBMS 3-tier architecture consists of another layer between the client and the
server. In this architecture, the client cannot directly interact with the server. Its
features, such as data backup, recovery, security, and concurrency control make it the
most commonly used architecture for designing the database management system.
• The 3-tier architecture consists of the following layers:
1. Presentation layer: This layer is also known as the client layer. It is the front end layer
in the 3-tier architecture and consists of a user interface. The main purpose of this
layer is to communicate with the application layer.
2. Application layer: This layer is also known as the business logic layer. It acts as a
middle layer between the client and the database server for exchange of partially
processed data.
3. Database layer: The data or information is stored in this layer. This layer contains a
method to connect with the database and to perform operations such as insert,
update, and delete.

You might also like