From: Josh Berkus <josh@agliodbs.com>
To: Ron St-Pierre <rstpierre@syscor.com>
To: pgsql-performance@postgresql.org
Subject: Re: Index Problem?
Date: Fri, 16 Apr 2004 12:10:47 -0700
Message-ID: <200404161210.47995.josh@agliodbs.com> (raw)
In-Reply-To: <40801E1B.4020401@syscor.com>
References: <40800CC2.3050707@syscor.com>
<200404161001.52989.josh@agliodbs.com>
<40801E1B.4020401@syscor.com>
Ron,
> Yeah I agree but I'm not allowed to remove those indexes.
It's not the indexes I'm talking about, it's the table.
> On my dev server I increased max_fsm_pages from the default of 20000 to
> 40000,
A better way to set this would be to run VACUUM VERBOSE ANALYZE right after
doing one of your update batches, and see how many dead pages are being
reclaimed, and then set max_fsm_pages to that # + 50% (or more).
increased checkpoint_segments from 3 to 5, and the function ran
> in about 6-7 minutes which is a nice increase. According to the docs
> "Annotated postgresql.conf and Global User Configuration (GUC) Guide" on
> varlena I'll have to re-start postgres for the changes to take effect
> there (correct?).
Correct.
> Also the docs on Varlena show the max_fsm_pages
> default to be 10,000 but my default was 20,000, looks like that needs
> updating.
I don't think the default has been changed. Anyone?
--
-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, rstpierre@syscor.com
Subject: Re: Index Problem?
In-Reply-To: <200404161210.47995.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