Skip to content

used too much private memory #189

@syhxz

Description

@syhxz

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

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