mirror of https://github.com/citusdata/citus.git
9 lines
999 B
Plaintext
9 lines
999 B
Plaintext
SELECT * FROM pg_catalog.pg_dist_rebalance_strategy ORDER BY name;
|
|
name | default_strategy | shard_cost_function | node_capacity_function | shard_allowed_on_node_function | default_threshold | minimum_threshold
|
|
---------------------------------------------------------------------
|
|
by_disk_size | f | citus_shard_cost_by_disk_size | citus_node_capacity_1 | citus_shard_allowed_on_node_true | 0.1 | 0.01
|
|
by_shard_count | f | citus_shard_cost_1 | citus_node_capacity_1 | citus_shard_allowed_on_node_true | 0 | 0
|
|
custom_strategy | t | upgrade_rebalance_strategy.shard_cost_2 | upgrade_rebalance_strategy.capacity_high_worker_1 | upgrade_rebalance_strategy.only_worker_2 | 0.5 | 0.2
|
|
(3 rows)
|
|
|