Hello Folks,
A relatively new prometheus adopter here. Howdy!

I have been reading through the terrific articles on Prometheus 2.x TSDB 
here:
https://ganeshvernekar.com/blog/prometheus-tsdb-queries/

As I understand, the effect of high label cardinality (>1000 values for a 
labelname) is high memory usage. Assuming I can scale up the memory, are 
there any other effects of high label cardinality that one needs to be 
aware of?

Could the ingestion/query performance be affected due to high label 
cardinality (despite having plenty of memory)? I gather from above articles 
that a map[labename][]postingOffset is maintained in memory per block and 
for a match query, it requires iterating through the []postingOffset 
sequentially comparing label value. Would this contribute to high query 
latencies?

fyi - we are doing 4 million unique time series today with an ingestion 
rate of about 135K/sec. Pretty happy so far with the performance! :)



--Girish

-- 
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/972e5772-0001-4fd1-8906-383884c70d63n%40googlegroups.com.

Reply via email to