Re: CLOG contention, part 2
От | Merlin Moncure |
---|---|
Тема | Re: CLOG contention, part 2 |
Дата | |
Msg-id | CAHyXU0wukkdwBkUSFcFUeF_H+cpa_nKJz0d3=FZ9eXzuy2r=XQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: CLOG contention, part 2 (Jeff Janes <jeff.janes@gmail.com>) |
Ответы |
Re: CLOG contention, part 2
|
Список | pgsql-hackers |
On Fri, Jan 27, 2012 at 4:05 PM, Jeff Janes <jeff.janes@gmail.com> wrote: > Also, I think the general approach is wrong. The only reason to have > these pages in shared memory is that we can control access to them to > prevent write/write and read/write corruption. Since these pages are > never written, they don't need to be in shared memory. Just read > each page into backend-local memory as it is needed, either > palloc/pfree each time or using a single reserved block for the > lifetime of the session. Let the kernel worry about caching them so > that the above mentioned reads are cheap. right -- exactly. but why stop at one page? merlin
В списке pgsql-hackers по дате отправления: