SlideShare a Scribd company logo
Source –http://appsdba.info
1
Concurrent Program Tracing in R12
CASE 1 : Concurrent Program Tracing without bind variables
1) Follow the following navigation to enable logging for conc prog
Goto Sysadmin > Concurrent > Program > Define
Query the concurrent program
Check the trace box to enable trace
2) Execute the concurrent program and note down the request id
CASE 2: Concurrent Program Tracing with bind variables and waits
1) Note down the following values
SELECT value FROM v$parameter WHERE name = „max_dump_file_size‟;
SELECT value FROM v$parameter WHERE name = „timed_statistics‟;
2) Execute the following commands as sysdba
ALTER SYSTEM SET max_dump_file_size = unlimited;
ALTER SYSTEM SET timed_statistics = true;
ALTER SYSTEM SET EVENTS ‟10046 trace name context forever, level 12′;
3) Execute the concurrent program and note down the request id
4) Turn off tracing the reset the values
ALTER SYSTEM SET EVENTS ‟10046 trace name context off‟;
ALTER SYSTEM SET max_dump_file_size = <value from step 1>;
ALTER SYSTEM SET timed_statistics = <value from step 1>;
Source –http://appsdba.info
2
CASE 3: Enabling the trace for a concurrent request for which you donot have
privileges to run the concurrent Request.
1) Ask the person who is privileged to run the concurrent program and get the
request id ‘xxxxx’
2) Get the oracle_process_id for that concurrent request.
SQL>select request_id,oracle_process_id from fnd_concurrent_requests where
request_id in („xxxxxxx‟);
3) Now get the session details ( SID and Serial ) using value obtained from step 2
col “SID/SERIAL” format a10
col username format a15
col osuser format a15
col program format a40
select s.sid || „,‟ || s.serial# “SID/SERIAL”
, s.username
, s.osuser
, s.status
, p.spid “OS PID”
, s.inst_id
, s.module
from sys.gv_$session s
, sys.gv_$process p
Where s.paddr = p.addr
and s.inst_id = p.inst_id
and p.spid=&value_from_step2
order by to_number(p.spid);
4) Execute the following command to enable the trace :
SQL> EXECUTE dbms_support.start_trace_in_session
(&SID,&SERIAL,binds=>true,waits=>true);
5) Collect the trace from udump location and investigate the issue.
We can follow the Metalink Note: 296559.1 to know more about tracing.

More Related Content

PDF
Oracle Concurrent Program Setup document
DOC
PPT
R12 d49656 gc10-apps dba 10
PPT
Chapter09
PPT
R12 d49656 gc10-apps dba 18
PPT
R12 d49656 gc10-apps dba 05
PPT
R12 d49656 gc10-apps dba 06
PDF
Testing File
Oracle Concurrent Program Setup document
R12 d49656 gc10-apps dba 10
Chapter09
R12 d49656 gc10-apps dba 18
R12 d49656 gc10-apps dba 05
R12 d49656 gc10-apps dba 06
Testing File

What's hot (20)

PPT
R12 d49656 gc10-apps dba 11
DOCX
Oracle sql loader utility
DOCX
Sql loader good example
PPTX
Basic of oracle application Login steps
PPT
R12 d49656 gc10-apps dba 02
DOCX
pega training whatsup@8142976573
PPT
R12 d49656 gc10-apps dba 26
PPT
R12 d49656 gc10-apps dba 15
PPT
R12 d49656 gc10-apps dba 12
PPT
R12 d49656 gc10-apps dba 19
PPTX
SAP ABAP Practice exam
PPT
R12 d49656 gc10-apps dba 00
PDF
Basic Oracle Usage v1
PPT
R12 d49656 gc10-apps dba 09
PDF
Oracle Form material
PPT
R12 d49656 gc10-apps dba 27
DOC
Plsql
PPT
Maximizing SAP ABAP Performance
PPTX
Top 10 sap abap faqs-www.bigclasses.com
PPT
R12 d49656 gc10-apps dba 13
R12 d49656 gc10-apps dba 11
Oracle sql loader utility
Sql loader good example
Basic of oracle application Login steps
R12 d49656 gc10-apps dba 02
pega training whatsup@8142976573
R12 d49656 gc10-apps dba 26
R12 d49656 gc10-apps dba 15
R12 d49656 gc10-apps dba 12
R12 d49656 gc10-apps dba 19
SAP ABAP Practice exam
R12 d49656 gc10-apps dba 00
Basic Oracle Usage v1
R12 d49656 gc10-apps dba 09
Oracle Form material
R12 d49656 gc10-apps dba 27
Plsql
Maximizing SAP ABAP Performance
Top 10 sap abap faqs-www.bigclasses.com
R12 d49656 gc10-apps dba 13
Ad

Viewers also liked (6)

PPTX
Concurrent Processing Performance Analysis for Apps DBAs
PPTX
OBIEE - Introduction & building reports
DOC
PPT
Building Oracle BIEE (OBIEE) Reports, Dashboards
PDF
12 verb tenses in English grammar with examples 12 English tenses PDF
PPT
PROGRAMACION CONCURRENTE
Concurrent Processing Performance Analysis for Apps DBAs
OBIEE - Introduction & building reports
Building Oracle BIEE (OBIEE) Reports, Dashboards
12 verb tenses in English grammar with examples 12 English tenses PDF
PROGRAMACION CONCURRENTE
Ad

Similar to EBS R12 Concurrent program tracing (20)

PDF
SQL Tracing
PDF
Performance
PDF
2013 Collaborate - OAUG - Presentation
PPTX
Data Tracking: On the Hunt for Information about Your Database
PDF
Profiling of Oracle Function Calls
PDF
Performance tuning a quick intoduction
PDF
Profiling Oracle with GDB
PDF
Innovative Specifications for Better Performance Logging and Monitoring
PDF
Ebs dba con4696_pdf_4696_0001
PDF
Continuous Database Monitoring with the Trace API
PPTX
Understanding SQL Trace, TKPROF and Execution Plan for beginners
TXT
Sql q to find out on requests
PDF
Lost without a trace
PDF
Usertracing
PPTX
The History of Tracing Oracle with Cary Millsap
PDF
Tibero sql execution plan guide en
PPTX
Dot Net Application Monitoring
PPT
Oracle Tracing
PDF
Ebs performance tuning session feb 13 2013---Presented by Oracle
SQL Tracing
Performance
2013 Collaborate - OAUG - Presentation
Data Tracking: On the Hunt for Information about Your Database
Profiling of Oracle Function Calls
Performance tuning a quick intoduction
Profiling Oracle with GDB
Innovative Specifications for Better Performance Logging and Monitoring
Ebs dba con4696_pdf_4696_0001
Continuous Database Monitoring with the Trace API
Understanding SQL Trace, TKPROF and Execution Plan for beginners
Sql q to find out on requests
Lost without a trace
Usertracing
The History of Tracing Oracle with Cary Millsap
Tibero sql execution plan guide en
Dot Net Application Monitoring
Oracle Tracing
Ebs performance tuning session feb 13 2013---Presented by Oracle

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPT
Teaching material agriculture food technology
PDF
KodekX | Application Modernization Development
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Machine learning based COVID-19 study performance prediction
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
cuic standard and advanced reporting.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Approach and Philosophy of On baking technology
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
The Rise and Fall of 3GPP – Time for a Sabbatical?
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Teaching material agriculture food technology
KodekX | Application Modernization Development
Mobile App Security Testing_ A Comprehensive Guide.pdf
Spectroscopy.pptx food analysis technology
Spectral efficient network and resource selection model in 5G networks
Programs and apps: productivity, graphics, security and other tools
Machine learning based COVID-19 study performance prediction
Per capita expenditure prediction using model stacking based on satellite ima...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
cuic standard and advanced reporting.pdf
Encapsulation_ Review paper, used for researhc scholars
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Approach and Philosophy of On baking technology
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Diabetes mellitus diagnosis method based random forest with bat algorithm
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx

EBS R12 Concurrent program tracing

  • 1. Source –http://appsdba.info 1 Concurrent Program Tracing in R12 CASE 1 : Concurrent Program Tracing without bind variables 1) Follow the following navigation to enable logging for conc prog Goto Sysadmin > Concurrent > Program > Define Query the concurrent program Check the trace box to enable trace 2) Execute the concurrent program and note down the request id CASE 2: Concurrent Program Tracing with bind variables and waits 1) Note down the following values SELECT value FROM v$parameter WHERE name = „max_dump_file_size‟; SELECT value FROM v$parameter WHERE name = „timed_statistics‟; 2) Execute the following commands as sysdba ALTER SYSTEM SET max_dump_file_size = unlimited; ALTER SYSTEM SET timed_statistics = true; ALTER SYSTEM SET EVENTS ‟10046 trace name context forever, level 12′; 3) Execute the concurrent program and note down the request id 4) Turn off tracing the reset the values ALTER SYSTEM SET EVENTS ‟10046 trace name context off‟; ALTER SYSTEM SET max_dump_file_size = <value from step 1>; ALTER SYSTEM SET timed_statistics = <value from step 1>;
  • 2. Source –http://appsdba.info 2 CASE 3: Enabling the trace for a concurrent request for which you donot have privileges to run the concurrent Request. 1) Ask the person who is privileged to run the concurrent program and get the request id ‘xxxxx’ 2) Get the oracle_process_id for that concurrent request. SQL>select request_id,oracle_process_id from fnd_concurrent_requests where request_id in („xxxxxxx‟); 3) Now get the session details ( SID and Serial ) using value obtained from step 2 col “SID/SERIAL” format a10 col username format a15 col osuser format a15 col program format a40 select s.sid || „,‟ || s.serial# “SID/SERIAL” , s.username , s.osuser , s.status , p.spid “OS PID” , s.inst_id , s.module from sys.gv_$session s , sys.gv_$process p Where s.paddr = p.addr and s.inst_id = p.inst_id and p.spid=&value_from_step2 order by to_number(p.spid); 4) Execute the following command to enable the trace : SQL> EXECUTE dbms_support.start_trace_in_session (&SID,&SERIAL,binds=>true,waits=>true); 5) Collect the trace from udump location and investigate the issue. We can follow the Metalink Note: 296559.1 to know more about tracing.