Homogenous and Heterogenous System
Homogenous and Heterogenous System
Homogenous and Heterogenous System
Distributed DBMS
Concepts and Design
CS 157B
Edward Chen
1
Introduction
Distributed Database changes the way of data
sharing, conceptually from centralization into
decentralization.
Development of computer networks promotes a
decentralized mode of work.
Development of distributed systems should improve
the sharing ability of the data and the efficiency of
data access
Distributed systems should help resolve the "islands
of information" problem
2
Concepts
Distributed database
A logically interrelated collection of shared data
and description of this data, physically distribute
over a computer network.
Distributed DBMS
The software system that permits the management
of the distributed databases and makes the
distribution transparent to users.
3
Concepts (cont’d)
In a distributed DBMS , single logical database is
split into a number of fragments.
Each fragment is stored on one or more computers
under the control of a separate DBMS
with the computer connected to a network. Each site
is capable of independently processing user requests
that require access to local data and is also capable of
processing data stored on other computers in the
network.
4
Concepts (cont’d)
There are two applications
1) local application: do not require data from
other sites
2) global application: do require data from other
sites
5
Concepts (cont’d)
6
Distributed Database Management System
7
Distributed Processing
8
Advantages
Reflects organizational structure
Improved shareablility and local autonomy
Improved availability
Improved reliability
Improved performance
Modular growth
Less danger on single-point failure
9
Disadvantages
Complexity
Cost
Security
Integrity control more difficult
Lack of standards
Lack of experience
Database design more complex
Possible slow response
10
Homogeneous and Heterogeneous DDBMSs
Homogeneous DDBMS
In homogeneous DDBMS, all sites use the
same DBMS product.
Much easier to design and manage.
This design provides incremental growth by
making additional new sites to DDBMS easy
Allows increased performance by exploiting
the parallel processing capability of multiple
sites.
11
Homogeneous and Heterogeneous DDBMSs
(cont’d)
Heterogeneous DDBMSs
In heterogeneous DDBMS, all sites may run different DBMS products,
which need not to be based on the same underlying data model and so the
system may be composed of RDBMS, ORDBMS and OODBMS products.
In heterogeneous system, communication between different DBMS are
required for translations.
In order to provide DBMS transparency, users must be able to make
requests in the language of the DBMS at their local site.
Data from the other sites may have different hardware, different DBMS
products and combination of different hardware and DBMS products.
The task for locating those data and performing any necessary
translation are the abilities of heterogeneous DDBMS.
12
Components Architecture of
DDBMS
Component Architecture for a DDBMS
Local DBMS (LDBMS) component - It has its own
local system catalog that stores information
about the data held at that site.
Data communications (DC) component – is the
software that enables all sites to communicate with
each other.
Global System Catalog (GSC) - The GSC holds
information specific to the distributed nature of the
system, such as the fragmentation and allocation
schemas.
Distributed DBMS component - is the controlling
unit of the entire system. 13
Components Architecture of DBMS
(cont’d)
14
FRAGMENTATION
Why fragmentation?
16
FRAGMENTATION (cont’d)
Selection S p(R) - defines a relation that
contains only those tuples of R that satisfy the
specified condition (predicate p). The same as
horizontal fragmentation.
17
Summary
A distributed database is a collection of multiple,
logically interrelated collection of shared data which
is physically distributed over a computer network.
20