pgsql: Modify local buffer management to request memory for local

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Modify local buffer management to request memory for local
Дата
Msg-id 20061227223159.42DEF9FA364@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Modify local buffer management to request memory for local buffers in blocks
of increasing size, instead of one at a time.  This reduces the memory
management overhead when num_temp_buffers is large: in the previous coding
we would actually waste 50% of the space used for temp buffers, because aset.c
would round the individual requests up to 16K.  Problem noted while studying
a performance issue reported by Steven Flatt.

Back-patch as far as 8.1 --- older versions used few enough local buffers
that the issue isn't significant for them.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/storage/buffer:
        localbuf.c (r1.74 -> r1.74.2.1)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/localbuf.c.diff?r1=1.74&r2=1.74.2.1)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Modify local buffer management to request memory for local
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Modify local buffer management to request memory for local