VictoriaMetrics/lib/mergeset
Aliaksandr Valialkin a4140de9e6 lib/mergeset: unconditionally cache indexdb blocks
Production workloads show that indexdb blocks must be cached unconditionally for reducing CPU usage.
This shouldn't increase memory usage too much, since unused blocks are removed from the cache every two minutes.
2021-02-09 00:47:50 +02:00
..
block_header.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00
block_stream_reader.go lib: dump compressed block contents on error during decompression 2020-08-15 14:44:33 +03:00
block_stream_reader_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
block_stream_writer.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00
encoding.go app/vmstorage: export missing vm_cache_size_bytes metrics for indexdb and data caches 2021-02-09 00:47:00 +02:00
encoding_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
encoding_timing_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
inmemory_part.go all: add vm_data_size_bytes metrics for easy monitoring of on-disk data size and on-disk inverted index size 2019-07-04 19:42:30 +03:00
merge.go lib/{mergeset,storage}: compare errors with errors.Is() 2020-09-17 03:03:02 +03:00
merge_test.go lib/{mergeset,storage}: compare errors with errors.Is() 2020-09-17 03:03:02 +03:00
metaindex_row.go lib: dump compressed block contents on error during decompression 2020-08-15 14:44:33 +03:00
part.go app/vmstorage: export missing vm_cache_size_bytes metrics for indexdb and data caches 2021-02-09 00:47:00 +02:00
part_header.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00
part_search.go lib/mergeset: unconditionally cache indexdb blocks 2021-02-09 00:47:50 +02:00
part_search_test.go lib/mergeset: unconditionally cache indexdb blocks 2021-02-09 00:47:50 +02:00
table.go app/vmstorage: export missing vm_cache_size_bytes metrics for indexdb and data caches 2021-02-09 00:47:00 +02:00
table_search.go lib/mergeset: unconditionally cache indexdb blocks 2021-02-09 00:47:50 +02:00
table_search_test.go lib/mergeset: unconditionally cache indexdb blocks 2021-02-09 00:47:50 +02:00
table_search_timing_test.go lib/mergeset: unconditionally cache indexdb blocks 2021-02-09 00:47:50 +02:00
table_test.go lib/mergeset: unconditionally cache indexdb blocks 2021-02-09 00:47:50 +02:00