Re:Lessons learned from sharding Postgres at Notion
by andreimatei1 on Thursday October 07, 2021 @09:43AM
(#28786136)
Cockroach lets you hash-shard your keys n-ways if you choose to through a feature called hash-sharded indexes (https://www.cockroachlabs.com/docs/stable/hash-sharded-index...)
That's a trade-off: costlier range scans (a range scan turns into n scans) for avoiding a throughput-limiting hot spot.
[ Parent
| on HN ]
There are no comments on this comment yet.