Data Replication (DBMS)
Data Replication (DBMS)
There can be full replication, in which the whole database is stored at every site. There can
also be partial replication, in which some frequently used fragment of the database are
replicated and others are not replicated.
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
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
LNCT GROUP OF COLLEGES www.foxitsoftware.com/shopping
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 atleast one site is up.
Improves the performance for retrieval of global queries as the result can be obtained
locally from any of the local site.
2. No Replication – The other case of replication involves having No replication – that is,
each fragment is stored at only one site.
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
LNCT GROUP OF COLLEGES www.foxitsoftware.com/shopping
Advantages of No replication –
Disadvantages of No replication –
Since multiple users are accessing the same server, it may slow down the execution of
queries.
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.
The number of copies of the fragment depends upon the importance of data.
Edited with the trial version of
Foxit Advanced PDF Editor
To remove this notice, visit:
LNCT GROUP OF COLLEGES www.foxitsoftware.com/shopping
To remove any data redundancy, the databases are merged and slave databases are
updated with outdated or incomplete data.
Since replicas are created there are chances that the data is found itself where the
transaction is executing which reduces the data movement.
More storage space is needed as storing the replicas of same data at different sites
consumes more space.
Data Replication becomes expensive when the replicas at all different sites need to be
updated.
Assignment:
Que-1. What is the data replication?