On 28.05.21 00:28, nina guo wrote:
> 
> Where does prometheus tsdb stored?
> 
> Is it stored in memory? Yes if, when will it be flushed to local storage?

It is stored on local disk, at a location defined via the
--storage.tsdb.path flag.

It is, kind of, continuously flushed to storage via a write-ahead log
(WAL). If you want to know details, there are a ton of talks and posts
on the internet. Perhaps start with Ganesh's blog past series, part 1
is here: https://ganeshvernekar.com/blog/prometheus-tsdb-the-head-block/

-- 
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email] [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/20210609194617.GU3670%40jahnn.

Reply via email to