pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <rtreat@webmd.net>
To: Robert Treat <xzilla@users.sourceforge.net>
Cc: HT Levine <htlevine@ebates.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: max_fsm_pages Sanity Check
Date: 03 Jan 2003 10:02:41 -0500
Message-ID: <1041606161.1983.59.camel@camel> (raw)
In-Reply-To: <1041605057.1983.32.camel@camel>
References: <1041547656.32015.38.camel@camel>
	<av2kmh$1ujh$1@news.hub.org>
	<1041605057.1983.32.camel@camel>

On Fri, 2003-01-03 at 09:44, Robert Treat wrote:
> relations determines
> the total number of "objects" the database is willing to pay attention
> to.  The default is set to 100, which means if you have more than 100
> tables/indicies in your database, vacuum might ignore some tables that
> are being updated. Theres no rule on how it picks which tables it pays
> attention to (my guess is that its a first come first served thing, but
> thats just a guess) but given that there are around 90 system "objects"
> it's not hard to imagine that some things get left behind. You probably
> need this set to at least 610, though fwiw the default on this was
> recently bumped up to 1000 for future versions.
> 

Just to correct myself, the entries used in max_fsm_relations are tables
and toast (not indexes) , of which there are 37 system tables taking up
FSM entries. You can get a more accurate count of your need by doing
select count(*) from pg_class where relkind in ('r','t'); in each
database in your cluster.

Robert Treat 




view thread (7+ messages)

Message-ID: <1041606161.1983.59.camel@camel>
Permalink:  ../1041606161.1983.59.camel@camel/
Also on:    postgresql.org/message-id/1041606161.1983.59.camel@camel

 · 

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: rtreat@webmd.net, xzilla@users.sourceforge.net, htlevine@ebates.com
  Subject: Re: max_fsm_pages Sanity Check
  In-Reply-To: <1041606161.1983.59.camel@camel>
  References: <1041547656.32015.38.camel@camel> <av2kmh$1ujh$1@news.hub.org> <1041605057.1983.32.camel@camel> <1041606161.1983.59.camel@camel>

* 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