<< INTRODUCING CSQL REPLICATION - TOC - Deployment Options >>
This chapter provides you with an overview of how Replication replicates data.
This section introduces the processes that Replication uses to replicate data. Before you can replicate data, you must define Replication. For more information on how to define replication, see Chapter 6. “Administering and Monitoring Replication.” Replication mainly uses three major processes to replicate data.
CSQL Replication uses a log-based transaction-capture mechanism to capture committed transactions. A log-based transaction capture minimizes the effect on transaction performance.
CSQL Replication uses the message queue to ensure that all the logs reach the appropriate server, regardless of a network or system failure. In the event of a failure, the message queue stores the logs until the network or system is operational. The message queue replicates data efficiently with a minimum of data copying and data transfer.
CSQL Replication uses a data-synchronization process to apply the replicated data to destination site. The destination database servers acknowledge receipt of a message when the message is safely stored. If the destination site fails to apply the log sent by the source then it could be because of connection failure or execution failure.
If it is the connection failure then the logs are sent after connection is reestablished, if it is execution failure then the entire transaction is written into the conflict resolution file.
Thus, this process ensures that transactions are applied at the destination site in the same order, as they were committed on the source database server.
<< INTRODUCING CSQL REPLICATION - TOC - Deployment Options >>