odf(Object Descriptor File),里边含有数据库对象的描述,用于创建数据库表,视图,索引等等。
除了打patch可以打odf文件,我们还有个手工打odf的工具叫做ADODFCM,名字拆开比较好记,AD表示Admin,ODF表示Object Descriptor File,CM表示Compilation。
应用场景,比如发现数据库某张表没有被创建,但odf文件其实是有定义的,这个时候打patch比较麻烦,可以考虑使用ADODFCM
odf文件的位置
$PROD_TOP/patch/115/xxx.odf
adodfcmp用法
[oracle@bej301441 odf]$ cd $INV_TOP/patch/115/odf/
[oracle@bej301441 odf]$ adodfcmp odffile=invslig.odf userid=inv/inv changedb=yes priv_schema=system/manager mode=indexes touser=apps/apps logfile=invtab.log
adodfcmp parameters
parameters are required: mode, touser, priv_schema, odffile, userid
mode (required) :Determines the type of objects to compare against the ODF.Example tables,indexes
touser (required) : Specifies the Oracle username/password of the Oracle Applications product to grant to. In Release 11i/R12 this is usually APPS schema.
priv_schema (required) :Specify a schema having DBA privileges, along with its password. You may specify the SYSTEM schema
odffile (required) : The name of the object descriptor file (file extension .odf) to compare.
userid (required) :The Oracle username/password for the product’s base schema. This is the schema where the product tables, indexes and sequences are located for example inv/inv
changedb (opt) No :Set to yes to change the database objects to match the definitions in the object descriptor files. Customizations are not affected because the utility does not delete objects not found in the ODF. Using the default, No, will not make anychanges
only produce a log file indicating what changes need to be made.
Sample Log
************* Start of ODF Comparison Utility session *************
ODF Comparison Utility version: 12.0.0
ODF Comparison Utility started at: Tue Jul 31 2012 00:21:00
Connecting to SYSTEM......Connected successfully.
Connecting to APPS......Connected successfully.
Reading objects from ODF file
Reading table MTL_CLIENT_PARAMETERS ...
Reading table MTL_TXNS_HISTORY ...
Reading table MTL_BILLING_SOURCES_B ...
Reading table MTL_BILLING_SOURCES_TL ...
Reading table MTL_BILLING_RULE_HEADERS_B ...
Reading table MTL_BILLING_RULE_HEADERS_TL ...
Reading table MTL_BILLING_RULE_LINES ...
Reading table MTL_3PL_LOCATOR_OCCUPANCY ...
Reading table MTL_ADJUSTMENT_SYNC_TEMP ...
Reading table MTL_LSP_ONHAND_BALANCE_TMP ...
....
....
...
Start time for statement below is: Tue Jul 31 2012 00:21:03
ALTER TABLE INV.MTL_LSP_ONHAND_BALANCE_TMP STORAGE (FREELISTS 4)
Statement executed.
ODF Comparison Utility is complete.
You should check the file
/u01/oracle/instance/apps/apps_st/appl/inv/12.0.0/patch/115/odf/invtab.log
for errors.
转载请注明出处:http://blog.csdn.net/pan_tian/article/details/7814422
===EOF===
分享到:
相关推荐
破解Oracle apps 密碼破解Oracle apps 密碼
Cluster Verification Utility (CVU) 是一个随 Oracle Grid Infrastructure/Oracle Clusterware 发布的实用程序。开发此实用程序是为了帮助进行 Oracle Clusterware 和 Oracle Real Application Clusters (RAC) 的...
oracle apps seminer,Apps 中间层产品技术介绍,应用服务器的 配置及调整
1.5 安装 Oracle Repository Creation Utility 4 1.6 安装Oracle BIEE 11G 10 1.1 配置要求 1.数据库要求在Oracle Database 11g Enterprise Edition Release 10.2.0.4.0以上的版本(字符集为UTF8)。 2.安装Oracle ...
Oracle Apps 11i EBS检查,oracle EBS 系统在上线后,为了保障系统的正常健康运行,需要以一定时间频率对系统进行系统检查。
专门介绍oracle oradebug工具的使用方法,涵盖了日常可能碰到的各种问题处理解决
oracle BI APPS 是作为ORACLE ERP 配套的BIEE增强版 非常强大,供各位参考!
Oracle Application Express (APEX): Build Powerful Data-Centric Web Apps with APEX features step-by-step application development techniques, real-world coding examples, and best practices. You will ...
Oracle BI APPs 让你的ERP添上分析的翅膀
一个Oracle Applications DBA(Oracle应用程序数据库管理员)不仅需要和其他DBA一样去负责managing、 sizing、maintaining和 tuning database这些日常的数据库管理的工作,如果他的Apps database是OLTP系统的话,他...
Oracle数据库的XML SQL Utility技术.pdf
Oracle的DBA培训资料(ppt) Oracle之DBA培训资料(ppt)
Oracle 9i Client (Oracle 9i 客户端) 简化版 (不安装Oracle客户端,也可以使用PLSQL Developer 不用安装Oracle客户端也可以使用PLSQL Developer 绿色! 安全! 轻便! 可靠! 1、本软件可作为简单的Oracle9i客户端...
oracle 9i所有版本最新下载链接 直接迅雷下载 Oracle9i Database Release 2 Enterprise/Standard/Personal Edition for Windows NT/2000/XP ...
使用了,ODP.NET 方式链接数据库,只要把Oracle.ManagedDataAccess.dll引入取代以前的Oracle.DataAccess.dll即可。 这种方式也是oracle公司提供的,稳定性要比之前那种更好,而且也是免安装客户端的,目前还没测试...
oracle_课件oracle_课件oracle_课件oracle_课件oracle_课件oracle_课件oracle_课件oracle_课件oracle_课件oracle_课件oracle_课件
Oracle Instant Client 11.2.0.1.0是轻量级Oracle客户端,用于连接访问Oracle 9i、10g、11g 11.2.0.1.0版本的Oracle数据库。 Oracle Instant Client11.2.0.1.0 安装程序包含OCI/ OCCI、JDBC-OCI SDK(软件开发工具...
Oracle的导入实用程序(Import utility)允许从数据库提取数据,并且将数据写入操作系统文 件。imp使用的基本格式:imp[username[/password[@service]]],以下例举imp常用用法。