Обсуждение: pgsql-server/doc TODO

Поиск
Список
Период
Сортировка

pgsql-server/doc TODO

От
momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    momjian@svr1.postgresql.org    03/11/11 20:25:35

Modified files:
    doc            : TODO

Log message:
    Update:

    > * Add free-behind capability for large sequential scans (fadvise)


Re: pgsql-server/doc TODO

От
Neil Conway
Дата:
momjian@svr1.postgresql.org (Bruce Momjian) writes:
>     > * Add free-behind capability for large sequential scans
>     > * (fadvise)

This isn't really what posix_fadvise() is intended for, I believe (or
rather, I can't figure out a way for us to be able to use it in that
manner). Check the posix_fadvise() discussion on -hackers for more
details.

-Neil


Re: pgsql-server/doc TODO

От
Bruce Momjian
Дата:
Neil Conway wrote:
> momjian@svr1.postgresql.org (Bruce Momjian) writes:
> >     > * Add free-behind capability for large sequential scans
> >     > * (fadvise)
>
> This isn't really what posix_fadvise() is intended for, I believe (or
> rather, I can't figure out a way for us to be able to use it in that
> manner). Check the posix_fadvise() discussion on -hackers for more
> details.

Yes, I guess it should be "Better inform kernel on which pages to
cache".  Is that right?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073