Re: Identify sessions and SQL's that are generating more write ahead logs

From: Satalabaha Postgres <satalabaha(dot)postgres(at)gmail(dot)com>
To: Keith <keith(at)keithf4(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Identify sessions and SQL's that are generating more write ahead logs
Date: 2023-07-21 14:44:28
Message-ID: CAJ_W8nZTC+H+d623vgLH=imCY4-1MdUaZWtv-fbO56cHRqQzsw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thanks, I'll check it out.
Regards,

Satalabha

On Thu, 13 Jul 2023 at 09:09, Keith <keith(at)keithf4(dot)com> wrote:

> The pg_stat_statements extension has wal generation statistics for each
> query that it logs. Most SaaS PG providers should have that extension
> available
>
> https://www.postgresql.org/docs/14/pgstatstatements.html
>
> On Wed, Jul 12, 2023 at 9:47 PM Satalabaha Postgres <
> satalabaha(dot)postgres(at)gmail(dot)com> wrote:
>
>> Hi All,
>>
>> New to postgres and its working..
>>
>> In postgres (version 14, cloud based), is there any way we can identify
>> the sessions and the SQL's that are generating more WAL segments?
>>
>> Regards,
>>
>> Satalabha
>>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Erik Serrano 2023-07-24 02:29:49 Is a PS - MSSQL Logical Replication Possible??
Previous Message Ilya Kosmodemiansky 2023-07-21 08:22:46 Re: postgis Error during upgrade