pg-sharding / spqr

Stateless Postgres Query Router.
https://pg-sharding.tech
Other
935 stars 46 forks source link

REDISTRIBUTE: default batch size #807

Open Denchick opened 1 week ago

Denchick commented 1 week ago

In #789 was added REDISTRIBUTE command. It would be more user friendly if BATCH SIZE parameter has some default value, so the command syntax will be.

REDISTRIBUTE KEY RANGE <key_range_id> TO <shard> [BATCH SIZE <value>];

It also will be cool if user could redefine this default in coordinator config file.