pgsql: Move BufferGetBlockNumber() out of heap_page_is_all_visible()'s

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Move BufferGetBlockNumber() out of heap_page_is_all_visible()'s
Дата
Msg-id E1XpJss-0003eJ-Ov@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Move BufferGetBlockNumber() out of heap_page_is_all_visible()'s inner loop.

In some workloads BufferGetBlockNumber() shows up in profiles due to
the sheer number of calls to it (and because it causes cache
misses). The compiler can't move it out of the loop because it's a
full extern function call...

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0c5af0a537a2d6320eb8ef7f401401aa1f47b79e

Modified Files
--------------
src/backend/commands/vacuumlazy.c |    3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Improve logical decoding log messages
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Add valgrind suppression for pg_atomic_init_u64.