Skip to content

[Enhance] Make MemTracker More Reasonable #5782

Description

@HappenLee

1 Make Some MemTracker have reasonable Parent MemTracker do not the Root Tracker

2 Make Each MemTracker can be trace:

The current memory consumption is mainly concentrated on the following operations:

  • query
  • load
  • compaction
  • schema change

But it's really difficult to Identify the memory consumption caused by that particular operation, such as three queries. We don't know which query occupies the most memory.

So we need a way to identify it

  • query :each memtracker of same instance the label have same instance id
  • load:same as above
  • compaction : each memtracker of same tablet of compaction the label have same tablet id
  • schema change: each memtracker of same tablet of schema change the label have old tablet id - new tablet id

3 Add show level of MemTracker to reduce the MemTracker show in the web page to have a way to control show how many tracker in Web page.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions