can shared cache be swapped to disk?

Поиск
Список
Период
Сортировка
От flyusa2010 fly
Тема can shared cache be swapped to disk?
Дата
Msg-id AANLkTinXXsbBArreoUm3gVekWUe24iTGTOc7c5gZ5H2v@mail.gmail.com
обсуждение исходный текст
Ответы Re: can shared cache be swapped to disk?  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
hi, folks!

I see that shared cache is implemented by system v shared memory. I wonder whether data in this area can be swapped out to disk. 
Isn't it bad that we read data from disk, put data in shared cache, and finally data in shared cache is swapped to disk again!

Why not use shmctl(..SHM_LOCK..) to pin data in main memory?

Thanks!

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)