Skip to content

used too much private memory #189

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

Open
syhxz opened this issue Feb 21, 2019 · 0 comments
Open

used too much private memory #189

syhxz opened this issue Feb 21, 2019 · 0 comments

Comments

@syhxz
Copy link

syhxz commented Feb 21, 2019

Problem description

Explain your problem here (it's always better to provide reproduction steps) ...

Hi ,in our database,we have 10w+ partition tables ,

select count(1) from pathman_partition_list ;

count

100000
(1 row)

when we run a simaple query
#select * from tt_pathmantest where id=1003;

pmap shows that this process have 281MB private memory,I think it is terrible,especially in a busy system.if we can put pathman config data in shared memary,but not private memory?
$ pmap -d 18155
18155: postgres: pg955: postgres pgbench [local] idle
Address Kbytes Mode Offset Device Mapping
mapped: 54538484K writeable/private: 281720K shared: 54123512K

Environment

pathman version is 1.3,but we tested in 1.4 also have this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant