mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-05-17 00:26:36 +03:00
This should reduce disk space occupied by indexDBs as they get deleted along with the corresponding partitions once those partitions become outside the retention window. - Motivation: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/7599 - What to expect: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/8134 Signed-off-by: Artem Fetishev <rtm@victoriametrics.com> Co-authored-by: Andrei Baidarov <baidarov@nebius.com>
33 lines
923 B
Go
33 lines
923 B
Go
package storage
|
|
|
|
const (
|
|
metaindexFilename = "metaindex.bin"
|
|
indexFilename = "index.bin"
|
|
valuesFilename = "values.bin"
|
|
timestampsFilename = "timestamps.bin"
|
|
partsFilename = "parts.json"
|
|
metadataFilename = "metadata.json"
|
|
|
|
appliedRetentionFilename = "appliedRetention.txt"
|
|
resetCacheOnStartupFilename = "reset_cache_on_startup"
|
|
|
|
tsidCacheFilename = "metricName_tsid"
|
|
metricIDCacheFilename = "metricID_tsid"
|
|
metricNameCacheFilename = "metricID_metricName"
|
|
prevHourMetricIDsFilename = "prev_hour_metric_ids_v2"
|
|
currHourMetricIDsFilename = "curr_hour_metric_ids_v2"
|
|
nextDayMetricIDsFilename = "next_day_metric_ids_v3"
|
|
metricNameTrackerFilename = "metric_usage_tracker"
|
|
)
|
|
|
|
const (
|
|
smallDirname = "small"
|
|
bigDirname = "big"
|
|
|
|
indexdbDirname = "indexdb"
|
|
dataDirname = "data"
|
|
metadataDirname = "metadata"
|
|
snapshotsDirname = "snapshots"
|
|
cacheDirname = "cache"
|
|
)
|