英語でOracle!

日本では知られていない情報を読んで、オラクルと英語の勉強もできちゃうメルマガ。
外資系企業のSE(プラチナ保有)が解説と一緒にご紹介します。英語ぷちクイズコーナーもあります。


Inserting Custom Messages in Oracle Alert/Trace files

今日は予告通り、再びDBA support.comから。

前回のVirtual Indexに続きもうひとつのUndocumented 
Featureであるalter fileへのinsert方法の記事を
ご紹介します。

今回はその記事の中から上記機能を使用する目的例
をピックアップしたいと思います。

実際の使用方法は引用ページで
サンプル付きで説明されています。

■ DBA Support.com
http://www.dbasupport.com/
■ 引用ページ
http://www.dbasupport.com/oracle/ora9i/custom_messages.shtml

_________________________
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
記事本文
_________________________
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
◆ Inserting Custom Messages in Oracle Alert/Trace files

1. A scheduled routine checks the available space and puts an alert for 
   tablespaces left with less than 100MB of space
   (or as is the case for your site).

2. Any changes in the Application profiles are recorded in Alerts. 
   Profile setup is important and changing it results in problems 
   for some of the modules running at my site.

_________________________
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
英語の語順に近い解釈
_________________________
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄

◆ Inserting Custom Messages in Oracle Alert/Trace files
    アラートファイル、トレースファイルへのメッセージの追加

1. A scheduled routine checks the available space and puts an alert for 
   tablespaces left with less than 100MB of space
   空き領域が100MB未満の表領域のための、
   空き容量の定期的なチェックと警告の書き込み

   (or as is the case for your site).
   (又はあなたサイトのケースに合った)

2. Any changes in the Application profiles are recorded in Alerts.
   アプリケーションプロファイルのどのような変更も
   alertファイルに記録されます。

   Profile setup is important and changing it results in problems
   for some of the modules running at my site.
   プロファイルの設定は重要で、その変更は私のサイトで実行されている
   いくつかのモジュールに問題を引き起こします。


_________________________
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
解説
_________________________
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄

運用でAlert fileを定期的に監視してORACLEエラーメッセージを検知する
仕組みなどを作成した場合、Applicationで発生した業務的なエラーなどを
このプロシージャを使用することでalert fileに含めることができます。
そうすればApplication側の通知処理も単純になりますし、
エラーの内容もalertファイルでまとめて確認できますね。

※当機能はOracle側で公式にDocument化
  されていない機能の1つで自己リスクでの使用となります。
  ご注意ください。


_________________________
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
アンケート
_________________________
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
☆あなたのOracleに対する役割はなんですか?

◆DBA
◆コンサルタント
◆アプリケーション開発者
◆インフラ構築担当
◆学習中
◆Oracleとは無関係
◆その他
○結果を見る
┗ http://clickenquete.com/a/r.php?Q0015550Cf507

協力:クリックアンケート http://clickenquete.com/

_________________________
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
編集後記
_________________________
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄

最後まで読んでいただきありがとうございます。
3回目の発行でようやく発行の承認がおりました。
これからも忙しさにめげずに続けていきたいと思います。
リクエストや質問など気軽にいただけると嬉しいです。

それではまた。

#alertと入力しようとするとどうしてもalterになってしまう(笑)

___________________________________
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
おわりに
___________________________________
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
記述誤りなどのご指摘、
記事に関する疑問点・質問・感想・ご意見・ご感想など
yakusa_oracle@yahoo.co.jpまでお願い致します。

簡単な自己紹介はこちら
http://pr2.cgiboy.com/S/3191274

バックナンバー兼ブログはこちら
http://imoment.web.fc2.com/

登録・解除はこちらから
http://www.mag2.com/m/0000200441.htm

 

omo inserted by FC2 system