yugabyte/yugabyte-db

[DocDB] Add metrics around MemTracker::GcTcmalloc

Open

#17.375 aperta il 16 mag 2023

Vedi su GitHub
 (1 commento) (0 reazioni) (1 assegnatario)C (1003 fork)batch import
area/docdbgood first issuekind/enhancementpriority/medium

Metriche repository

Star
 (8229 star)
Metriche merge PR
 (Merge medio 17g 21h) (92 PR mergiate in 30 g)

Descrizione

Jira Link: DB-6564

Description

We should add some metrics around how many times we call it and how much memory we release at a time. This is primarily useful for the tserver, but could also be valuable for PG, as we now use a MemTracker in PG and we've observed, in some benchmarks, that the PG time spent on the MemTracker can add up to 5% total time to the scan queries. cc @spolitov @timothy-e

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.

Guida contributor