Replicating databases Replication is an important feature of a robust database management system. In , you start database replication by using connection URL attributes. replicating databases database replication

The replication capability of has the following features:

Replication builds on 's ability to recover from a crash by starting with a backup and rolling forward 's transaction log files. The master sends log records to the slave using a network connection. The slave then writes these log records to its local log and redoes them.

If the master fails, the slave completes the recovery by redoing the log that has not already been processed. The state of the slave after this recovery is close to the state the master had when it crashed. However, some of the last transactions performed on the master may not have been sent to the slave and may therefore not be reflected. When the slave has completed the recovery work, it is transformed into a normal instance that is ready to process transactions. For more details, see .

Several properties allow you to specify the size of the replication log buffers and the intervals between log shipments, as well as whether replication messages are logged. See the for details.

You can perform replication on a database that runs in either embedded mode or Network Server mode.