Read Replicas

A read replica is configured in the same way as a standard mirror. The distinction is primarily in how a read replica is used. Since a read replica is never used as a primary, it does not store any checkpoint metadata.

Procedure

  1. Create your primary grid, and add it to the gridset.
  2. Create your read replica, disabling checkpoint journals.
    tibdg -r http://rs0:8080 grid create checkpoint_journals=disabled readReplicaGrid
  3. Add copysets, nodes, and state keepers to the new grid.
  4. Wait for checkpoints to be mirrored.
  5. Run read-only operations against the new grid.