pgsql: Clamp last_anl_tuples to n_live_tuples, in case we vacuum a table

Поиск
Список
Период
Сортировка
От alvherre@postgresql.org (Alvaro Herrera)
Тема pgsql: Clamp last_anl_tuples to n_live_tuples, in case we vacuum a table
Дата
Msg-id 20060627034529.0081F9FA5FC@postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Clamp last_anl_tuples to n_live_tuples, in  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-committers
Log Message:
-----------
Clamp last_anl_tuples to n_live_tuples, in case we vacuum a table without
analyzing, so that future analyze threshold calculations don't get confused.
Also, make sure we correctly track the decrease of live tuples cause by
deletes.

Per report from Dylan Hansen, patches by Tom Lane and me.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        pgstat.c (r1.111.2.3 -> r1.111.2.4)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/pgstat.c.diff?r1=1.111.2.3&r2=1.111.2.4)

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

Предыдущее
От: alvherre@postgresql.org (Alvaro Herrera)
Дата:
Сообщение: pgsql: Clamp last_anl_tuples to n_live_tuples, in case we vacuum a table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Disallow changing/dropping default expression of a SERIAL column