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

From: Keith <keith(at)keithf4(dot)com>
To: Satalabaha Postgres <satalabaha(dot)postgres(at)gmail(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-13 03:39:17
Message-ID: CAHw75vtbm0jtUhgx1RVBO7mmzSjQPhs9EHB1R8jRA24N1sZQhw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Edward J. Sabol 2023-07-13 04:08:42 Re: pg_dump: WARNING: could not find operator
Previous Message Ron 2023-07-13 03:08:03 Re: pg_dump: WARNING: could not find operator