Selecting a materialization option

The term materialization refers to the process of copying the contents of one database (the source) to another (the target), so that both databases contain identical data. This is the prerequisite condition (or starting point) for any system that provides continuous data replication, including the Mirror Activator system.

Materialization always replaces existing data (if any) in the target database with the data in the source database. Therefore, any process that copies only the differences between the source data and the target data (for example, an “incremental replication”) is not materialization.

Some materialization techniques copy all of the source data to the target, but for only part of the source database (for example, subscription materialization in Replication Server). Such techniques are not well suited for databases in the Mirror Activator system.

The Mirror Activator system is intended to replicate a complete database, with a one-to-one relationship between each object in one primary database and each object in one standby database. Because the Mirror Activator system relies on mirror log devices, which are exact copies of the primary database log devices, a device-level database materialization technique may be well suited for a Mirror Activator system.

Snapshot materialization allows you to take advantage of your disk replication system’s facilities to simplify the materialization process, and to reduce the time required for a complete database materialization.

Choosing the materialization technique to use will depend on several factors:

Therefore, the choice of materialization technique is left to individual discretion.

The Mirror Activator system setup procedures in Chapter 2, “Setting Up and Configuring Mirror Activator,” and the failover and failback procedures in Appendix B, “Failover and Failback with Mirror Activator,” are based on using the snapshot materialization technique.

NoteSnapshot materialization requires the primary database to be quiesced. To minimize primary database downtime, refer to the appropriate task checklist in the following sections and plan your materialization procedures carefully. For more information, refer to the Mirror Replication Agent Primary Database Guide.