1Z0-084 practice question 3 of 15

You must produce a consolidated formatted trace file by combining all trace files generated by all clients for a single service. Which combination of utilities does this?

Full set: 55 questions
Answer options
A: Trace Analyzer and Tracsess
B: Trcsess and TKPROF Correct answer
C: Autotrace and TKPROF
D: TKPROF and Trace Analyzer
Correct Answer:
B. Trcsess and TKPROF
Explanation

To produce a consolidated and formatted trace file for a single service, a two-step process involving two utilities is required. First, the trcsess utility is used to consolidate multiple raw trace files, generated by different client sessions connected to the same service, into a single output file. Second, the tkprof utility is used to format this consolidated raw trace file into a human-readable report, which can then be analyzed for performance tuning.

Why Incorrect

A. Trace Analyzer is a diagnostic tool for analyzing trace data, but tkprof is the standard utility for formatting the raw trace file itself.
C. Autotrace is a SQLPlus feature for displaying the execution plan and statistics for a single SQL statement, not for consolidating service-level trace files.
D. TKPROF formats trace files but does not consolidate them. Trace Analyzer is a separate diagnostic tool, not a consolidation utility.

References

1. Oracle Database Utilities 19c, Chapter 21 trcsess, "trcsess Command-Line Syntax and Parameters". The documentation states trcsess "consolidates trace information from selected trace files based on session ID, client ID, service ID, action ID, or module ID."

2. Oracle Database SQL Tuning Guide 19c, Chapter 10 SQL Trace and TKPROF, "Running TKPROF". The guide explains that tkprof "formats the contents of the trace file and places the output into a text file."

Scroll to Top