You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that a table will be partitioned into 32 tablets by default.
But how can I specify the num of partitions when creating a postgres table?
Is there any way?
And can partitions be adjusted automatically like range split in CockroachDB?
The text was updated successfully, but these errors were encountered:
Thanks for the question. You can specify the number of tablets (aka partitions/shards) only at a cluster level today and not at an individual table level (this is something we will enhance in the future).
The config flag that controls the number of tablets at cluster level is num_shards_per_tserver
You can set the flag directly on yb-server or via the yb-ctl local cluster utility.
I noticed that a table will be partitioned into 32 tablets by default.
But how can I specify the num of partitions when creating a postgres table?
Is there any way?
And can partitions be adjusted automatically like range split in CockroachDB?
The text was updated successfully, but these errors were encountered: