Table Replication
You can replicate data in one table to another table that is in the same cluster or in a separate cluster. This type of replication is in addition to the automatic replication that occurs with table regions within a volume.
You can replicate changes (puts and deletes), entire tables, specific column families, and specific columns.
Data Fabric binary tables can only be replicated to binary tables; Data Fabric JSON tables can only be replicated to JSON tables.
- Tables from which data is replicated are called source tables. Tables to which the data is replicated are called replicas.
- Clusters from which data is replicated are called source clusters. Clusters to which data is replicated are called destination clusters. A single cluster can be both a source cluster and a destination cluster, depending on the replication configuration in which the cluster participates.
- Replication takes place between source and destination clusters. However, source clusters do not send data to nodes in the destination cluster directly. The replication stream (the data being pushed to the replicas) is consumed by one or more data-fabric gateways in the destination cluster. The gateways receive the updates from the source cluster, batch them, and apply them to the replica tables. Multiple gateways serve the purpose of both load balancing and failover.
For more information about gateways, see Administering Data Fabric Gateways.
The maximum number of replicas that a source table can replicate to is 64. The maximum number of source tables from which a replica can accept updates is 64.