From b8f50f3187a53d39779165c41e4b7fcaf54a43ff Mon Sep 17 00:00:00 2001 From: Carson Ip Date: Wed, 15 Jan 2025 16:54:43 +0000 Subject: [PATCH] Try enabling snappy to trade cpu for reduced disk IO / usage --- x-pack/apm-server/sampling/eventstorage/pebble.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/apm-server/sampling/eventstorage/pebble.go b/x-pack/apm-server/sampling/eventstorage/pebble.go index 74fcc566b2..90da8e4c57 100644 --- a/x-pack/apm-server/sampling/eventstorage/pebble.go +++ b/x-pack/apm-server/sampling/eventstorage/pebble.go @@ -48,7 +48,7 @@ func OpenPebble(storageDir string) (*pebble.DB, error) { MemTableSize: pebbleMemTableSize, Levels: []pebble.LevelOptions{ { - Compression: pebble.NoCompression, + Compression: pebble.SnappyCompression, FilterPolicy: bloom.FilterPolicy(10), FilterType: pebble.TableFilter, },