R12 d49656 gc10-apps dba 18

18
Copyright © 2007, Oracle. All rights reserved. Reporting Utilities AD Utilities Topics

description

Oracle Applications, Oracle Database, D49656, Oracle Applications DBA

Transcript of R12 d49656 gc10-apps dba 18

Page 1: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.

Reporting Utilities

AD Utilities Topics

Page 2: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 2

Objectives

At the end of this module, you should be able

to do the following:

• Report on configuration information for an installed Oracle Applications system

• Identify the version of Oracle Applications files

• Determine long-running scripts and potential problem areas when running AD utilities that utilize parallel workers

Page 3: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 3

Module Overview

This module consists of the following topics:

• Running AD Configuration

• Using AD File Identification

• Running the AD Job Timing report

• Reducing system downtime

Page 4: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 4

AD Configuration

AD Configuration:

• Is a SQL script (adutconf.sql)

• Is located in AD_TOP/sql

• Reports standard information about the installed configuration of Oracle Applications

• Generates a file called adutconf.lst in the current working directory

Page 5: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 5

Running AD Configuration

UNIX:

Windows:

$ cd $APPL_TOP/admin/<SID>/out $ sqlplus <APPS username>/<APPS password> \ @$AD_TOP/sql/adutconf.sql

C:\> cd %APPL_TOP%\admin\<SID>\out C:\> sqlplus <APPS username>/<APPS password> \ @%AD_TOP%\sql\adutconf.sql

Page 6: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 6

AD Configuration

This utility provides information about the installed configuration of Oracle Applications

The information includes:

• SQL*Plus PAUSE and NEWPAGE settings

• Rollback segment information

• Information about the product group

• Whether Multi-Org is configured

• List of operating units

Page 7: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 7

AD Configuration

The information includes (cont.):

• List of registered products

• Information on all registered schemas

• Information about all registered products, including shared and dependent products

• Status of localization modules

• The base language and other installed languages

• NLS init.ora settings

Page 8: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 8

AD File Identification

Use this utility to identify the version and translation level of Oracle Applications files.

Page 9: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 9

AD File Identification (adident)

To run the AD File Identification utility:

UNIX:

Windows:

$ adident Header <file 1> [ <file 2> ... ]

C:\> adident Header <file 1> [ <file 2> ... ]

Page 10: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 10

AD File Identification

$ adident Header $FND_TOP/lib/wfload.o \ $FND_TOP/lib/libfnd.a

wfload.o:wfload.oc 120.0

libfnd.a:fdacon.lc 120.0fdatat.lc 120.0fdastr.lc 120.0fdaupd.lc 120.0fdahmi.lc 120.0fdacv.lc 120.0fdfutl.lc 120.4....

Page 11: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 11

AD Job Timing Report

• The AD Utilities, including AutoPatch, and AD Administration, improve performance of certain tasks by running them in parallel

• The utilities that run parallel workers produce an AD Job Timing Report

• The AD Job Timing Report contains detailed information for all tasks run in parallel

Page 12: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 12

AD Job Timing Report

The AD Job Timing Report contains the following information:

• Jobs run successfully on the first try

• Failed jobs that were deferred and then run successfully

• Failed jobs that were restarted and then run successfully

• Failed jobs that were skipped

• Time-consuming jobs

Page 13: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 13

AD Job Timing Report

Usage:

• AD utilities, by default, have the timing feature enabled

• Each session is assigned a session ID that is displayed at the beginning of the log file

• A report named adt<session_id>.lst is automatically generated at the end of the AD utility session. The report is available in the APPL_TOP/admin/<SID>/out directory

• To generate a report for AD sessions before the utility completes, you can use the script AD_TOP/admin/sql/adtimrpt.sql and provide the session identifier as a parameter

Page 14: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 14

Running the AD Job Timing Report

UNIX:

Windows:

$ cd $APPL_TOP/admin/<SID>/out $ sqlplus <APPS username>/<APPS password> \ @$AD_TOP/sql/adtimrpt.sql <session_id> <OUTPUT FILE>

C:\> cd %APPL_TOP%\admin\<SID>\out C:\> sqlplus <APPS username>/<APPS password> \ @%AD_TOP%\sql\adtimrpt.sql <session_id> <OUTPUT FILE>

Page 15: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 15

Reducing Critical System Downtime

The AD Job Timing Report provides you with detailed information about your test maintenance sessions

You can use it to:

• Determine long-running scripts and potential problem areas

• Find solutions to decrease the time of long-running scripts– Solutions may already be documented on OracleMetaLink

• Repeat test maintenance sessions and monitor the AD Job Timing Report to determine other areas where performance can be enhanced

Page 16: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 16

Module Summary

In this module, you should have learned how to do the following:

• Report on configuration information for an installed Oracle Applications system

• Identify the version of Oracle Applications files

• Determine long-running scripts and potential problem areas when running AD utilities that utilize parallel workers

Page 17: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 17

Module Discussion

• In what types of situations might AD Configuration be useful?

• How can the AD Job Timing Report assist you in reducing system downtime?

Page 18: R12 d49656 gc10-apps dba 18

Copyright © 2007, Oracle. All rights reserved.1 - 18

Module Practice

• Running AD Configuration

• Reviewing the AD Job Timing Report