Re: Can postgres create a file with physically continuous blocks.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Can postgres create a file with physically continuous blocks.
Дата
Msg-id 4D11A8BD.7020204@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Can postgres create a file with physically continuous blocks.  (Rob Wultsch <wultsch@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Rob Wultsch
Дата:
Сообщение: Re: Can postgres create a file with physically continuous blocks.
Следующее
От: Sushant Sinha
Дата:
Сообщение: Re: bug in ts_rank_cd