Name Sundas Fatima Id F2017065292 Section W3
Name Sundas Fatima Id F2017065292 Section W3
Name Sundas Fatima Id F2017065292 Section W3
ID F2017065292
SECTION W3
Data Replication:
Data Replication is the process of storing data in more than one site or node. It is useful
in improving the availability of data. It is simply copying data from a database from one server to
another server so that all the users can share the same data without any inconsistency. The result
is a distributed database in which users can access data relevant to their tasks without interfering
with the work of others.
Data replication encompasses duplication of transactions on an ongoing basis, so that
the replicate is in a consistently updated state and synchronized with the source. However, in
data replication data is available at different locations, but a particular relation has to reside at
only one location.
3. Merge Replication: Data from two or more databases is combined into a single database.
Merge replication is the most complex type of replication because it allows both publisher and
subscriber to independently make changes to the database.
Replication Schemes:
1. Full Replication:
The most extreme case is replication of the whole database at every site in the distributed
system. This will improve the availability of the system because the system can continue
to operate as long as at least one site is up.
2. No Replication:
The other case of replication involves having No replication – that is, each fragment is stored at
only one site.
3. Partial Replication:
In this type of replication some fragments of the database may be replicated whereas others may
not. The number of copies of the fragment may range from one to the total number of sites in the
distributed system. The description of replication of fragments is sometimes called the
replication schema.