Re: free space map usage

From: "Jeremy M(dot) Guthrie" <jeremy(dot)guthrie(at)berbee(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: free space map usage
Date: 2003-10-14 19:43:53
Message-ID: 200310141447.05788.jeremy.guthrie@berbee.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 14 October 2003 02:16 pm, Tom Lane wrote:
> "Jeremy M. Guthrie" <jeremy(dot)guthrie(at)berbee(dot)com> writes:
> > Is there any way to determine how much of the free space map is currently
> > i= n=20
> > use?(ie. where and what it is tracking?) I vacuum on a regular basis but
> > I= =20
> > never hold in terms of disk space usage.
>
> Not in 7.3 AFAIR. In 7.4 a full-database VACUUM VERBOSE will end with
> the info you want:
>
> regression=# vacuum verbose;
> ... much cruft ...
> INFO: free space map: 11 relations, 144 pages stored; 272 total pages
> needed DETAIL: Allocated FSM size: 1000 relations + 20000 pages = 178 kB
> shared memory. VACUUM
> regression=#
>
> This tells me I'm only using about 1% of the FSM space (272 out of 20000
> page slots).
>
> > I jacked up the free space map=20
> > pages but this doesn't appear to be working.
>
> You know you have to restart the postmaster to make those changes take
> effect, right?
Yup. I still see no effect after restart.

> regards, tom lane

- --
Jeremy M. Guthrie
Systems Engineer
Berbee
5520 Research Park Dr.
Madison, WI 53711
Phone: 608-298-1061

Berbee...Decade 1. 1993-2003
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/jFH8qtjaBHGZBeURAkKkAJ0cDa31C4VKxlHoByFaGY3EtQwMdwCgmA5k
+Z9GUE3l7LIJVl9rII7d3TU=
=gkIR
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Peter Eisentraut 2003-10-14 20:41:41 Re: [PERFORM] Sun performance - Major discovery!
Previous Message Neil Conway 2003-10-14 19:37:04 Re: Any issues with my tuning...