From a09523b02691479ec7a6d30b6849a530ab156eae Mon Sep 17 00:00:00 2001 From: Jackson Owens Date: Mon, 14 Oct 2024 10:50:48 -0400 Subject: [PATCH] cmd/pebble: enable columnar blocks in ycsb benchmarks --- cmd/pebble/db.go | 3 +++ docs/index.html | 2 ++ 2 files changed, 5 insertions(+) diff --git a/cmd/pebble/db.go b/cmd/pebble/db.go index 6c05904ddc..ace743e5b8 100644 --- a/cmd/pebble/db.go +++ b/cmd/pebble/db.go @@ -76,6 +76,9 @@ func newPebbleDB(dir string) DB { return 3 }, } + // In FormatColumnarBlocks (the value of FormatNewest at the time of + // writing), columnar blocks are only written if explicitly opted into. + opts.Experimental.EnableColumnarBlocks = func() bool { return true } for i := 0; i < len(opts.Levels); i++ { l := &opts.Levels[i] diff --git a/docs/index.html b/docs/index.html index 50046453ed..007090dbee 100644 --- a/docs/index.html +++ b/docs/index.html @@ -72,6 +72,8 @@ (from 5d.4xlarge)
Changed AWS machine type (#117852).
+
Enabled columnar + blocks