From: | Shridhar Daithankar <shridhar_daithankar(at)myrealbox(dot)com> |
---|---|
To: | josh(at)agliodbs(dot)com |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: More detail on settings for pgavd? |
Date: | 2003-11-19 06:32:23 |
Message-ID: | 3FBB0E77.4020105@myrealbox.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-performance |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2003-11-19 09:11:55 | Re: Build farm |
Previous Message | Greg Stark | 2003-11-19 06:22:59 | Re: Is there going to be a port to Solaris 9 x86 in the |
From | Date | Subject | |
---|---|---|---|
Next Message | Shridhar Daithankar | 2003-11-19 06:34:12 | Re: High Processor consumption |
Previous Message | Benjamin Bostow | 2003-11-19 01:19:14 | High Processor consumption |