Professional Documents
Culture Documents
I I
Distributed DBMS Architecture Distributed Database Design Semantic Data Control Distributed Query Processing Distributed Transaction Management
Distributed DBMS
Parallel Database Systems Distributed Object DBMS Database Interoperability Current Issues
1998 M. Tamer zsu & Patrick Valduriez Page 4. 1
Architecture
I
defined
Distributed DBMS
Page 4. 2
ANSI/SPARC Architecture
Users
External Schema
External view
External view
External view
Conceptual Schema
Conceptual view
Internal Schema
Internal view
Distributed DBMS
Page 4. 3
Standardization
Reference Model
A conceptual framework whose purpose is to divide standardization
work into manageable pieces and to show at a general level how these pieces are related to one another.
Approaches
Component-based
Components of the system are defined together with the interrelationships between components. N Good for design and implementation of the system. Function-based N Classes of users are identified together with the functionality that the system will provide for each class. N The objectives of the system are clearly identified. But how do you achieve these objectives? Data-based N Identify the different types of describing data and specify the functional units that will realize and/or use data according to these views.
N
Distributed DBMS 1998 M. Tamer zsu & Patrick Valduriez Page 4. 4
} ]
Distributed DBMS 1998 M. Tamer zsu & Patrick Valduriez Page 4. 5
} ]
Distributed DBMS 1998 M. Tamer zsu & Patrick Valduriez Page 4. 6
} ]
Distributed DBMS
Page 4. 7
Distributed DBMS
Page 4. 8
Distributed DBMS
Page 4. 9
Client/server
Autonomy
Multi-DBMS
Federated DBMS
Heterogeneity
Distributed DBMS 1998 M. Tamer zsu & Patrick Valduriez Page 4. 10
Distribution
Whether the components of the system are located on the same
machine or not
Heterogeneity
Various levels (hardware, communications, operating system) DBMS important one
N
Autonomy
Not well understood and most troublesome Various versions
N N N
Design autonomy: Ability of a component DBMS to decide on issues related to its own design. Communication autonomy: Ability of a component DBMS to decide whether and how to communicate with other DBMSs. Execution autonomy: Ability of a component DBMS to execute local operations in any manner it wants to.
1998 M. Tamer zsu & Patrick Valduriez Page 4. 11
Distributed DBMS
...
ESn
GCS
LCS1
LCS2
... ...
LCSn
LIS1
LIS2
LISn
Distributed DBMS
Page 4. 12
...
GESn
LES11
LCS1
LES1n
GCS
LESn1
LCSn
LESnm
LCS2
LIS1
LIS2
LISn
Distributed DBMS
Page 4. 13
Database
Distributed DBMS
Page 4. 14
High-level requests
LAN
Database
Distributed DBMS
Page 4. 15
Task Distribution
Application QL Interface
Programmatic Interface
Communications Manager
SQL query
result table
Query Optimizer Lock Manager Storage Manager
Communications Manager
Database
Distributed DBMS
Page 4. 16
More efficient division of labor Horizontal and vertical scaling of resources Better price/performance on client machines Ability to use familiar tools on client machines Client access to remote data (via standards) Full DBMS functionality provided to client workstations Overall better system price/performance
Distributed DBMS
Page 4. 17
I I I
Server forms bottleneck Server forms single point of failure Database scaling difficult
Distributed DBMS
Page 4. 18
LAN
Communications DBMS Services Communications DBMS Services
Database
Database
Distributed DBMS
Page 4. 19
Server-to-Server
I I I
LAN
Communications DBMS Services Communications DBMS Services
Database
Database
Distributed DBMS
Page 4. 20
GD/D
Database
Runtime Support Processor
System responses
Distributed DBMS
Page 4. 21
Components of a Multi-DBMS
USER Responses
GTP GS GUI GRM
Global Requests
GQP GQO
Local Requests
D B M S
D B M S
Directory Issues
Type
Global & central & non-replicated Local & central & replicated (?) Local & central & non-replicated (?) Local & distributed & non-replicated
Location
Global & central & replicated (?) Local & distributed & replicated Global & distributed & replicated
1998 M. Tamer zsu & Patrick Valduriez Page 4. 23
Replication
Distributed DBMS