DBMS Architectures and Features - Lecture 7 - Introduction To Databases (1007156ANR)
DBMS Architectures and Features - Lecture 7 - Introduction To Databases (1007156ANR)
beatsigner.com
2 December 2005
DBMS Components
Programmers Users DB Admins
Application Database
Queries
Programs Schema
DBMS
DML Query DDL
Preprocessor Compiler Compiler
Transaction
Scheduler
Manager
Data
Manager Buffer Recovery
Manager Manager
Database
Manager
Access File
Methods Manager
Terminal 1 Terminal 3
Mainframe
Terminal 2 Terminal n
Client 2 Client n
Client 2 Client n
HTTP Request
Internet
HTTP Response Database
Client Application DB Server
Server
HTTP Request
Internet Database
Application DB Server
HTTP Response
Web Server
Client
Server
HTML Pages
Database 1 Database 3
Site 1 LAN or Site 3
WAN
Database 2 Database n
Site 2 Site n
Service 1
Database 1
.
Client 1 DB Server 1
TP Monitor .
.
Service r
Database n
Client m Application Server DB Server n
Processor Memory
Memory Disk
Processor Processor
Disk Disk
shared memory shared disk shared nothing
Database Database
Site 1 LAN or Site 3
WAN
Database Database
Site 2 Site n
▪ Distributed database
▪ logically related collection of shared data and metadata that is
distributed over a network
▪ Distributed DBMS
▪ software system to manage the distributed database in a
transparent way
▪ Implementation issues
▪ transactions have to be executed atomically accross different
sites (two-phase commit protocol)
- commit decision is left to a single coordinator
▪ distributed concurrency control
- deadlock detection has to be carried out across multiple sites
Google
Microsoft
Yahoo
Amazon
Client 2 Client n
2 December 2005