Академический Документы
Профессиональный Документы
Культура Документы
Introduction
1
What is a DDBS? (cont’d)
X Applications
– manufacturing
» especially multi-plant manufacturing
– military command and control
– corporate MIS
– airlines
– hotel chains
– any organization which has a decentralized organization
structure
2
Promises of DDBS
z Transparent management of
– distributed, fragmented, and replicated data
z Improved reliability/availability
» distributed transactions
z Improved performance
z Easier and more economical system expansion
X Transparency
» separation of the higher level semantics of a system
y from the lower level implementation issues
» fundamental issue in transparency
y provides Data Independence in the distributed environment
– data independence
» immunity of user applications to change in the definition and
organization of data, and vice versa
» distributed query processing support
3
Promises of DDBS (cont’d)
– network transparency
y also called, distribution transparency
» location transparency
» naming transparency
y also called, access transparency
– replication transparency
– fragmentation transparency
» horizontal fragmentation
» vertical fragmentation
» hybrid
Distributed Database
4
Promises of DDBS (cont’d)
User
DBMS Query
Software User
DBMS
Application
Software
DBMS Communication
Software
Subsystem
User
Application
DBMS DBMS
Software Software
User
Query User
Query
Example
EMP ENO ENAME TITLE
E1 J. Doe Elect. Eng.
E2 M. Smith Syst. Anal.
E3 A. Lee Mech. Eng.
E4 J. Miller Programmer
E5 B. Casey Syst. Anal.
E6 L. Chu Elect. Eng.
E7 R. Davis Mech. Eng.
E8 J. Jones Syst. Anal.
5
Example (cont’d)
ASG
M.H. Kim, KAIST
11
Tokyo
Paris Q Fragmentation and
replication
Boston Paris projects
Communication Paris employees – for performance and
Network Paris assignments reliability
Boston employees
Boston projects
Boston employees
Boston assignments Montreal
6
Promises of DDBS (cont’d)
Ö SELECT ENAME,SAL
FROM EMP, ASG, PAY
WHERE DUR > 12
AND EMP.ENO = ASG.ENO
AND EMP.TITLE = PAY.TITLE
– DBMS layer
» DBMS should be responsible for a high level of data
independence
y together with replication and fragmentation transparency
7
Promises of DDBS (cont’d)
– OS layer
» distributed operating system (DOS)
9 usually provides network transparency
y e.g., distributed file services, naming, timing, etc
» services provided by DOS are limited in general
Language transparency
Fragmentation transparency
Replication transparency
Network transparency
Data independence
Data
Layers of Transparency
M.H. Kim, KAIST
16
8
Promises of DDBS (cont’d)
– parallelism in execution
» inter-query parallelism
» intra-query parallelism
9
Promises of DDBS (cont’d)
Parallelism requirements
– needs to have as much of the data required by each application
y at the site where the application executes
» full or partial replication/fragmentation
10
Complicating Factors
X Potential problems
– increased complexity
– increased cost
» especially, increased personnel cost
– distribution of control
9 can be an advantage in certain points
» problems of synchronization and coordination
– difficulty in security
11
Distributed DBMS Issues
12
Distributed DBMS Issues (cont’d)
Directory
Management
Query Distribution
Reliability
Processing Design
Concurrency
Control
Deadlock
Management
M.H. Kim, KAIST
26
13