My Oracle Support Banner

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

Last updated on MAY 06, 2024

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.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.