Re: Changes improve the performance of INSERT and UPDATE - Mailing list pgsql-hackers

From Hiroki Kataoka
Subject Re: Changes improve the performance of INSERT and UPDATE
Date
Msg-id 42DA6D9E.7050709@interwiz.jp
Whole thread Raw
In response to Re: Changes improve the performance of INSERT and UPDATE  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Changes improve the performance of INSERT and UPDATE  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@interwiz.jp>


pgsql-hackers by date:

Previous
From: Hiroki Kataoka
Date:
Subject: Changes improve the performance of INSERT and UPDATE
Next
From: Tom Lane
Date:
Subject: Re: Buildfarm issues on specific machines