RE: pg_preadv() and pg_pwritev()
От | Jakub Wartak |
---|---|
Тема | RE: pg_preadv() and pg_pwritev() |
Дата | |
Msg-id | VI1PR0701MB6960F6D42E6B4727A7B45F66F6C00@VI1PR0701MB6960.eurprd07.prod.outlook.com обсуждение исходный текст |
Ответ на | Re: pg_preadv() and pg_pwritev() (Andres Freund <andres@anarazel.de>) |
Ответы |
Re: pg_preadv() and pg_pwritev()
|
Список | pgsql-hackers |
> > I'm drawing a blank on trivial candidate uses for preadv(), without > > infrastructure from later patches. > > Can't immediately think of something either. This might be not that trivial , but maybe acquire_sample_rows() from analyze.c ? Please note however there's patch https://www.postgresql.org/message-id/20201109180644.GJ16415%40tamriel.snowman.net ( https://commitfest.postgresql.org/30/2799/) for adding fadvise, but maybe those two could be even combined so you would bedoing e.g. 16x fadvise() and then grab 8 pages in one preadv() call ? I'm find unlikely however that preadv give any additionalperformance benefit there after having fadvise, but clearly a potential place to test. -J.
В списке pgsql-hackers по дате отправления: