Bryan Boreham 87d909df4a
Remove symbols map from TSDB head (#9301)
This saves memory, effort and locking.

Since every symbol is also added to postings, `Symbols()` can be
implemented there instead. This now has to build a map for
deduplication, but `Symbols()` is only called for compaction, and `gc()`
used to rebuild the symbols map after every compaction so not an
additional cost.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2021-09-08 14:48:48 +05:30
..
2021-08-27 10:24:14 +02:00
2021-08-30 19:34:38 +05:30
2021-08-27 10:24:14 +02:00
2021-08-27 10:24:14 +02:00
2021-08-30 19:34:38 +05:30
2021-06-11 12:28:36 -04:00
2021-07-20 18:08:08 +05:30
2021-06-11 12:28:36 -04:00
2021-06-11 12:28:36 -04:00
2021-02-22 20:28:02 +01:00
2021-06-11 12:28:36 -04:00
2021-06-11 12:28:36 -04:00
2021-08-28 22:42:22 -04:00
2021-08-30 19:34:38 +05:30
2021-07-29 12:38:11 +02:00
2021-06-17 07:18:51 -04:00
2021-06-11 12:28:36 -04:00
2021-06-11 12:28:36 -04:00
2021-08-27 10:24:14 +02:00
2021-06-11 12:28:36 -04:00

TSDB

GoPkg

This directory 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.

A series of blog posts explaining different components of TSDB: