clean out ./data/base/pgsql_tmp

Поиск
Список
Период
Сортировка
От Dylan Luong
Тема clean out ./data/base/pgsql_tmp
Дата
Msg-id 4f3c89a224ff4660baa62a2b79fb0f1d@ITUPW-EXMBOX3B.UniNet.unisa.edu.au
обсуждение исходный текст
Ответы Re: clean out ./data/base/pgsql_tmp  (Thomas Munro <thomas.munro@enterprisedb.com>)
Re: clean out ./data/base/pgsql_tmp  (Michael Paquier <michael.paquier@gmail.com>)
Re: clean out ./data/base/pgsql_tmp  (Jeff Janes <jeff.janes@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Vijay Chaudhery
Дата:
Сообщение: RE: Migrating From CentOS-6 Oracle 11g R2 To CentOS-7 PostgreSQL ??
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: clean out ./data/base/pgsql_tmp