Re: Insertions slower than Updates? - Mailing list pgsql-performance

From Ofer Israeli
Subject Re: Insertions slower than Updates?
Date
Msg-id 217DDBC2BB1E394CA9E7446337CBDEF20102C05A6A3C@il-ex01.ad.checkpoint.com
Whole thread Raw
In response to Re: Insertions slower than Updates?  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Insertions slower than Updates?
List pgsql-performance
Kevin Grittner wrote:
> Ofer Israeli <oferi@checkpoint.com> wrote:
>> Anyone have any ideas on why the empty db is giving worse results??
>
> Besides the HOT updates being fast, there is the issue of having
> space already allocated and ready for the database to use, rather
> than needing to make calls to the OS to create and extend files as
> space is needed.
>

I thought about this direction as well, but on UPDATES, some of them will need to ask the OS for more space anyhow at
leastat the beginning of the run, additional pages will be needed.  Do you expect that the OS level allocations are so
expensiveas to show an ~%40 increase of processing time in average? 


Thanks,
Ofer

pgsql-performance by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Insertions slower than Updates?
Next
From: "Kevin Grittner"
Date:
Subject: Re: Insertions slower than Updates?