Re: [PERFORM] More detail on settings for pgavd?

Поиск
Список
Период
Сортировка
Искать
От
Robert Treat
Тема
Re: [PERFORM] More detail on settings for pgavd?
Дата
Msg-id
1069424054.29672.12462.camel@camel
Ответ на
Список
Дерево обсуждения
Re: [PERFORM] More detail on settings for pgavd? Robert Treat <xzilla@users.sourceforge.net>
Re: [PERFORM] More detail on settings for pgavd? "Matthew T. O'Connor" <matthew@zeut.net>
Re: [PERFORM] More detail on settings for pgavd? Josh Berkus <josh@agliodbs.com>
Re: [PERFORM] More detail on settings for pgavd? "Matthew T. O'Connor" <matthew@zeut.net>
Re: [PERFORM] More detail on settings for pgavd? Josh Berkus <josh@agliodbs.com>
Re: [PERFORM] More detail on settings for pgavd? Tom Lane <tgl@sss.pgh.pa.us>
Re: [PERFORM] More detail on settings for pgavd? Greg Stark <gsstark@mit.edu>
Re: [PERFORM] More detail on settings for pgavd? Andrew Sullivan <andrew@libertyrms.info>
Re: [PERFORM] More detail on settings for pgavd? "Matthew T. O'Connor" <matthew@zeut.net>
Re: [PERFORM] More detail on settings for pgavd? Josh Berkus <josh@agliodbs.com>
Re: [PERFORM] More detail on settings for pgavd? "Matthew T. O'Connor" <matthew@zeut.net>
Re: [PERFORM] More detail on settings for pgavd? Chester Kustarz <chester@arbor.net>
Re: [PERFORM] More detail on settings for pgavd? Alvaro Herrera Munoz <alvherre@dcc.uchile.cl>
On Thu, 2003-11-20 at 19:40, Matthew T. O'Connor wrote:
> I'm open to discussion on changing the defaults.  Perhaps what it would 
> be better to use some non-linear (perhaps logorithmic) scaling factor.  
> So that you wound up with something roughly like this:
> 
> #tuples   activity% for vacuum
> 1k           100%
> 10k           70%
> 100k         45%
> 1M            20%
> 10M          10%
> 100M          8%
> 


Just thinking out loud here, so disregard if you think its chaff but...
if we had a system table pg_avd_defaults that held what we generally
consider the best default percentages based on reltuples/pages, and
added a column to pg_class (could be some place better but..) which
could hold an overriding percentage, you could then have a column added
to pg_stat_all_tables called vacuum_percentage, which would be a
coalesce of the override percentage or the default percentages based on
rel_tuples (or rel_pages).  This would give autovacuum a place to look
for each table as to when it should vacuum, and gives administrators the
option to tweak it on a per table basis if they find they need a
specific table to vacuum at a different rate than the "standard".   

Robert Treat
-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

В списке pgsql-hackers по дате отправления
От: Alvaro Herrera
Дата:
Сообщение: Re: Release cycle length
От: Robert Treat
Дата:
Сообщение: Re: logical column position
FAQ