Multi DBMS
Multi DBMS
1
Introduction
Architecture defines the structure of the system
components identified
functions of each component defined
interrelationships and interactions between components
defined
2
Reference Model (参考模型)
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.
Three approaches to define a reference model
① Component-based
– Components of the system are defined together with the
interrelationships between components
– Good for design and implementation of the system
3
Reference Model (cont.)
② Function-based
– Classes of users are identified together with the functionality
that the system will provide for each class
– The objectives of the system are clearly identified. But how do
you achieve these objectives?
③ Data-based
– Identify different types of data and specify the functional units
that will realize and/or use data according to these views.
– The ANSI/SPARC architecture discussed next belongs to this
category.
4
ANSI/SPARC Architecture
Users
Conceptual Conceptual
Schema View
Internal Internal
Schema View
5
The Top-Down Classical DDBMS
Architecture
Global Schema
Fragmentation Schema
Site Independent
Schemas
Allocation Schema
DBMS 1 DBMS 2
1.Client/server Architecture
2.Peer-to-Peer Architecture for distributed DBMS
3.Multi-databases Architecture
7
Bottom-up Architectural Models for
DDBMS
Possible ways in which multiple databases are put together for
sharing, which are characterized according to three dimensions.
Peer-to-peer
Distribution Distributed DBMS
Distributed
Multi-DBMS
Client/server
Multi-DBMS
Autonomy
Heterogeneity
Federated DBMS 8
Dimension 1: Distribution
Whether the components of the system are located
on the same machine or not
0 - no distribution - single site (D0)
1 - client-server - distribution of DBMS functionality (D1)
2 - full distribution - peer to peer distributed
architecture(D2)
9
Dimension 2: Heterogeneity
Various levels (hardware, communication, operating
system)
DBMS important ones (like data model, query
language, transaction management algorithms, etc.)
0 - homogeneous (H0)
1 - heterogeneous (H1)
10
Dimension 3: Autonomy
Refers to the distribution of control, not of data,
indicating the degree to which individual DBMSs can
operate independently.
Requirements of an autonomous system
The local operations of the individual DBMSs are not
affected by their participation in the DDBS.
The individual DBMS query processing and optimization
should not be affected by the execution of global queries
that access multiple databases.
System consistency or operation should not be
compromised when individual DBMSs join or leave the
distributed database confederation.
11
Distributed Database Reference
Architecture
ES1 ES2 ESn External Schema
Query Query
Scheduler Scheduler
Processor Processor
Database Database
13
Multi-DBMS Architecture with a
Global Conceptual Schema
ES1 ES2 ESn
LCS1 LCSn
LIS1 LISn
17