Re: index bloat

From: "David Esposito" <dave(at)nnco(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: index bloat
Date: 2005-07-12 17:17:09
Message-ID: 4AFE42D73ED1F345A576D3290FF8421C01ADA853@exchange.nnco.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Tuesday, July 12, 2005 12:26 PM
>
> "David Esposito" <pgsql-general(at)esposito(dot)newnetco(dot)com> writes:
> > As promised, here are two runs of VACUUM VERBOSE on the
> problem table ...
>
> BTW, the tail of the VACUUM VERBOSE output ought to have
> something about
> overall usage of the FSM --- what does that look like?
>

When I was first looking into this problem, I googled around a bit and
saw that there is a message that's printed when the fsm_pages or
fsm_relations is too low ... but I just double checked and can't find
the phrase "max_fsm_pages" in any of my logs from the past 2 months (i
only run postgres with log_min_error_statement of NOTICE so if it gets
logged as an INFO, i probably wouldn't have it in the log files) ...

Saturday 1:30am

INFO: free space map: 525 relations, 125128 pages stored; 136480 total
pages needed
DETAIL: Allocated FSM size: 10000 relations + 1000000 pages = 6511 kB
shared memory.

Monday 1:30am

INFO: free space map: 525 relations, 168816 pages stored; 171904 total
pages needed
DETAIL: Allocated FSM size: 10000 relations + 1000000 pages = 6511 kB
shared memory.

Tuesday 1:30am

INFO: free space map: 528 relations, 172357 pages stored; 170096 total
pages needed
DETAIL: Allocated FSM size: 10000 relations + 1000000 pages = 6511 kB
shared memory.

Browse pgsql-general by date

  From Date Subject
Next Message Craig Bryden 2005-07-12 17:22:06 Transaction Handling in pl/pgsql
Previous Message Ted Slate 2005-07-12 17:16:44 To Postgres or not