Re: Disk is filling up with large files. How can I clean? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Disk is filling up with large files. How can I clean?
Date
Msg-id 67caa2a7-38a7-4d2f-8902-79cb664cad67@aklaver.com
Whole thread Raw
In response to Disk is filling up with large files. How can I clean?  (Mikael Petterson <mikaelpetterson@hotmail.com>)
List pgsql-general
On 10/8/24 04:06, Mikael Petterson wrote:
> Hi,
> I find our disk is filling up.

Query the pg_stat_activity view:

https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-ACTIVITY-VIEW

and look for rows that have with state showing 'idle in transaction'.

Report back what you find.

You should also check out this post:

https://www.cybertec-postgresql.com/en/reasons-why-vacuum-wont-remove-dead-rows/


> What can I do to clean up. We are using pgsql 12.
> Br,
> //Mikael
> 
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: pg_dump throwing segfault error during backup
Next
From: Greg Sabino Mullane
Date:
Subject: Re: Disk is filling up with large files. How can I clean?