Can I emulate hash-sharded indices in region partitioned tables? #74395
-
It's currently not possible to use hash-sharded indices on partitioned tables (results in an error I was wondering if I could emulate the behavior of hash-sharded indices by adding a new column to the table ( Am I correct in thinking that this would eliminate write hotspots to a single range? To clarify, what I'm proposing:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
We should definitely do something about this. We're working on making hash sharded indexes no longer experimental. Supporting partitioning seems important. It will require allowing the shard column to follow after the region column in the primary index. @chengxiong-ruan can you see if we've got an issue for this, add it to the epic, and potentially give it some thought? |
Beta Was this translation helpful? Give feedback.
We should definitely do something about this. We're working on making hash sharded indexes no longer experimental. Supporting partitioning seems important. It will require allowing the shard column to follow after the region column in the primary index.
@chengxiong-ruan can you see if we've got an issue for this, add it to the epic, and potentially give it some thought?