Skip to content

Commit

Permalink
8KB block
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip committed Feb 4, 2025
1 parent 5233891 commit d500b3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/apm-server/sampling/eventstorage/pebble.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ func OpenEventPebble(storageDir string) (*pebble.DB, error) {
opts := &pebble.Options{
FormatMajorVersion: pebble.FormatColumnarBlocks,
Logger: logp.NewLogger(logs.Sampling),
MemTableSize: 32 << 20,
MemTableSize: 16 << 20,
Levels: []pebble.LevelOptions{
{
BlockSize: 16 << 10,
BlockSize: 8 << 10,
Compression: func() pebble.Compression { return pebble.SnappyCompression },
FilterPolicy: bloom.FilterPolicy(10),
FilterType: pebble.TableFilter,
Expand Down

0 comments on commit d500b3f

Please sign in to comment.