Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
124 views

MySQL Architecture

This document provides an overview of different database architectures with MySQL: 1) It describes 1-tier, 2-tier, and 3-tier architectures, with 1-tier allowing direct user access to the database and 2-tier using an interface between the user and server. 2) 2-tier architecture is like a basic client-server model with an API connecting the client and server, while 3-tier adds an application layer between them. 3) The advantages of 3-tier architecture include improved scalability, data integrity, and security, while the disadvantage is increased complexity.

Uploaded by

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

MySQL Architecture

This document provides an overview of different database architectures with MySQL: 1) It describes 1-tier, 2-tier, and 3-tier architectures, with 1-tier allowing direct user access to the database and 2-tier using an interface between the user and server. 2) 2-tier architecture is like a basic client-server model with an API connecting the client and server, while 3-tier adds an application layer between them. 3) The advantages of 3-tier architecture include improved scalability, data integrity, and security, while the disadvantage is increased complexity.

Uploaded by

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

Configuration of MySQL

Course Name:
Database Faculty Name:
Administration Ms. Zaiba Khan
with MySQL
Branch- Assistant Professor(CSE)
B.Tech-VI Semester School of
Course Code: Engineering &
Technology
19009300
1
Introduction

 In a basic client/server DBMS architecture , the


system functionality distributed between two
types of modules

◦ A CLIENT MODE is typically designed , so it will run


on user workstation /PC.
 It handles user interaction & provides the user friendly
interface.

◦ A SERVER MODE typically handles data storage,


access search & other function.

2
Introduction
(Types of Tiers)

 1-Tier Architecture
 2-Tier Architecture
 3-Tier Architecture

3
One Tier Architecture

 The database is directly available to the user


◦ It means the user can directly work on the DBMS and
uses it

 Any changes done here will directly be done on


the database itself

 The 1-Tier architecture is used for development


of the local application
◦ where programmers can directly communicate with
the database for the quick response
 Examples…..
4
Two Tier Architecture
 Two tier architecture is similar to a basic client-server model

 The application at the client end directly communicates with the


database at the server side

 API’s like ODBC,JDBC are used for this interaction

 The server side is responsible for providing query processing


and transaction management functionalities

 The client side, the user interfaces and application programs


are run

 The application on the client side establishes a connection with


the server side in order to communicate with the DBMS

 Example: Contact List prepared in MS-Access

5
Two Tier Architecture

An advantage of this type is that maintenance and


understanding is easier, compatible with existing
systems

However this model gives poor performance when there


are a large number of users

6
Three 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
exchange of partially processed data between server
and client
 This type of architecture is used in case of large web
applications

7
Three Tier Architecture
(Advantages and Disadvantages)
Advantages:
 Enhanced scalability
◦ Individual connections need not be made between client and
server.

 Data Integrity is maintained


◦ A middle layer between client and server, data corruption can
be avoided/removed

 Security is improved
◦ This model prevents direct interaction of the client with the
server thereby reducing access to unauthorized data

Disadvantages:
 Increased complexity of implementation and communication

8
Three Tier Architecture
(Pictorial Representation)

9
Option Files

10

You might also like