yugabyte/yugabyte-db

[DocDB] Add metrics around MemTracker::GcTcmalloc

Open

#17,375 建立於 2023年5月16日

在 GitHub 查看
 (1 留言) (0 反應) (1 負責人)C (1,003 fork)batch import
area/docdbgood first issuekind/enhancementpriority/medium

倉庫指標

Star
 (8,229 star)
PR 合併指標
 (平均合併 17天 21小時) (30 天內合併 92 個 PR)

描述

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.

貢獻者指南