Re: Reducing stats collection overhead

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org, acm(at)tweakers(dot)net
Subject: Re: Reducing stats collection overhead
Date: 2007-05-18 13:12:18
Message-ID: 20070518131218.GA5639@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Arjen van der Meijden told me that according to the tweakers.net
> benchmark, HEAD is noticeably slower than 8.2.4, and I soon confirmed
> here that for small SELECT queries issued as separate transactions,
> there's a significant difference. I think much of the difference stems
> from the fact that we now have stats_row_level ON by default, and so
> every transaction sends a stats message that wasn't there by default
> in 8.2. When you're doing a few thousand transactions per second
> (not hard for small read-only queries) that adds up.

So, did this patch make the performance problem go away?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2007-05-18 13:21:00 Re: Lack of urgency in 8.3 reviewing
Previous Message Heikki Linnakangas 2007-05-18 12:11:52 Re: Concurrent psql patch