Re: Use pgBufferUsage for block reporting in analyze

From: Karina Litskevich <litskevichkarina(at)gmail(dot)com>
To: Anthonin Bonnefoy <anthonin(dot)bonnefoy(at)datadoghq(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Use pgBufferUsage for block reporting in analyze
Date: 2024-07-05 14:32:30
Message-ID: CACiT8iZyeyjWWW4T1sNW7PCra8DXAbj7vi6cQQUbWR0PauskqQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:

>
> I suggest assigning values
> bufferusage.shared_blks_read + bufferusage.local_blks_read
> and
> bufferusage.shared_blks_dirtied + bufferusage.local_blks_dirtied
> to new variables and using them. This would keep the changed lines within
> the 80 symbols limit, and make the code more readable overall.
>

The same applies to
bufferusage.shared_blks_hit + bufferusage.local_blks_hit

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Erik Wienhold 2024-07-05 14:41:39 Re: XML test error on Arch Linux
Previous Message Karina Litskevich 2024-07-05 14:24:41 Re: Use pgBufferUsage for block reporting in analyze