citusdata / citus_docs

Documentation for Citus. Distributed PostgreSQL as an extension.
Creative Commons Attribution 4.0 International
58 stars 58 forks source link

adding parallel rebalancing #1089

Closed techieari closed 1 year ago

techieari commented 1 year ago

fixes #1081

@emelsimsek I documented the GUC but the job infrastructure tables were not in the docs. Do you think it's ok if we just document what we have right now?

jonels-msft commented 1 year ago

Just noticed the issue includes a nice code sample.

We could include the example in the new cluster management section.

ALTER SYSTEM SET citus.max_background_task_executors_per_node = 2;
SELECT pg_reload_conf();

SELECT citus_rebalance_start();

That helps tie it together for people.

emelsimsek commented 1 year ago

fixes #1081

@emelsimsek I documented the GUC but the job infrastructure tables were not in the docs. Do you think it's ok if we just document what we have right now?

I agree that we can leave out the implementation details including the pg_dist_task* tables out of the user facing documentation.

emelsimsek commented 1 year ago

Just noticed the issue includes a nice code sample.

We could include the example in the new cluster management section.

ALTER SYSTEM SET citus.max_background_task_executors_per_node = 2;
SELECT pg_reload_conf();

SELECT citus_rebalance_start();

That helps tie it together for people.

Yes, this could be included where we talk about rebalancing in cluster management.