pingcap / pingcap/tidb

parser: track memory usage of the parser for `tidb_mem_quota_query`

Open
#33,109 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

As described in https://github.com/pingcap/tidb/issues/32165#issuecomment-1035863879:

> tidb_mem_quota_query is more of a manual calculation to control memory, which does have the potential missing memory usage.

We need to track the memory used by the parser to archive a more accurate memory control for `tidb_mem_quota_query`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.