sql >> データベース >  >> RDS >> Oracle

Oracleアプリに適用されているパッチを見つけるための上位のクエリ

    Oracleアプリ環境に適用されているパッチをチェックするタスクを頻繁に取得します。 EBSに適用されているパッチを見つけるための上位のクエリは次のとおりです

    バグ番号またはパッチがAppsEBSに適用されているかどうかを確認する方法

     select substr(APPLICATION_SHORT_NAME、1,10)Product、substr(BUG_NUMBER、1,10)、Version、last_update_date apply_date from ad_bugs where BUG_NUMBER =to_char('&bug_no'); 

    特定のアプリケーションのパッチレベルを見つける方法

     select pi.patch_level、Application_short_name fromfnd_product_installations pi、fnd_application fa where fa.application_id =pi.application_id and Application_short_name like'&App_Short_Name' / select patch_level from fnd_product_installations where patch_level LIKE('%&1%'); 

    EWTバージョンを見つける方法

     unzip -l $ FND_TOP / java / jar / fndewt.jar | grep 3 _ 

    さまざまな製品のさまざまな情報を一覧表示する方法

     set linesize 1000column application_id format a999999 heading "APPL | ID" column application_short_name format a10 heading "APPL | SHORT NAME" column application_name format a50 heading "APPLICATION NAME" column language format a4 heading "LANG" select a.application_id、a。 application_short_name、a.basepath、at.application_namefrom fnd_application a、fnd_application_tl atwhere at.application_id =a.application_idand at.language ='US' group by a.application_id、a.application_short_name、a.basepath、at.application_name、at.languageorder by a.application_id / 

    すべての製品のインストールステータスを確認する方法

     set linesize 1000column APPS format a10select decode(nvl(a.APPLICATION_short_name、'Not Found')、'SQLAP'、'AP'、'SQLGL'、'GL'、'OFA'、'FA'、'Not Found '、' id'|| to_char(fpi.application_id)、a.APPLICATION_short_name)apps、decode(fpi.status、' I'、' Installed'、' S'、' Shared'、' N'、' Inactive'、 fpi.status)status、fpi.product_version、nvl(fpi.patch_level、'-Not Available-')Patchset、to_char(fpi.last_update_date、'dd-Mon-RRRR') "Update Date" from fnd_oracle_userid o、fnd_application a、fnd_product_installations fpiwhere fpi.application_id =a.application_id(+)and fpi.oracle_id =o.oracle_id(+)order by 1,2 / 

    このスクリプトは、特定のファイルのさまざまなバージョン、関連するバグ番号、適用された日付を識別するのに役立ちます。入力は、バージョンが決定されるファイル名です

     set linesize 1000column filename format a15column bug_number format a10column version format a15set pages 250set verify offselect a.bug_number、h.filename、g.version、to_char(c.start_date、'DD-MON-YYYY HH:MI:SS') start_time、to_char(c.end_date、'DD-MON-YYYY HH:MI:SS')end_time、to_char(to_date( '00:00:00'、'HH24:MI:SS')+(c.end_date --c .start_date)、'HH24:MI:SS')Durationfrom ad_bugs a、ad_patch_run_bugs b、ad_patch_runs c、ad_patch_drivers d、ad_applied_pa​​tches e、ad_patch_run_bug_actions f、ad_file_versions g、ad_files hwhere a.bug_id =b.bug_id =c.patch_driver_id =d.patch_driver_idand d.applied_pa​​tch_id =e.applied_pa​​tch_idand b.patch_run_bug_id =f.patch_run_bug_idand f.patch_file_version_id =g.file_version_idand g.file_id =h.file_idand h.filename ='&File_Name / pre> 

    Oracleデータベースパッケージ情報のバージョン情報を検索する方法

     select textfrom user_sourcewhere name ='&package_name' andtext like'%$ Header%' / 

    次のSQLを実行することで、データベース層でOAF5.7バージョンOAF5.10を使用しているかどうかを確認できます。

    デュアルからjdr_mds_internal.getRepositoryVersionを選択します;

    9.0.3.6.0 _ ###のようなものが返される場合は、OAF5.7を使用しています。
    9.0.5.0.0 _ ###が返される場合は、OAF5.10を使用しています。

    .oファイルのバージョンを見つける方法

    adidentヘッダーFNDCRM| grep afpcrm.oc 

    関連記事

    DBAのOracleアプリクエリ:このページには、日常の管理アクティビティに役立つAPPSDBAの非常に便利で実用的なトップ30のOracleアプリクエリが含まれています
    Oracle DBAインタビューの質問と回答:素晴らしいOracleDBAインタビューの質問とOracleデータベースのインタビューで成功するための回答。これにより、さまざまな面で知識がテストされます。
    Concurrent Managerクエリ:このページには、Concurrent Managerのトラブルシューティング、解決策、実行時間、詳細に関するすばらしい上位30のConcurrent Managerクエリが含まれています
    40すべてのDBAが知っておくべきパッチの質問:すべてのアプリDBAは、パフォーマンスパッチのメンテナンスのためにadpatchユーティリティと連携する必要があります。ここでは、最もよくあるadpatchの質問を提供します。
    OracleEBS環境でのパッチウィザード:パッチウィザードを使用してOracleEBSでパッチを分析する方法


    1. ペットケアデータモデル

    2. SQLliteデータベースをGoogleドライブアプリフォルダにバックアップ/復元します

    3. 外部キー条件のPostgreSQLチェック制約

    4. OracleAppsR12.2でTLSを有効にする