Re: Re: patch review : Add ability to constrain backend temporary file space

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: Re: patch review : Add ability to constrain backend temporary file space
Дата
Msg-id 20110718.065329.231412901264772435.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: Re: patch review : Add ability to constrain backend temporary file space  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>>                  ereport(ERROR,
>>                          (errcode(ERRCODE_QUERY_CANCELED),
>>                          errmsg("aborting due to exceeding temp file limit, current usage %dkB, requested size %dkB,
thusit will exceed temp file limit %dkB",
 
>>                                 (int)(temporary_files_size/1024),
>>                                 amount,
>>                                 temp_file_limit)));
> 
> The thing is that unless "amount" is really large, you're just going to
> have two numbers that are very close to each other.  I think this is
> just useless complication, because "amount" is almost always going to
> be 8kB or less.

Oops. My bad. I should have divide "amount" by 1024. Now I understand
your point.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Reduced power consumption in WAL Writer process
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: Re: patch review : Add ability to constrain backend temporary file space