Re: Can postgres create a file with physically continuous blocks. - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Can postgres create a file with physically continuous blocks.
Date
Msg-id 4D11A8BD.7020204@enterprisedb.com
Whole thread Raw
In response to Re: Can postgres create a file with physically continuous blocks.  (Rob Wultsch <wultsch@gmail.com>)
List pgsql-hackers
On 22.12.2010 09:25, Rob Wultsch wrote:
> On Wed, Dec 22, 2010 at 12:15 AM, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com>  wrote:
>> Hmm, innodb_autoextend_increment seems more like what we're discussing here
>> (http://dev.mysql.com/doc/refman/5.0/en/innodb-parameters.html#sysvar_innodb_autoextend_increment).
>> If I'm reading that correctly, InnoDB defaults to extending files in 8MB
>> chunks.
>
> This is not pure apples to apples as InnoDB does direct io, however
> doesn't the checkpoint completion target code call fsync repeatedly in
> order to achieve the check point completion target?

It only fsync's each file once. If there's a lot of files, it needs to 
issue a lot of fsync's, but for different files.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Rob Wultsch
Date:
Subject: Re: Can postgres create a file with physically continuous blocks.
Next
From: Sushant Sinha
Date:
Subject: Re: bug in ts_rank_cd