Professional Documents
Culture Documents
Database Environment
2
Pearson Education © 2009
Multi-User DBMS Architectures
Teleprocessing
File-server
Client-server
3
Pearson Education © 2009
Teleprocessing
Traditional architecture.
Single mainframe with a number of
terminals attached.
Trend is now towards downsizing.
4
Pearson Education © 2009
File-Server
File-server is connected to several workstations
across a network.
Disadvantages include:
– Significant network traffic.
– Copy of DBMS on each workstation. 5
– Concurrency, recovery
Pearson Education © 2009
and integrity control more
File-Server Architecture
6
Pearson Education © 2009
Traditional Two-Tier Client-Server
Client (tier 1) manages user interface and runs
applications.
Server (tier 2) holds database and DBMS.
Advantages include:
– wider access to existing databases;
– increased performance;
– possible reduction in hardware costs;
– reduction in communication costs;
– increased consistency.
7
Pearson Education © 2009
Traditional Two-Tier Client-Server
8
Pearson Education © 2009
Traditional Two-Tier Client-Server
9
Pearson Education © 2009
10
Three-Tier Client-Server
Client side presented two problems preventing
true scalability:
– ‘Fat’ client, requiring considerable resources on
client’s computer to run effectively. This includes
disk space, RAM, and CPU power
– Significant client side administration overhead.
11
Pearson Education © 2009
Three-Tier Client-Server
Advantages:
– ‘Thin’ client, requiring less expensive hardware.
– Application maintenance centralized.
– Easier to modify or replace one tier without
affecting others.
– Separating business logic from database functions
makes it easier to implement load balancing.
– Maps quite naturally to Web environment.
12
Pearson Education © 2009
Three-Tier Client-Server
13
Pearson Education © 2009
Transaction Processing Monitors
Program that controls data transfer between clients
and servers in order to provide a consistent
environment, particularly for Online Transaction
Processing (OLTP).
A Transaction Processing Monitor, or TP Monitor, is
a middleware component that provides access to the
services of a number of resource managers and
provides a uniform interface for programmers who
are developing transactional software. A TP Monitor
forms the middle tier of a three-tier architecture.
14
Pearson Education © 2009
TPM as middle tier of 3-tier client-server
15
Pearson Education © 2009
Ecercise4
Explain the terms ‘Fat client’ and ‘Thin client’.
16
Pearson Education © 2009