Oracle中main用法,OracleAppsDBA工具:ADADMIN使用说明

ADADMIN用途ADADMIN主要用于Oracle Apps文件系统和数据库的维护工作,是Apps DBA常用的工具。(ADADMIN执行文件位于$AD_TOP/bin下

ADADMIN用途

ADADMIN主要用于Oracle Apps文件系统和数据库的维护工作,是Apps DBA常用的工具。

(ADADMIN执行文件位于$AD_TOP/bin下)

使用方法

[oracle@ ~]$ adadmin

如果ADADMIN命令无法运行,很可能是环境变量没有设置,可以运行下". $APPL_TOP/instance.env"来设置环境变量。adadmin执行过程中,需要数据库system用户的密码和apps用户的密码

ADADMIN的菜单项介绍

62d22b9d29cff5094a1fde038e5e110f.png

ADADMIN有5个一级菜单,每个一级菜单下都有明细的功能项

一级菜单

AD Administration Main Menu

1.Generate Applications Files menu

2.Maintain Applications Files menu

3.Compile/Reload Applications Database Entities menu

4.Maintain Applications Database Entities menu

5.Change Maintenance Mode

6.Exit AD Administration

每一个一级菜单下的明细功能项

Generate Applications Files

如果系统用户无法访问Message,Form或者Report,你可以尝试使用“Generate Applications Files” 下的菜单来解决问题。

59ecca71ca437d0f991873242ee91a67.png

1.Generate message files

This task generates message binary files in the $PROD_TOP/mesg directory from oracle application object library tables.We generally perform this task only when instructed to do so in a readme file of a patch.

2.Generate form files

把$AU_TOP/forms//下的fmb文件生成_TOP/forms/下的fmx文件

3.Generate report files

根据安装语言生成report文件(.rdf)

4.Generate graphics files

This task generates Oracle graphics files for all installed languages. Extension of the file name like (*.ogd),The serious of prompts and actions in this task are very similar to the prompts and actions in the Generate form files task.

5.Generate product JAR files

GenerateJava archive (JAR) files whenever you upgrade the Developer technology stack orwhen recommended by Oracle Support Services. It signs JAR files (if on the Webserver) and does the following:

■Generates product JAR files in JAVA_TOP and copies them to APPL_TOP.

■Generates other Java-related files under APPL_TOP and JAVA_TOP.■Recreates Java libraries (appsborg.zip and appsborg2.zip) under APPL_TOP andJAVA_TOP.

6.Return to Main Menu

Maintain Applications Files

“Maintain Applications Files”主要是用于保持你的系统文件最新。比如,,你需要拷贝文件从一个特定位置或者转换文件的字符集

8fc7b4db860051557a998dd6683c5019.png

1.Relink Applications programs

Relinks Oracle Applications executable programs with the Oracle server libraries so that they function with the Oracle database. For each product, choose whether to link all executables or only specific ones.Note:The default is to relink without debug information. Use the debug option only when requested to do so by Oracle Support Services.

2.Create Applications environment file

3.Copy files to destinations

Copies files from each product area to central locations where they can be easily referenced by non-Applications programs. This option uses revision-based copy logic to ensure that the destination file versions are the same as, or higher than, the source file versions.

Note:Were commend that you do not use the force option to overwrite existing files unless instructed by Oracle Support Services. Copying files with this option updates all JAR files. JInitiator then downloads required JAR files to each client again, causing runtime performance degradation.

The file types and their respective destinations are shown in the following table:

These files: copied to (UNIX)

Java files $JAVA_TOP

HTML files $OAH_TOP

Media files $OAM_TOP

Note:When this option is used to copy reports or graphics files, the default destinationis under AU_TOP.

4.Convert character set

Preparesthe files in the APPL_TOP for conversion to another character set, and then performs the conversion. 本条技术文章来源于互联网,如果无意侵犯您的权益请点击此处反馈版权投诉 本文系统来源:php中文网

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
从一个“普通”的Oracle DBA(Oracle数据库管理员)转变为Oracle Applications DBA(Oracle应用程序数据库管理员),有两个内容你必须去弄清楚。第一个内容是如何成为一个Oracle Applications DBA(Oracle应用程序数据库管理员)。第二个内容是你要搞清楚Oracle应用程序背后的架构体系,也就是说你要明白诸如以下产品的结构体系:Oracle电子商务套件、Oracle 11i数据库、Siebel产品等。 本文首先讲述如何从一个普通的Oracle DBA转变为一个Oracle Applications DBA(Oracle应用程序数据库管理员),接着讲述一些Oracle应用软件架构方面的内容 。 如何成为Oracle应用程序数据库管理员 首先是角色的转变 Oracle Applications DBA(Oracle应用程序数据库管理员)对“普通”的Oracle DBA(Oracle数据库管理员)来说是一个很大的挑战。拿Oracle EBS DBA(Oracle 电子商务套件DBA)来说,不仅需要了解EBS的各个组件、服务,而且还要更主动和其他相关人员接触。 一个Oracle Applications DBA(Oracle应用程序数据库管理员)不仅需要和其他DBA一样去负责managing、 sizing、maintaining和 tuning database这些日常的数据库管理的工作,如果他的Apps database是OLTP系统的话,他还需要监察wait和lock 。Oracle E-Business Suite还有一些特性需要DBA去完成,比如从外部资源里灌数据到Apps database里,或支持开发人员从已有数据提取数据。 接着工作内容的转变 作为一个Oracle Applications DBA(Oracle应用程序数据库管理员),要想更好的对Oracle Application database做支持,需要仔细记住以下几项。 1.网络上没有什么比较容易简单的文档让你去熟悉Apps DBA,所以我建议去看帮助。 2.在你没有经过多次测试并且得到客户认可的时候不要去打补丁,并且你要确信这个补丁解决了现有的问题,而且没有带来其它新的问题。 3.记住Oracle Applications会有很多索引,定期rebuild index会对性能有好处,当然做这项工作应该在系统的空闲时间。 4.不要为了提高性能而在没有询问oracle Support前试着去增加额外的indexes。如果你一定要去做,那千万记住要有文档作记录,因为在这之后你再打patch的时候它可能会把你做的修改自动复原。 5. 知道怎么样是正确的打patch,先计划打哪个patch,然后取得patch,接着打patch,测试,最后文档记录。 6. 要知道任何时刻数据库都可能会有一些object 是invalid的,你的一些操作也会增加invalid objects,定期检查这些invalid objects的数量,然后定期用utlrp去重新编译,utlrp.squ在ORACLE HOME的rdbms/admin下,需要用SYS运行。在你的DB运行过程如果碰到错误,就可以先重新编译invalid objects,如果没有解决问题再去递交iTAR(Internet created Technical Assistance Request). 7.能看懂日志。 8.了解Apps database的环境,包括操作系统和DB的,当你对你的工作环境了如指掌后,一切也就变得容易了,那时,你就是一个悠闲的Apps DBA了。 另外,对于APPS DB(应用程序数据库)来说,你可能需要创建或拷贝(克隆)多个生产库以外的数据库,比如测试和开发数据库,当然,需要多少数据库是由你的商业需求所决定的。开发环境数据库是供开发人员进行report,PL/SQL等开发的,这个环境可以在开发人员觉得数据已经不再满足开发需求的时候,当然也可以在这个环境测试补丁(patches)。当然最终使用patch的时候还需要在测试环境做测试,因为测试数据库是和生产数据库环境最接近的。(上面说的克隆cloning是一种将applications layer和database layer完全复制的一种方法。)所以,当你拥有这三个数据库的时候,打patch的步骤是先development database再test database最后才在production database环境应用。 构架应用体系 如果你研究过Oracle Forms,使用Application Server和Devel
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值