Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YSQL] Analyze the memory usage of ysql postgres process #13544

Open
lnguyen-yugabyte opened this issue Aug 5, 2022 · 0 comments
Open

[YSQL] Analyze the memory usage of ysql postgres process #13544

lnguyen-yugabyte opened this issue Aug 5, 2022 · 0 comments
Assignees
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug priority/medium Medium priority issue

Comments

@lnguyen-yugabyte
Copy link
Contributor

lnguyen-yugabyte commented Aug 5, 2022

Jira Link: DB-3128

Description

When starting ysql, it consumes a significant amount of memory on yugabyte, even when starting fresh:

yugabyte=# select yb_mem_usage_kb();
 yb_mem_usage_kb
-----------------
           66604
(1 row)

On postgres, the equivalent takes less than 5 MB.

We'd want to break down and understand where the memory usage comes from, and apply necessary optimizations if possible.

@lnguyen-yugabyte lnguyen-yugabyte added area/ysql Yugabyte SQL (YSQL) status/awaiting-triage Issue awaiting triage labels Aug 5, 2022
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Aug 5, 2022
@lnguyen-yugabyte lnguyen-yugabyte self-assigned this Aug 5, 2022
@yugabyte-ci yugabyte-ci removed the status/awaiting-triage Issue awaiting triage label Aug 8, 2022
@sushantrmishra sushantrmishra self-assigned this Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug priority/medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

3 participants