pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Carlos Benkendorf <carlosbenkendorf@yahoo.com.br>
Cc: pgsql-performance@postgresql.org
Subject: Re: How much expensive are row level statistics?
Date: Sun, 11 Dec 2005 12:44:43 -0700
Message-ID: <20051211194442.GA97174@winnie.fuhr.org> (raw)
In-Reply-To: <20051211115336.91041.qmail@web35506.mail.mud.yahoo.com>
References: <20051211115336.91041.qmail@web35506.mail.mud.yahoo.com>

On Sun, Dec 11, 2005 at 11:53:36AM +0000, Carlos Benkendorf wrote:
> I would like to use autovacuum but is not too much expensive
> collecting row level statistics?

The cost depends on your usage patterns.  I did tests with one of
my applications and saw no significant performance difference for
simple selects, but a series of insert/update/delete operations ran
about 30% slower when block- and row-level statistics were enabled
versus when the statistics collector was disabled.

-- 
Michael Fuhr



view thread (15+ messages)  latest in thread

Message-ID: <20051211194442.GA97174@winnie.fuhr.org>
Permalink:  ../20051211194442.GA97174@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20051211194442.GA97174@winnie.fuhr.org

 · 

reply

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: mike@fuhr.org, carlosbenkendorf@yahoo.com.br
  Subject: Re: How much expensive are row level statistics?
  In-Reply-To: <20051211194442.GA97174@winnie.fuhr.org>

* 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