Setting max_fsm_pages

From: "Carlos Oliva" <carlos(at)pbsinet(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Setting max_fsm_pages
Date: 2005-11-06 02:44:09
Message-ID: 200511060246.VAA27943@pbsi.pbsinet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Should I set the max_fsm_pages to the value reported (vacuum verbose) as
pages stored or the value reported as total pages needed? I ran full +
analyze vacuums in my database (vacuumdb -f -z -v <database name>) a couple
of times and I got the following reports:

INFO: free space map: 454 relations, 22274 pages stored; 147328 total pages
needed

DETAIL: Allocated FSM size: 1000 relations + 20000 pages = 178 kB shared
memory

And

INFO: free space map: 454 relations, 22242 pages stored; 147328 total pages
needed

DETAIL: Allocated FSM size: 1000 relations + 20000 pages = 178 kB shared
memory

I am not sure if I need to raise the max_fsm_pages to something larger than
22242 (e.g. 40000) or larger than 147,328.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris 2005-11-06 02:58:15 How to create a virtual column
Previous Message CSN 2005-11-06 02:21:28 sequence aliases?