Re: autovacuum logging, part deux.

Поиск
Список
Период
Сортировка
От Chris Browne
Тема Re: autovacuum logging, part deux.
Дата
Msg-id 60y7xhc0f5.fsf@dba2.int.libertyrms.com
обсуждение исходный текст
Ответ на autovacuum logging, part deux.  ("Larry Rosenman" <lrosenman@pervasive.com>)
Ответы Re: autovacuum logging, part deux.
Список pgsql-hackers
lrosenman@pervasive.com ("Larry Rosenman") writes:
> Gentlepeople,
>     Now that the patch is out for keeping the last
> autovacuum/vacuum/analyze/autoanalyze
> timestamp in the stats system is pending, what's the consensus view on
> what, if any,
> logging changes are wanted for autovacuum?
>
>     I have the time and inclination to cut code quickly for it.

It would be Really Nice if it could draw in the verbose stats as to
what the VACUUM did...

e.g. - to collect some portion (INFO?  DETAIL?  I'm easy :-)) of the
information that PostgreSQL generates at either INFO: or DETAIL:
levels.

/* cbbrowne@[local]/dba2 vacdb=*/ vacuum verbose analyze vacuum_requests;
INFO:  vacuuming "public.vacuum_requests"
INFO:  index "vacuum_requests_pkey" now contains 2449 row versions in 64 pages
DETAIL:  3 index pages have been deleted, 3 are currently reusable.
CPU 0.00s/0.00u sec elapsed 0.00 sec.
INFO:  index "vr_priority" now contains 0 row versions in 19 pages
DETAIL:  16 index pages have been deleted, 16 are currently reusable.
CPU 0.00s/0.00u sec elapsed 0.00 sec.
INFO:  "vacuum_requests": found 0 removable, 2449 nonremovable row versions in 65 pages
DETAIL:  0 dead row versions cannot be removed yet.
There were 2809 unused item pointers.
0 pages are entirely empty.
CPU 0.00s/0.00u sec elapsed 0.00 sec.
INFO:  vacuuming "pg_toast.pg_toast_95167460"
INFO:  index "pg_toast_95167460_index" now contains 0 row versions in 1 pages
DETAIL:  0 index pages have been deleted, 0 are currently reusable.
CPU 0.00s/0.00u sec elapsed 0.00 sec.
INFO:  "pg_toast_95167460": found 0 removable, 0 nonremovable row versions in 0 pages
DETAIL:  0 dead row versions cannot be removed yet.
There were 0 unused item pointers.
0 pages are entirely empty.
CPU 0.00s/0.00u sec elapsed 0.00 sec.
INFO:  analyzing "public.vacuum_requests"
INFO:  "vacuum_requests": 65 pages, 2449 rows sampled, 2449 estimated total rows
VACUUM

-- 
"cbbrowne","@","acm.org"
http://cbbrowne.com/info/x.html
If you  stand in the middle  of a library and  shout "Aaaaaaaaargh" at
the top of your voice, everyone just stares at you. If you do the same
thing on an aeroplane, why does everyone join in?


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

Предыдущее
От: Markus Schiltknecht
Дата:
Сообщение: pseudo-type record arguments for PL-functions
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: autovacuum logging, part deux.