You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just started playing around with pgmetrics and noticed the following:
in postgresql.conf I have maintenance_work_mem = 128MB which seems to be internally set as value "131072", which means the base unit is KB and not B.
In the pgmetrics output (in the "Vacuum Progress" block) however this seems to be interpreted as B: maintenance_work_mem | 131072 (128 KiB)
I am not sure if the memory values are internally always in KB (which would make the fix rather easy) or if depending on configuration settings / environment variable / postgres version this might require a lookup for the base unit before pretty-printing it.
The text was updated successfully, but these errors were encountered:
Hey,
I've just started playing around with pgmetrics and noticed the following:
in postgresql.conf I have
maintenance_work_mem = 128MB
which seems to be internally set as value "131072", which means the base unit is KB and not B.In the pgmetrics output (in the "Vacuum Progress" block) however this seems to be interpreted as B:
maintenance_work_mem | 131072 (128 KiB)
I am not sure if the memory values are internally always in KB (which would make the fix rather easy) or if depending on configuration settings / environment variable / postgres version this might require a lookup for the base unit before pretty-printing it.
The text was updated successfully, but these errors were encountered: