Skip to content

Commit

Permalink
cmd/pebble: enable columnar blocks in ycsb benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
jbowens committed Oct 15, 2024
1 parent 8079611 commit a09523b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/pebble/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 2 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
(from 5d.4xlarge)</div>
<div class="annotation" data-date="20240209">Changed AWS machine type
(<a href="https://github.com/cockroachdb/cockroach/pull/117852">#117852</a>).</div>
<div class="annotation" data-date="20241015">Enabled columnar
blocks</div>
</div>
<div class="section rows">
<div>
Expand Down

0 comments on commit a09523b

Please sign in to comment.