Re: Vacuum statistics

From: Alena Rybakina <a(dot)rybakina(at)postgrespro(dot)ru>
To: Alexander Korotkov <aekorotkov(at)gmail(dot)com>, jian he <jian(dot)universality(at)gmail(dot)com>, Ilia Evdokimov <ilya(dot)evdokimov(at)tantorlabs(dot)com>
Cc: Andrei Zubkov <zubkov(at)moonset(dot)ru>, Alena Rybakina <lena(dot)ribackina(at)yandex(dot)ru>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, a(dot)lepikhov(at)postgrespro(dot)ru
Subject: Re: Vacuum statistics
Date: 2024-09-04 17:23:00
Message-ID: f05a9031-f923-41b1-9bf9-81204cb56561@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, all!

I noticed that the pgstat_accumulate_extvac_stats function may be
declared as static in the pgstat_relation.c file rather than in the
pgstat.h file.

I fixed part of the code with interrupt counters. I believe that it is
not worth taking into account the number of interrupts if its level is
greater than ERROR, for example PANIC. Our server will no longer be
available to us and statistics data will not help us.

I have attached the new version of the code and the diff files
(minor-vacuum.no-cbot).

Attachment Content-Type Size
v7-0001-Machinery-for-grabbing-an-extended-vacuum-statistics.patch text/x-patch 64.1 KB
v7-0002-Machinery-for-grabbing-an-extended-vacuum-statistics.patch text/x-patch 40.6 KB
v7-0003-Machinery-for-grabbing-an-extended-vacuum-statistics.patch text/x-patch 19.9 KB
v7-0004-Add-documentation-about-the-system-views-that-are-us.patch text/x-patch 24.2 KB
minor-vacuum.no-cbot text/plain 7.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2024-09-04 17:30:01 Re: Avoid possible dereference null pointer (src/bin/pg_dump/pg_dump.c)
Previous Message Ranier Vilela 2024-09-04 17:10:28 Avoid possible dereference null pointer (src/bin/pg_dump/pg_dump.c)