pgsql: Avoid marking buffer dirty when VACUUM has no work to do.

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Avoid marking buffer dirty when VACUUM has no work to do.
Дата
Msg-id E1RRR0n-00043Z-0U@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Avoid marking buffer dirty when VACUUM has no work to do.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Avoid marking buffer dirty when VACUUM has no work to do.
When wal_level = 'hot_standby' we touched the last page of the
relation during a VACUUM, even if nothing else had happened.
That would alter the LSN of the last block and set the mtime
of the relation file unnecessarily. Noted by Thom Brown.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c1458cc495ff800cd176a1c2e56d8b62680d9b71

Modified Files
--------------
src/backend/access/nbtree/nbtpage.c |   12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Do missed autoheader run for previous commit.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Avoid marking buffer dirty when VACUUM has no work to do.