Professional Documents
Culture Documents
• Distributed processing
– Database’s logical processing is shared among two or more
physically independent sites connected through a network
Distributed Database
• A distributed database is a collection of multiple,
logically interrelated databases distributed over a
computer network”
• The database is scattered over various locations
which provides local access to data and thus reduces
communication costs and increases availability.
• online banking, e-commerce merchant, HR
departments, telecommunication industry and air
line ticketing etc.
Types of Distributed
• Types of DistributedDatabase
– Homogeneous: Every site runs the same type of
DBMS
– Heterogeneous: Different sites rundifferent DBMS
(maybe even RDBMS and ODBMS)
Experiment Environment for Distributed Database
Server/ Server/
DB DB
Client Client
Server/
DB
Client
Advantages of DDB
• Local autonomy
• Reduced communications costs because each
table can be located at the site that most
heavily uses it
• Improved availability because portions of the
database are available even if one or some of
the sites are down
Disadvantages of DDB
• Security issues
• Concurrency
• Backup and recovery are the main problem of
DDS
Distributed Database Transparency Features
• Distribution Transparency
– Allows management of physically dispersed database
as if centralized
– The user does not need to know
• That the table’s rows and columns are split
vertically or horizontally and stored among multiple
sites
• That the data are geographically dispersed among
multiple sites
• That the data are replicated among multiple sites
Distributed Database Transparency Features
• Transaction Transparency
– Allows a transaction to update data at more than one
network site
– Ensures that the transaction will be either entirely
completed or aborted in order to maintain database
integrity
• Failure Transparency
– Ensures that the system will continue to operate in the
event of a node or network failure
– Functions that were lost will be picked up by another
network node
Distributed Database Transparency Features
• Performance Transparency
– Allows the system to perform as if it were a centralized DBMS
• No performance degradation due to use of a network or
platform differences
• System will find the most cost effective path to access
remote data
• Heterogeneity Transparency
– Allows the integration of several different local DBMSs under
a common global schema
• DDBMS translates the data requests from the global
schema to the local DBMS schema
Results for Centralized Database
Statistics of sever
Response_time in MilliSeconds
0
10
20
30
40
50
60
70
80
90
N
or
m
al
ca
ll
R
ef
il l
Ba
la
n ce
In
qu
i ry
C
ha
n ge
La
ng
ua
ge
SM
S-
C
Queries
ha
rg
e
Pr
e-
Server Statistics (Locally)
ac
t iv
at
Su io
bs n
c rib
er
lis
Max. Value
Results for Centralized (cont..)
Results for distributed database
Response time Statistics for all sites
(Milliseconds)
Local Access Foreign Access
Queries Min Avg. Max Min Avg. Max
Normal Call 2.4 4.3 31 3.4 6.7 47.8
Refill 1.8 3.3 23.4 2.6 5.9 33.2
Balance Inquiry 1 1.65 15.2 1.6 2.5 26
Change language 1.2 2.05 17.4 2 3.6 27
SMS-Charge 1.4 2.15 21 2 2.9 28
Pre-activation 1 1.65 16.4 1.6 2.4 21.4