[pgsql-jp: 38962] Re: statement_timeout について

Quan Zongliang quanzongliang @ gmail.com
2007年 11月 21日 (水) 19:08:18 JST


お疲れ様です、権です。

下記のURLを参照してください:

http://www.postgresql.org/community/weeklynews/pwn20060813.html
2006/8/13 発表
- a fix by Greg Sabino Mullane to statement_timeout so that it properly treats 
microseconds as microseconds, rather than as 100 microseconds, as it did before. 
This actually fixes all setitimer calls on Win32, but statement_timeout is the most visible fix.

microsecond?
実はmillisecondだと思う。

7.4.9が 2005/10/05 リリースされました、
そのとき、statement_timeoutの設定100ミリ秒(millisecond)を採用した?
3000に改定して、正常になると思う。

On Tue, 20 Nov 2007 22:01:39 +0900
y-sugita @ cnt.mpd.nec.co.jp wrote:

> こんにちは杉田と申します
> いつも参考にさせて頂いております
> 
> 環境:バージョンは7.4.9
> 
> postgresqlのstatement_timeoutを5分に設定しています
> topでプロセスを確認したところ5分を経過しても、
> timeoutしないで存在し続けるプロセスがありました。
> 
> ■パラメータ
> statement_timeout              | 300000
> 
> このような事例はありますでしょうか?
> 
> 以上、よろしくお願いいたします

-----------------------------------------------
Quan Zongliang
quanzongliang @ gmail.com




pgsql-jp メーリングリストの案内