Distrubuted Database Concept
Distrubuted Database Concept
We can define a distributed database (DDB) as a collection of multiple logically interrelated
databases distributed over a computer network, and a distributed database management
system (DDBMS) as a software system that manages a distributed database while making
the distribution transparent to the user.
What Constitutes a DDB For a database to be called distributed, the following minimum
conditions should be satisfied:
■ Connection of database nodes over a computer network. There are multiple computers,
called sites or nodes. These sites must be connected by an underlying network to transmit
data and commands among sites.
■ Logical interrelation of the connected databases. It is essential that the information in the
various database nodes be logically related.
■ Possible absence of homogeneity among connected nodes. It is not necessary that all node.
Availability and Reliability
1.Horizontal fragmentation
Primary horizontal fragmentation
Derived horizontal fragmentation
2. Vertical fragmentation
3.Hybride fragmentation
Horizontal fragmentation
P A B C D
1 A1 B1 C1 D1
2 A2 B2 C2 D2
3 A3 B3 C3 D3
P C D
1 C1 D1
2 C2 D2
3 C3 D3
Cont…
• in vertical fragmentation the field or column of a table are grouped
into fragment in order to maintain reconstructiveness each fragment
should contain the primary key field(s) of the table .
• Vertical fragmentation can be used to enforce privacy data.
Hybrid fragmentation
• In hybrid fragmentation, a combination of horizontal and vertical
fragmentation are used.
• It is the most flexible fragmentation technique since it generates
fragments with minimal extraneous information ,however
reconstruction of the original table is often expensive task.
• Hybrid fragmentation can be done in to two ways
1. At first generate a set of horizontal fragmentation then generate
vertical fragment from one or more horizontal fragment.
Cont…