Question & Answer
Question
Informixのメッセージログに、以下のメッセージが出力されていました。このメッセージの意味と、必要な対応について教えてください。 02:31:17 ERROR Estimate FAILED for table 'db07:"usr21".tbl_0733' partnum 2097606 - iserrno 0.
Answer
このメッセージは情報メッセージで、以下のように一連のメッセージの一部として、出力されます。
02:31:17 SCHAPI Estimate Compression for db07:"usr21".tbl_0733 started
02:31:17 Partition 2001C6 does not contain enough rows to build a compression dictionary.
The partition must contain at least 2000 rows to perform this operation.
02:31:17 ERROR Estimate FAILED for table 'db07:"usr21".tbl_0733' partnum 2097606 - iserrno 0.
Informix Serverは、テーブルを圧縮すべきかどうかを判断する処理を、スケジューラの設定に基づいて、定期的に実行します。そのとき、対象テーブルの行数が少ない場合、そのテーブルを圧縮する必要がないと判断し、上記のようにメッセージを出力します。したがって、このメッセージはDB Serverおよびテーブルに問題があることを意味しているわけではないため、特に対応する必要はありません。
テーブルを圧縮する機能を使用していない場合は、以下のSQL文をデータベースsysadminで実行することにより、このメッセージの出力を抑制することができます。
update ph_task set tk_enable = 'f'
where tk_name = 'mon_compression_estimates';
なお、Informix serverのバージョンによって、以下のようにメッセージが出力される場合がありますが、同じ意味になります。
02:31:17 SCHAPI Estimate Compression for db07:"usr21".tbl_0733 started
02:31:17 SCHAPI Starting Estimate on table 'db07:"usr21".tbl_0733' partnum 2001C6
02:31:17 Partition 2001C6 does not contain enough rows to build a compression dictionary.
The partition must contain at least 2000 rows to perform this operation.
02:31:17 rscCommand: rscEstimateCompressionFlag failed, isfd = 3, table = 'db07:"usr21".tbl_0733'
02:31:17 ERROR db07:"usr21".tbl_0733: Compression failed for partnum 2097606.
02:31:17 ERROR Estimate Compression for table 'db07:"usr21".tbl_0733' failed - iserrno 0
02:31:17 ERROR: admin_fragment_command('fragment estimate_compression ','2097606') failed
Related Information
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21883506