Distributed Systems - Design
Distributed Systems - Design
Data Fragmentation
Horizontal
fragmentation This type of fragmentation
refers division of a relation
into fragments of rows. Each fragment
is stored at a
different computer or node, and each fragment
contains
unique rows. Each horizontal fragment may have a
different
number of rows, but each fragment must have
the same attributes.
Vertical
fragmentation This type of fragmentation
refers to the division of a
relation into fragments that comprise a
collection of
attributes. Each vertical fragment must have the same
number of rows, but can have different attributes
depending on the
key.
Mixed
fragmentation This type of fragmentation
is a two-step process. First,
horizontal fragmentation is done to
obtain the
necessary rows, then vertical fragmentation is done to
divide the attributes among the rows.
Data Replication
Full
replication Stores
multiple copies of each database fragment at
multiple sites. Fully
replicated databases can be
impractical because of the amount of
overhead
imposed on the system.
Partial
replication Stores
multiple copies of some database fragments at
multiple sites. Most
DDBMS can handle this type of
replication very well.
No
replication Stores each
database fragment at a single site. No
duplication occurs.
Data Allocation
Client
Server Architecture