Re: SLRU_BLCKSZ

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SLRU_BLCKSZ
Дата
Msg-id 19482.1147874709@sss.pgh.pa.us
обсуждение исходный текст
Ответ на SLRU_BLCKSZ  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: SLRU_BLCKSZ
Список pgsql-patches
Simon Riggs <simon@2ndquadrant.com> writes:
> Code changes to separate out the symbol for SLRU_BLCKSZ from standard
> BLCKSZ. Same reasons as for doing this for XLOG_BLCKSZ.

Have you done any benchmarking that shows this is a good idea?

My own thoughts on the subject have been along the line that pages for
different slru logs possibly need to be different sizes, so that eg
we could have more than 2K subtransactions per page.  I'm not sure this
is worthwhile (is there any place in slru.c that depends on a fixed page
size for efficiency?) but it needs to be considered before we make
purely cosmetic changes in the area.

            regards, tom lane

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: SLRU_BLCKSZ
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: SLRU_BLCKSZ