Professional Documents
Culture Documents
Design and Architc - Lect 7 - 2
Design and Architc - Lect 7 - 2
ARCHITECTURE-2
Reference Book : Principles of Distributed Database Systems
EDITION THIRD
Author: M. Tamer Ozsu
Course:DDB
Instructor: Ibrar Afzal
Hazara University Mansehra, IT Department
ARCHITECTURAL MODELS FOR
DISTRIBUTED DBMSs
3
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs
1. AUTONOMY
4
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs
1. AUTONOMY
Dimensions of autonomy
Design autonomy:
– Her we are free to use the data models and transaction
management techniques.
Communication autonomy:
– What type of information it wants to provide to the other DBMSs?
– The software that controls their global execution.
5
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs
1. AUTONOMY
Dimensions of autonomy
Execution autonomy:
– Each DBMS can execute the transactions that are submitted to it in
6
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs
(1)AUTONOMY
Three alternatives:
– Tight integration
– Semiautonomous systems
– Total isolation
Tight integration.
A single-image of the entire database is available to any user who
wants to share the information, which may reside in multiple
databases. From the users’ perspective, the data is logically centralized
in one database.
7
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs
(1)AUTONOMY
Semiautonomous systems.
The DBMSs can operate independently. Each of these DBMSs
determine what parts of their own database they will make accessible
to users of other DBMSs.
Total isolation.
The individual systems are stand-alone DBMSs, which know neither
of the existence of the other DBMSs nor how to communicate with
them.
8
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs
2. DISTRIBUTION
Two alternatives:
– Client / server distribution
– Peer-to-peer distribution (full distribution)
9
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs
2. DISTRIBUTION
Client / server distribution.
• The client / server distribution concentrates data management duties at
servers while the clients focus on providing the application
environment including the user interface.
• The communication duties are shared between the client machines and
servers. Client / server DBMSs represent the first attempt at
distributing functionality.
10
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs
2. DISTRIBUTION
Peer-to-peer distribution.
• There is no distinction of client machines versus servers.
• Each machine has full DBMS functionality and can communicate
with other machines to execute queries and transactions.
11
ARCHITECTURAL MODELS FOR DISTRIBUTED DBMSs-
3. HETEROGENEITY
12
ARCHITECTURAL MODELS FOR DISTRIBUTED DBMSs-
3. HETEROGENEITY
13
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs - ALTERNATIVES
H0 - homogeneous systems
H1 - heterogeneous systems
14
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs - ALTERNATIVES
15
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs - ALTERNATIVES
16
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs - ALTERNATIVES
17
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs - ALTERNATIVES
18
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs - ALTERNATIVES
19
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs - ALTERNATIVES
20
ARCHITECTURAL MODELS FOR DISTRIBUTED
DBMSs - ALTERNATIVES
21
Thanks
22