Re: Changes improve the performance of INSERT and UPDATE

From: Hiroki Kataoka <kataoka(at)interwiz(dot)jp>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Changes improve the performance of INSERT and UPDATE
Date: 2005-07-17 14:39:26
Message-ID: 42DA6D9E.7050709@interwiz.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>>This small patch improves the performance of INSERT and UPDATE. By my
>>machine, these changes raised the performance about 5%~10% in pgbench.
>
> BTW, in profiling the backend I've never seen PageAddItem take more than
> about 1% of the runtime, and in pgbench in particular it seems to be
> down around 0.1% ... so the above seems a bit optimistic ...

I have the nearly same result, but pgbench says different. I don't know
why my test generates 5~10% performance improvement. Therefore, I want
to take a benchmark in a reliable environment.

By reference, PageAddItem takes 4%~5% of the runtime in the heavy
writing operation likes CREATE TABLE AS SELECT.

--
Hiroki Kataoka <kataoka(at)interwiz(dot)jp>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-07-17 15:02:33 Re: Buildfarm issues on specific machines
Previous Message Larry Rosenman 2005-07-17 08:13:18 Buildfarm