clean out ./data/base/pgsql_tmp - Mailing list pgsql-general

From Dylan Luong
Subject clean out ./data/base/pgsql_tmp
Date
Msg-id 4f3c89a224ff4660baa62a2b79fb0f1d@ITUPW-EXMBOX3B.UniNet.unisa.edu.au
Whole thread Raw
Responses Re: clean out ./data/base/pgsql_tmp
Re: clean out ./data/base/pgsql_tmp
Re: clean out ./data/base/pgsql_tmp
List pgsql-general

Hi

 

We have an issue where one of the developers ran a large query that hung was filling up the DATA drive very rapidly. From 50% usage to 95% in less than 2hrs.

It created a very large pgsql_tmp size (300GB). To stop the drive filling up we had to kill the process manually using kill -9.

How do we clean up the pgsql_tmp folder? Will Postgres periodically clean it? Ie CHECKPOINT?

Thanks.

 

Regards

Dylan

pgsql-general by date:

Previous
From: Vijay Chaudhery
Date:
Subject: RE: Migrating From CentOS-6 Oracle 11g R2 To CentOS-7 PostgreSQL ??
Next
From: Thomas Munro
Date:
Subject: Re: clean out ./data/base/pgsql_tmp