Rushikesh005 / pgreport

0 stars 2 forks source link

Why we need to display memory information which represents the current state of memory #13

Open Samrat-Revagade opened 10 years ago

Samrat-Revagade commented 10 years ago
  1. Why we are displaying the current state of memory to user ?
  2. How that is useful for our goal ?
  3. Is there any value of postgresql.conf parameter that we are fixing on the basis of this ?

as per report:

Memory Info All values in KB

Free RAM : 860132 Total OS Cached : 4923024 Cached Mem : 767088 Total RAM+SWAP : 4988892 Free SWAP : 4128760 Total SWAP : 4128760 Total RAM : 2055040

Buffers : 27176

Rushikesh005 commented 10 years ago

Yes, Total ram, free ram and [free_ram + swap]. These parameters are used to recommend values of shared_buffer, work_mem and wal_buffers. I used them from OS. conf file. I thought they were necessary in report to show system configuration.