Re: How much expensive are row level statistics? - Mailing list pgsql-performance

From Michael Fuhr
Subject Re: How much expensive are row level statistics?
Date
Msg-id 20051212203738.GA61439@winnie.fuhr.org
Whole thread Raw
In response to Re: How much expensive are row level statistics?  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-performance
On Mon, Dec 12, 2005 at 10:23:42AM -0300, Alvaro Herrera wrote:
> Michael Fuhr wrote:
> > 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.
>
> This series of i/u/d operations ran with no sleep in between, right?
> I wouldn't expect a normal OLTP operation to be like this.  (If it is
> you have a serious shortage of hardware ...)

There's no sleeping but there is some client-side processing between
groups of i/u/d operations.  As I mentioned in another message, the
application reads a chunk of data from a stream, does a few i/u/d
operations to update the database, and repeats several thousand times.

The hardware is old but it's adequate for this application.  What
kind of overhead would you expect?

--
Michael Fuhr

pgsql-performance by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: How much expensive are row level statistics?
Next
From: Vivek Khera
Date:
Subject: Re: opinion on disk speed