Академический Документы
Профессиональный Документы
Культура Документы
`
What a distributed database management
system (DDBMS) is and what its components
are
How database implementation is affected by
different levels of data and process distribution
How transactions are managed in a distributed
database environment
How database design is affected by the
distributed database environment
¦
| |
Distributed database management
system (DDBMS)
||
Data are located near ³greatest demand´ site
Faster data access
Faster data processing
Growth facilitation
Improved communications
Reduced operating costs
User-friendly interface
Less danger of a single-point failure
Processor independence
||
|
omplexity of management and control
Security
Lack of standards
Increased storage requirements
Greater difficulty in managing the data
environment
Increased training cost
|
| |
|
^pplication interface
Validation
Transformation
Query optimization
Mapping
I/O interface
Formatting
Security
Backup and recovery
DB administration
oncurrency control
Transaction management
|
Must perform all the functions of a
centralized DBMS
Distributed request
`¦
¦#
Distributed databases make it possible for a
transaction to access data at several sites
Final OMMIT must not be issued until all
sites have committed their parts of the
transaction
Two-phase commit protocol requires each
individual DP¶s transaction log entry be
written before the database fragment is
actually updated
¦
&
Objective of query optimization
routine is to minimize total cost
associated with the execution of a
request
osts associated with a request
are a function of the:
Ô ^ccess time (I/O) cost
Ô ommunication cost
Ô PU time cost
¦
&
Must provide distribution transparency as well as
transparency
Replica transparency:
Ô DDBMS¶s ability to hide the existence of multiple
copies of data from the user
Query optimization techniques:
Ô Manual or automatic
Ô Static or dynamic
Ô Statistically based or rule-based algorithms
| |
|
Data fragmentation:
Data replication:
Data allocation:
'!
| $
$
Fully replicated database:
Ô Storesmultiple copies of database
fragment at multiple sites
Ô an be impractical due to amount of overhead
Partially replicated database:
Ô Stores multiple copies of omdatabase
fragments at multiple sites
Ô Most DDBMSs are able to handle the partially
replicated database well
Unreplicated database:
Ô Stores each database fragment at a single
site
Ô o duplicate database fragments
|
Deciding where to locate data
^llocation strategies:
Ô entralized data allocation
å ½ntire database is stored at one site
Ô Partitioned data allocation
å Database is divided into several disjointed parts
(fragments) and stored at several sites
Ô Replicated data allocation
å opies of one or more database fragments are
stored at several sites
Data distribution over a computer network is
achieved through data partition, data
replication, or a combination of both
()||
Way in which computers interact to form a
system