Professional Documents
Culture Documents
DDBMS Architecture
Architectural Models of DDBMS
More on Transparency
H.Lu/HKUST
DDBMS Architecture
Architecture defines a system’s structure with
Componets
Functions of components, and
Their interactions
Purpose of “reference architecture”:
Users
Conceptual Conceptual
Schema View
Internal Internal
Schema View
DBMS 1 DBMS 2
R 21
R2
(Site2)
R3 R 22
R 32
Global R3
Fragments (Site3)
Relation
R 33
Physical Images
H.Lu/HKUST L02: Introduction -- 11
Motivation for this Architecture
Separating the concept of data fragmentation from
the concept of data allocation
fragmentation transparency
location transparency
Explicit control of redundancy
Independence from local databases: allows local
mapping transparency
DDBMS Architecture
Architectural Models of DDBMS
More on Transparency
H.Lu/HKUST
Bottom Up Architecture - Present & Future
Possible ways in which multiple databases may be put together for sharing
by multiple DBMSs, which are characterized according to
Autonomy (A) degree to which individual DBMSs can operate
independently.
0 - Tightly coupled - integrated (A0),
1 - Semiautonomous - federated (A1),
2 - Total Isolation - multidatabase systems(A2)
Distribution (D)
0 - no distribution - single site (D0),
1 - client-server - distribution of DBMS functionality (D1),
2 - full distribution – P2P distributed architecture(D2)
Heterogeneity (H)
0 - homogeneous (H0)
1 - heterogeneous (H1)
Operati
System
Program
Client
DBMS
ng
Communication
SQL Queries software
Result
Communication Relation
software
Semantic Data
Operatin
Controller
Query
Optimizer
Transaction
g
Manager
Recovery
Manager
Runtime Support
Processor
System
Database
H.Lu/HKUST L02: Introduction -- 25
DDBS Reference Architecture
ES1 ES2 ESn External
Schema
GCS Global Conceptual Schem
Local Recovery
Semantic Data
User Interface
Global Query
Local Query
Processor
Runtime
Controller
Optimizer
Support
Execution
Manager
Monitor
Handler
Global
Local Database
LCS1 LCS2 LCS3
System Layer
Database Database
More on Transparency
H.Lu/HKUST
More on Transparency
X transparency means the existence of X is not
known to users.
Closely related to architecture issues.
The level of transparency is inevitably a compromise
between ease of use and the difficulty and overhead
cost of providing high levels of transparency
DDBMS provides location transparency and
fragmentation transparency, OS provides network
transparency, and DBMS provides data
independence
DDBMS
Codasyl IMS
Supplier2 Supplier1
The applications have to specify both the fragment names and the sites
where they are located. The mapping of database operations specified in
applications to those in DBMSs at sites is transparent
DDBMS