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
- Create your primary grid, and add it to the gridset.
- Create your read replica, disabling checkpoint journals.
tibdg -r http://rs0:8080 grid create checkpoint_journals=disabled readReplicaGrid
- Add copysets, nodes, and state keepers to the new data grid.
- Wait for checkpoints to be mirrored.
- Run read-only operations against the new data grid.