From 43d7de4afe758603a8d3c71a139f074176366fef Mon Sep 17 00:00:00 2001 From: Dmytro Kozlov Date: Fri, 22 Dec 2023 16:05:16 +0100 Subject: [PATCH] docs: clarify information about values (#5503) --- docs/keyConcepts.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/keyConcepts.md b/docs/keyConcepts.md index 520eb0c37..94bb2edbc 100644 --- a/docs/keyConcepts.md +++ b/docs/keyConcepts.md @@ -80,7 +80,9 @@ See [these docs](https://docs.victoriametrics.com/FAQ.html#what-is-high-cardinal #### Raw samples Every unique time series may consist of an arbitrary number of `(value, timestamp)` data points (aka `raw samples`) sorted by `timestamp`. -The `value` is a [double-precision floating-point number](https://en.wikipedia.org/wiki/Double-precision_floating-point_format). +VictoriaMetrics stores all the `values` as [float64](https://en.wikipedia.org/wiki/Double-precision_floating-point_format) values +with [extra compression](https://faun.pub/victoriametrics-achieving-better-compression-for-time-series-data-than-gorilla-317bc1f95932) applied. +This guarantees precision correctness for values with up to 12 significant decimal digits ([-2^54 ... 2^54-1]). The `timestamp` is a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time) with millisecond precision. Below is an example of a single raw sample