public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Mikael Petterson <[email protected]>
To: [email protected] <[email protected]>
Subject: Re: Disk is filling up with large files. How can I clean?
Date: Wed, 9 Oct 2024 08:24:38 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <GV1PR08MB83052D322AD3FB9A65125339B87E2@GV1PR08MB8305.eurprd08.prod.outlook.com>
References: <GV1PR08MB83052D322AD3FB9A65125339B87E2@GV1PR08MB8305.eurprd08.prod.outlook.com>

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
[email protected]







view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Disk is filling up with large files. How can I clean?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox