citus_docs icon indicating copy to clipboard operation
citus_docs copied to clipboard

Talk more about the threshold parameter of rebalance_table_shards()

Open begriffs opened this issue 6 years ago • 2 comments
trafficstars

Communication goals (e.g. detailed howto vs orientation)

The parameter controls how precisely balanced shards should become. A value of 0.0 means perfectly balanced, but that takes more work by the rebalancer. The default is 0.1. It surprises some people when they see the imbalance, so we should update our examples to specify the threshold.

We should also mention the default value in our reference section if it doesn't already.

Good locations for content in docs structure

  • http://docs.citusdata.com/en/v8.1/admin_guide/cluster_management.html#rebalance-shards-without-downtime

begriffs avatar Jan 14 '19 21:01 begriffs

The default is 0 since 7.4

marcocitus avatar Jan 14 '19 21:01 marcocitus

@marcocitus thanks for pointing that out. @saicitus we should talk about what, if anything, we still want say about the threshold.

begriffs avatar Jan 14 '19 21:01 begriffs