[ORACLE EBS]2. Patch Information

來源:互聯網
上載者:User
尋找apply the patch & mini patch:SELECT   patch_name, patch_type
    FROM ad_applied_patches
ORDER BY creation_date 

-----------------------
2644657     ONE-OFF
2641718     ONE-OFF

SELECT   app_short_name, MAX (patch_level) AS patch_level
    FROM applsys.ad_patch_driver_minipks
GROUP BY app_short_name;

----------------------
AD     11i.AD.I.2
AR     11i.AR.O
AX     11i.AX.J

尋找apply  patch的詳細資料(這裡查的是R12,可以看到application_short_name變成小寫了):SELECT   b.patch_name, g.orig_bug_number, e.bug_number, f.NAME machine,
         a.patch_top, g.application_short_name app, g.applied_flag,
         MIN (a.start_date), MAX (a.end_date), b.patch_type,
         b.maint_pack_level
    FROM applsys.ad_patch_runs a,
         applsys.ad_applied_patches b,
         applsys.ad_patch_drivers c,
         applsys.ad_comprising_patches d,
         applsys.ad_bugs e,
         applsys.ad_appl_tops f,
         applsys.ad_patch_run_bugs g
   WHERE a.patch_driver_id = c.patch_driver_id
     AND b.applied_patch_id = c.applied_patch_id
     AND d.patch_driver_id(+) = a.patch_driver_id
     AND e.bug_id(+) = d.bug_id
     AND f.appl_top_id(+) = a.appl_top_id
     AND g.patch_run_id(+) = a.patch_run_id
     AND a.creation_date >=
                    TO_DATE ('2004-01-01', 'YYYY-MM-DD')
     AND g.applied_flag(+) = 'Y'
GROUP BY b.patch_name,
         b.patch_type,
         b.maint_pack_level,
         f.NAME,
         a.patch_top,
         e.bug_number,
         g.application_short_name,
         g.applied_flag,
         g.orig_bug_number
ORDER BY MIN (a.start_date)

 
----------------------------------------------------
4502962     4502962          TESTSERERER     /d1/R12/ab/apps/prodxb19comn/autobuild/patch/4502962     ad      Y     2007-1-2 13:58:45    2007-1-2 14:21:12    PATCH-SET           
4440000     4440000          TESTSERERER     /d1/R12/ab/apps/prodxb19comn/autobuild/patch/4440000     au      Y     2007-1-3 15:02:03    2007-1-4 14:21:09    MAINTENANCE-PACK     12.0.0
5436860     5436860          TESTSERERER     /d1/R12/ab/apps/prodxb19comn/autobuild/patch/5436860     fnd     Y     2007-1-4 21:45:38    2007-1-4 21:46:23    ONE-OFF             

得到PATCH LEVEL:SELECT patch_level FROM fnd_product_installations

--------------------------------------------------
11i.QRM.A
11i.PON.H
11i.OKL.D
11i.IBC.A

如果想知道,具體的patch level,需要使用ORACLE 提供的工具Patchset Comparison Utility,
ftp://ftp.oracle.com/support/outgoing/PATCHSET_COMPARE_TOOL/patchsets.sh
不過這個東東跑起來一點也不快!

PATCH HISTORY DATABASE TABLES list:
AD_APPL_TOPS                                  Stores information about all APPL_TOPs utilizing this instance.
AD_APPLIED_PATCHES                   Stores information about all distinct updates applied.
如果有兩個一樣名字的PATCH,但是不同內容,會出現兩筆記錄。比如Merge patch 或者是在 多結點。
AD_BUGS                                             Stores information about all distinct bug fixes applied.
AD_DRIVERS                                       Stores information about the drivers that comprise an update.
DRIVER 的一些資訊,有幾個DRIVER,就有幾條資料,比如cxxxxx,dxxxxx,gxxxxx或uxxxxx 。
AD_FILE_VERSIONS                         Stores version information for files.
AD_FILES                                             Stores information about files in the system.
AD_PATCH_COMMON_ACTIONS   Stores information about actions in update driver files.
AD_PATCH_DRIVER_LANGS          Stores information about the languages included in an update driver file.
AD_PATCH_DRIVER_MINIPKS       Stores information about mini-packs.
AD_PATCH_RUN_BUG_ACTIONS Stores detailed information about actions applied by an update.
AD_PATCH_RUN_BUGS                  Stores information about all bug fixes included in an update, applied or not.  記錄當時APPLY 的資訊,但是針對某個BUG。
AD_PATCH_RUNS                            Stores information about all invocations of AutoPatch for all of the various updates applied. 記錄當時APPLY driver的資訊,比如位置,開始,結束時間,同Driver個數對應。
AD_RELEASES                                  Stores release information about the Oracle Applications system.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.