pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael G. Martin <michael@vpmonline.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: UnUsed Tuple Space Huge
Date: Wed, 12 Jun 2002 18:32:26 -0400
Message-ID: <13163.1023921146@sss.pgh.pa.us> (raw)
In-Reply-To: <3D07C958.5090908@vpmonline.com>
References: <3D07C958.5090908@vpmonline.com>

"Michael G. Martin" <michael@vpmonline.com> writes:
> VACUUM verbose symbol_Data;
> NOTICE:  --Relation symbol_data--
> NOTICE:  Pages 767990: Changed 0, Empty 0; Tup 21595176: Vac 0, Keep 0, 
                 ^^^^^^
> UnUsed 16560877.
>     Total CPU 61.94s/6.94u sec elapsed 179.25 sec.

That seems to be a couple orders of magnitude above the default size of
the free space map (10000 pages IIRC).  How big is your database in
total?  You definitely need to increase MAX_FSM_PAGES in
postgresql.conf, but I can't tell how far on the basis of this one
datapoint.

You will probably want to do a VACUUM FULL to clean out some of the free
space and then see where you really stand on number of pages.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <13163.1023921146@sss.pgh.pa.us>
Permalink:  ../13163.1023921146@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13163.1023921146@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael@vpmonline.com
  Subject: Re: UnUsed Tuple Space Huge
  In-Reply-To: <13163.1023921146@sss.pgh.pa.us>
  References: <3D07C958.5090908@vpmonline.com> <13163.1023921146@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox