Re: 8.2 is 30% better in pgbench than 8.3 - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: 8.2 is 30% better in pgbench than 8.3
Date
Msg-id 20070723170540.GK2540@alvh.no-ip.org
Whole thread Raw
In response to Re: 8.2 is 30% better in pgbench than 8.3  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
List pgsql-hackers
Pavan Deolasee wrote:
> On 7/23/07, Alvaro Herrera <alvherre@commandprompt.com> wrote:

>> Certainly it doesn't prevent starvation completely -- really there is no
>> way to completely prevent starvation unless you have as many workers as
>> you have tables, and one disk for each.  What DSM does do is let the big
>> tables be vacuumed quickly which makes most of the problem go away.
>
> Frankly I haven't seen DSM results very closely, but DSM can help
> us avoid full heap scans (and thats a big thing!), but it  can't avoid the
> associated index scans and that might limit our ability to vacuum very
> large tables frequently.

I haven't seen DSM either so IMBFoS.  You are right about index scans
though.  Fortunately they are not as expensive as they used to be thanks
to Heikki's changes to allow physical order scanning.

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


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Oops in fe-auth.c
Next
From: Tom Lane
Date:
Subject: Re: Oops in fe-auth.c