How to Combine Multiple Raw SQL Trace Files(.trc) and Create a Single TKPROF'ed File

(Doc ID 2157558.1)

Last updated on JANUARY 05, 2017

Applies to:

Oracle Payroll - Version and later
Information in this document applies to any platform.


PYUGEN Payroll Processes(e.g. Payroll Run, QuickPay, BEE Batch Process..etc) can be run with multiple threads. When enabling SQL trace and run the program with multiple threads, multiple raw SQL trace files (.trc) are created for each threads(Parent and Child processes -Payroll Worker Process).

This document explains how to combine all the raw SQL trace files into a single raw SQL trace file, and create a single TKPROF'ed file. This is useful when finding the most expensive query in all threads for performance investigation.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms