Re: Temp files on Commit

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Temp files on Commit
Дата
Msg-id 13893.1377186027@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Temp files on Commit  ("Nicholson, Brad (Toronto, ON, CA)" <bnicholson@hp.com>)
Ответы Re: Temp files on Commit  (bricklen <bricklen@gmail.com>)
Список pgsql-general
"Nicholson, Brad (Toronto, ON, CA)" <bnicholson@hp.com> writes:
> I'm seeing cases where I have temp files being written on commit, such as.

> 2013-08-16 12:09:02 GMT [14480]: [588-1] user=dbuser,db=dbname STATEMENT:  COMMIT
> 2013-08-16 12:09:02 GMT [14480]: [589-1] user= dbuser,db=dbname LOG:  temporary file: path
"base/pgsql_tmp/pgsql_tmp14480.263",size 814822 

> Is this a case of having work_mem set to low, or something else?  I haven't seen temp files on commit before.

They're not being written on commit, they're being cleaned up.  That
message about tempfile usage isn't written until the file is deleted,
since we don't know its maximum size for sure until then.

There is some setting that controls whether such messages appear at
all, but I'm too lazy to go look it up right now.

            regards, tom lane


В списке pgsql-general по дате отправления:

Предыдущее
От: Don Parris
Дата:
Сообщение: Re: Locale Issue
Следующее
От: bricklen
Дата:
Сообщение: Re: Temp files on Commit