From: Josh Berkus <josh@agliodbs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Tambet Matiisen <t.matiisen@aprote.ee>
Cc: Bill Chandler <billybobc1210@yahoo.com>
Cc: pgsql-perform <pgsql-performance@postgresql.org>
Subject: Re: Question on REINDEX
Date: Tue, 19 Apr 2005 10:56:16 -0700
Message-ID: <200504191056.16688.josh@agliodbs.com> (raw)
In-Reply-To: <22304.1113927842@sss.pgh.pa.us>
References: <A66A11DBF5525341AEF6B8DE39CDE77008806E@black.aprote.com>
<200504190857.16634.josh@agliodbs.com>
<22304.1113927842@sss.pgh.pa.us>
Tom,
> Not at all. What it says is that you expect 100% of the pages to have
> useful amounts of free space, which is a *much* weaker criterion.
Hmmm. Good point.
This seems to be another instance where my rule-of-thumb was based on false
logic but nevertheless arrived at correct numbers. I've seldom, if ever, set
FSM_pages above 50% of the pages in the active database ... and never run
out.
Hmmmm .... actually, it seems like, if you are vacuuming regularly, you only
*do* need to track pages that have been touched by DELETE or UPDATE. Other
pages would have already been vacuumed and not have any useful free space
left. Yes?
--
--Josh
Josh Berkus
Aglio Database Solutions
San Francisco
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: josh@agliodbs.com, tgl@sss.pgh.pa.us, t.matiisen@aprote.ee, billybobc1210@yahoo.com
Subject: Re: Question on REINDEX
In-Reply-To: <200504191056.16688.josh@agliodbs.com>
* 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