mirror of
https://github.com/prometheus/prometheus
synced 2025-02-11 09:29:18 +00:00
Previously we were keeping up to around 6 hours of WAL around by removing 1/3 every hours. This was excessive, so switch to removing 2/3 which will up to around 3 hours of WAL around. This will roughly halve the size of the WAL and halve startup time for those who are I/O bound. This may increase the checkpoint size for those with certain churn patterns, but by much less than we're saving from the segments. Signed-off-by: Brian Brazil <brian.brazil@robustperception.io> |
||
---|---|---|
.. | ||
chunkenc | ||
chunks | ||
cmd/tsdb | ||
docs/format | ||
encoding | ||
errors | ||
fileutil | ||
goversion | ||
index | ||
record | ||
test | ||
testdata | ||
tombstones | ||
tsdbutil | ||
wal | ||
.gitignore | ||
block_test.go | ||
block.go | ||
CHANGELOG.md | ||
compact_test.go | ||
compact.go | ||
db_test.go | ||
db.go | ||
head_bench_test.go | ||
head_test.go | ||
head.go | ||
isolation.go | ||
mocks_test.go | ||
querier_bench_test.go | ||
querier_test.go | ||
querier.go | ||
README.md | ||
repair_test.go | ||
repair.go | ||
tsdbblockutil.go | ||
wal_test.go | ||
wal.go |
TSDB
This repository contains the Prometheus storage layer that is used in its 2.x releases.
A writeup of its design can be found here.
Based on the Gorilla TSDB white papers.
Video: Storing 16 Bytes at Scale from PromCon 2017.
See also the format documentation.