Re[4]: Allowing WAL fsync to be done via O_SYNC

Поиск
Список
Период
Сортировка
От Xu Yifeng
Тема Re[4]: Allowing WAL fsync to be done via O_SYNC
Дата
Msg-id 17229254645.20010316165312@telekbird.com.cn
обсуждение исходный текст
Ответ на Re: Re[2]: Allowing WAL fsync to be done via O_SYNC  (Alfred Perlstein <bright@wintelcom.net>)
Ответы Re: Re[4]: Allowing WAL fsync to be done via O_SYNC  (Alfred Perlstein <bright@wintelcom.net>)
Список pgsql-hackers
Hello Alfred,

Friday, March 16, 2001, 3:21:09 PM, you wrote:

AP> * Xu Yifeng <jamexu@telekbird.com.cn> [010315 22:25] wrote:
>>
>> Could anyone consider fork a syncer process to sync data to disk ?
>> build a shared sync queue, when a daemon process want to do sync after
>> write() is called, just put a sync request to the queue. this can release
>> process from blocked on writing as soon as possible. multipile sync
>> request for one file can be merged when the request is been inserting to
>> the queue.

AP> I suggested this about a year ago. :)

AP> The problem is that you need that process to potentially open and close
AP> many files over and over.

AP> I still think it's somewhat of a good idea.

I am not a DBMS guru.
couldn't the syncer process cache opened files? is there any problem I
didn't consider ?

-- 
Best regards,
Xu Yifeng




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alfred Perlstein
Дата:
Сообщение: Re: Re[2]: Allowing WAL fsync to be done via O_SYNC
Следующее
От: Alfred Perlstein
Дата:
Сообщение: Re: Re[4]: Allowing WAL fsync to be done via O_SYNC