| От | Tom Lane |
|---|---|
| Тема | Re: O_DIRECT use |
| Дата | |
| Msg-id | 7244.1010181426@sss.pgh.pa.us обсуждение |
| Ответ на | Re: O_DIRECT use (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: O_DIRECT use
|
| Список | pgsql-hackers |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> For that matter, I would expect that O_DIRECT also defeats readahead,
>> so I'd fully expect it to be a loser for seqscans too.
> I am told on FreeBSD it does not disable read-ahead, just caching;
> something that needs more research.
Hmm. I always thought of read-ahead as preloading buffer cache entries.
It'd be interesting to get a description of *exactly* what this flag
does, rather than handwavy approximations. Time to start reading the
kernel code, I suppose.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера