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] Setup proper memory sizing for backends if ysql is enabled #908

Open
bmatican opened this issue Feb 27, 2019 · 2 comments
Open

[YSQL] Setup proper memory sizing for backends if ysql is enabled #908

bmatican opened this issue Feb 27, 2019 · 2 comments
Assignees
Labels
area/ysql Yugabyte SQL (YSQL) kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue

Comments

@bmatican
Copy link
Contributor

bmatican commented Feb 27, 2019

Jira Link: DB-4841
Currently, we aim to efficiently used the entire memory of the environment we operate in, splitting 85% to the tserver and 15% to the master process. When enabling YSQL, we should:

  • figure out how to limit the total memory used by the postgres backends and what knobs we can use to tune that
  • reduce the respective memory of the tserver process accordingly, based on what we set aside from YSQL

cc @mbautin @robertpang @kmuthukk

@kmuthukk kmuthukk added the kind/enhancement This is an enhancement of an existing feature label Feb 27, 2019
@kmuthukk kmuthukk added this to To do in YSQL via automation Feb 27, 2019
@kmuthukk kmuthukk added this to To Do in YBase features via automation Feb 27, 2019
@ndeodhar ndeodhar moved this from To do to In progress in YSQL Apr 17, 2019
@ndeodhar ndeodhar assigned georgeklees and unassigned fizaaluthra Jul 17, 2019
@bmatican bmatican assigned ndeodhar and unassigned georgeklees Aug 20, 2019
@bmatican bmatican added this to the v2.1 milestone Sep 1, 2019
@rkarthik007 rkarthik007 removed this from the v2.1 milestone Jun 5, 2020
@nvcnvn
Copy link
Contributor

nvcnvn commented May 8, 2021

hi, how is it going with this plan?

we found some cases that postgres process can quickly eat all the resource and make the node killed by OOM (we're running cluster on k8s) #7938

@m-iancu m-iancu assigned sushantrmishra and unassigned ndeodhar Mar 7, 2022
@sushantrmishra sushantrmishra added this to ALL in YSQL Metrics Apr 8, 2022
@SteveXiSong
Copy link
Contributor

Some recent related work: #12077
This work collects the total memory usage by both PG and pggate(by memtracker), which enables us to limit total memory consumption at PG layer.

@rthallamko3 rthallamko3 added the area/ysql Yugabyte SQL (YSQL) label Jan 3, 2023
@yugabyte-ci yugabyte-ci added the priority/medium Medium priority issue label Jan 3, 2023
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/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
YBase features
  
Backlog
Status: No status
YSQL
  
In progress
Development

No branches or pull requests