Skip to content

Commit 430462c

Browse files
committed
storage: enable value separation by default
Epic: none Release note (ops change): The `storage.value_separation.enabled` cluster setting is now true by default. This enables value separation for sstables, where values exceeding a certain size threshold are stored in separate blob files rather than inline in the sstable. This helps improve write performance (write-amp) by avoiding rewriting such values during compactions.
1 parent 3145ed0 commit 430462c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/storage/pebble.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,10 @@ var (
353353
valueSeparationEnabled = settings.RegisterBoolSetting(
354354
settings.SystemVisible,
355355
"storage.value_separation.enabled",
356-
"(experimental) whether or not values may be separated into blob files; "+
356+
"whether or not values may be separated into blob files; "+
357357
"requires columnar blocks to be enabled",
358358
metamorphic.ConstantWithTestBool(
359-
"storage.value_separation.enabled", false), /* defaultValue */
359+
"storage.value_separation.enabled", true /* defaultValue */),
360360
)
361361
valueSeparationMinimumSize = settings.RegisterIntSetting(
362362
settings.SystemVisible,
@@ -378,7 +378,7 @@ var (
378378
settings.SystemVisible,
379379
"storage.value_separation.rewrite_minimum_age",
380380
"the minimum age of a blob file before it is eligible for a rewrite compaction",
381-
5*time.Minute, // 5 minutes
381+
5*time.Minute,
382382
settings.DurationWithMinimum(0),
383383
)
384384
valueSeparationCompactionGarbageThreshold = settings.RegisterIntSetting(

0 commit comments

Comments
 (0)