User Tools

Site Tools

Action disabled: revisions

Coordinator node may be replicated using STREAMING REPLICATION

Start replication

Set replication factor before start

SET citus.shard_replication_factor = 2;

Set shard distributed table

SELECT create_distributed_table('tablename', 'id');

or Copy table to all nodes

SELECT create_reference_table('tablename');

Show connected workers

SELECT * FROM citus_get_active_worker_nodes();

Rebalance table

SELECT rebalance_table_shards('tablename');
citus.txt · Last modified: 2021/04/16 12:47 by Jan Forman