You are on page 1of 7

8/29/13

Generate Trace File in Oracle Apps

Online Apps Techno Functional Training

Search

Home

Interview Questions

Scripts

User Guides

Videos

Images

Contact

About

Training

erpSchools

Trace File

Like

Articles, Sysadmin and AOL

Add comments
5,804 people like erpSchools.

Recommend

Be the first of your friends to recommend this.

The main use of enabling trace for a


concurrent program comes during
performance tuning.
By examining a trace file, we come to

F acebook social plugin

know which query/queries is/are taking


the longest
time to execute, there by letting us to
concentrate on tuning them in order to
improve the

Beginner Articles
Oracle Apps Application Short Names
Dependent Parameters in Concurrent
Program using Special Value Set

overall performance of the program.

FNDLOAD to transfer AOL Objects from


one instance to other

The following is an illustration of how to

Technical Terms in Oracle Apps explained

Enable and View a trace file for a

through real time example

Concurrent

SQL Loader Part 1

Program.

Categories

Navigation: Application

Alerts

Developer

Apps Beginners

>Concurrent>Program

Articles
Data Loader

erpschools.com/articles/trace-file

1/7

8/29/13

Generate Trace File in Oracle Apps

Discoverer
Financials
Forms
Fusion Middleware
General

Check the Enable

HRMS
iexpenses
Interview Questions
Manufacturing
OAF
Oracle Reports

Trace Check box.

Order Management

After that go to

Payables

that particular

Personalization

Responsibility and

Process Flows

run the

Purchasing

Concurrent

Receivables

Program.

Scripts
Shell Script
SQL Loader
Sysadmin and AOL
Tools
Workflow
XML Publisher

Check that the


Concurrent Program
has been completed
successfully.

The trace file by


default is post fixed
erpschools.com/articles/trace-file

2/7

8/29/13

Generate Trace File in Oracle Apps

with oracle
Process_id which
helps us to identify
which trace file
belongs to which
concurrent request.
The below SQL
Query returns the
process_id of the
concurrent request:

Select oracle_process_id from


fnd_concurrent_requests where
request_id=2768335
(This query displays Process Id)

Recommend

The path to the


trace file can be
erpschools.com/articles/trace-file

3/7

8/29/13

Generate Trace File in Oracle Apps

found by using the


below query:

SELECT * FROM V$PARAMETER WHERE


NAME=user_dump_dest
(This Query displays the path of trace
file)

The Trace File


generated will not be
in the readable
format. We have to
use TKPROF utility to
convert the file into
a readable format.

Run the below tkprof


command at the
command prompt.
erpschools.com/articles/trace-file

4/7

8/29/13

Generate Trace File in Oracle Apps

TKPROF < Trace File_Name.trc>


<Output_File_Name.out> SORT=fchela

A readable file will be generated from the


original trace file which can be further
analyzed to improve the performance.
This file has the information about the
parsing, execution and fetch times of
various queries used in the program.

Recommend

Be the first of your friends to recommend this.

Related Articles:
1. Email the output of a concurrent
program as Attachment
2. Payment batches in Payables
3. Delimited Report Output using
Report Builder
4. Get SQL for a concurrent request
id
5. BPEL Olite Database Connection

erpschools.com/articles/trace-file

5/7

8/29/13

Generate Trace File in Oracle Apps

admin
Posted by admin at 10:57 am
Tagged with: tkprof, trace

2 Responses to Trace File


1.

Mahesh says:
October 13, 2011 at 2:45 pm
I tried the same approach,but in my
case the process id is getting as
null.Please help me what i am doing
wrong

2.

Shiva says:
May 31, 2011 at 11:15 am
Thank you, it is great

Leave a Reply
Name
*

E-mail
*

URI

Your Comment

erpschools.com/articles/trace-file

6/7

8/29/13

Generate Trace File in Oracle Apps

You may use these HTML tags and attributes:


<a href="" title=""> <abbr title="">
<acronym title=""> <b> <blockquote
cite=""> <cite> <code class="" title=""
data-url=""> <del datetime=""> <em> <i>
<q cite=""> <strike> <strong> <pre
class="" title="" data-url=""> <span
class="" title="" data-url="">

Submit Comment

2011 erpSchools

erpschools.com/articles/trace-file

Suffusion theme by Sayontan Sinha

7/7

You might also like