From: Shridhar Daithankar <shridhar_daithankar@myrealbox.com>
To: josh@agliodbs.com
Cc: pgsql-performance@postgresql.org
Subject: Re: More detail on settings for pgavd?
Date: Wed, 19 Nov 2003 12:02:23 +0530
Message-ID: <3FBB0E77.4020105@myrealbox.com> (raw)
In-Reply-To: <200311181558.45847.josh@agliodbs.com>
References: <200311181558.45847.josh@agliodbs.com>
Josh Berkus wrote:
> Shridhar,
>
> I was looking at the -V/-v and -A/-a settings in pgavd, and really don't
> understand how the calculation works. According to the readme, if I set -v
> to 1000 and -V to 2 (the defaults) for a table with 10,000 rows, pgavd would
> only vacuum after 21,000 rows had been updated. This seems wrong.
>
> Can you clear this up a little? I'd like to tweak these settings but can't
> without being better aquainted with the calculation.
>
> Also, you may want to reverse your default ratio for Vacuum/analyze frequency.
> True, analyze is a less expensive operation than Vacuum, but it's also needed
> less often -- only when the *distribution* of data changes. I've seen
> databases where the optimal vacuum/analyze frequency was every 10 min/once
> per day.
Will look into it. Give me a day or so. I am planning couple of other patches as
well. May be over week end.
Is this urgent?
Shridhar
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: shridhar_daithankar@myrealbox.com, josh@agliodbs.com
Subject: Re: More detail on settings for pgavd?
In-Reply-To: <3FBB0E77.4020105@myrealbox.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