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
storage: aggressively separate values in range ID keyspace
Adapt Cockroach's implementation of pebble.SpanPolicyFunc to mark the range ID
keyspace with ValueStorageLatencyTolerant. This setting will cause Pebble to
separate values into blob files as long as they're large enough that a pointer
to an external value is likely to be smaller than the value itself. Separating
values improves write amplification by avoiding rewriting values during some
compactions.
We target the range ID keyspace because it contains the raft log, which is
written during all user writes but rarely read.
Tangentially related to #16624.
Epic: none
Release note (performance improvement): Reduces write amplification by storing
raft log values in separate blob files. This reduces write bandwidth,
especially on stores with many replicas. This in turn can increase throughput
and reduce latency. This behavior is active as long as the
storage.value_separation.enabled cluster setting is enabled.
0 commit comments