Documente Academic
Documente Profesional
Documente Cultură
Database Fundamentals
Chapter 9:
The Client/Server
Database Environment
Leon Chen
Overview
Query-by-example (QBE)
VBA
clients
Server
Client/Server Systems
Application Logic in
Client/Sever Systems
Presentation Logic
Input keyboard/mouse
Output monitor/printer
GUI Interface
Processing Logic
I/O processing
Business rules
Data management
Storage Logic
Data storage/retrieval
Procedures, functions,
programs
DBMS activities
Client/Server Architectures
Database Server
Client does
extensive processing
Architecture
Three-tier Architecture
FAT CLIENT
Thinner
clients
DBMS only
on server
Two-tier database server architecture
processing logic
Some business rules logic
Advantages of Two-Tier
Approach
Clients do not have to be as powerful
Greatly reduces data traffic on the
network
Improved data integrity since it is all
processed centrally
Stored procedures some business
rules done on server
11
Advantages of
Stored Procedures
Compiled
SQL statements
Reduced network traffic
Improved security
Improved data integrity
Thinner clients
12
Three-tier Architecture
Thinnest clients
Business rules on
application server
DBMS only on
Database server
13
Three-Tier Architectures
Client
GUI interface
(I/O processing)
Browser
Application server
Business rules
Web Server
Database server
Data storage
DBMS
Thin Client
PC
Advantages of Three-Tier
Architectures
Scalability
Technological flexibility
Long-term cost reduction
Better match of systems to business
needs
Improved customer service
Competitive advantage
Reduced risk
15
Challenges of Three-tier
Architectures
High
short-term costs
Tools and training
Experience
Incompatible standards
Lack of compatible end-user tools
16
Application Partitioning
17
Parallel Computer
Architectures
Tightly Coupled
Symmetric Multiprocessing (SMP)
Multiple CPUs
Shared RAM
Loosely Coupled
Massively Parallel Processing (MPP)
Multiple CPUs
Each CPU has its own RAM space
18
Middleware
19
Types of Middleware
Publish/Subscribe
20
Database Middleware
OLE-DB
21
Required parameters:
Additional information:
22
ODBC Architecture
Microsoft
Access
Oracle
ODBC
driver
Oracle9i
23
ODBC
24
(cont.)
26
27
Query-by-Example (QBE)
28
29
30
31