Re: Autovacuum and stats_row_level - Mailing list pgsql-general

From Tom Lane
Subject Re: Autovacuum and stats_row_level
Date
Msg-id 2270.1201667521@sss.pgh.pa.us
Whole thread Raw
In response to Re: Autovacuum and stats_row_level  (Chander Ganesan <chander@otg-nc.com>)
List pgsql-general
Chander Ganesan <chander@otg-nc.com> writes:
> David Wall wrote:
>> Noted that to use autovacuum we need to turn on stats_row_level (along
>> with stats_start_collector that is on by default).  Since
>> stats_row_level is off by default, I wonder what sort of overhead is
>> incurred since it sounds like it could add up if it's storing
>> additional stats information on every row update, though it's not
>> clear to me just what it means to have row level stats.

> There is overhead. I think it is somewhat related to your query load
> However, I do know that there is some rate limiting logic in place to
> prevent the backends from sending too many messages to the stats collector.

The rate-limit logic is new for 8.3, but it's always been true that at
most one message is sent per query (and in fact one per transaction,
in recent releases).

            regards, tom lane

pgsql-general by date:

Previous
From: "Guido Barosio"
Date:
Subject: Re: [ADMIN] Backup
Next
From: "yogesh m chaudhari"
Date:
Subject: how to create cluster(loadbanacing) of postgresql server