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.
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.
(b) Slow update process as a single update must be performed at different databases to keep the copies consistent.
No Replication: The other case of replication involves having No replication – that is, each fragment is stored at only one site.
(i) Advantages of No replication
(a) The data can be easily recovered.
(b) Concurrency can be achieved in no replication.
(i) Disadvantages of No replication
(a) Since multiple users are accessing the same server, it may slow down the execution of queries.
Advantages of Data Replication
Data Replication is generally performed to:
Disadvantages of Data Replication
62 videos|66 docs|35 tests
|
|
Explore Courses for Computer Science Engineering (CSE) exam
|