The video demonstrates how to use TKPROF through a series of steps:
Identify the default trace file location (3:01).
Enable SQL tracing for a session (4:14).
Execute the SQL statement you want to analyze (4:32).
Disable SQL tracing (4:48).
Convert the raw, unreadable trace file into a human-readable format using the tkprof utility, generating an output file (5:33).
Analyze the TKPROF output file, which shows detailed performance metrics like parse/execute/fetch counts, CPU/elapsed time, and I/O operations (6:17). The video also explains how to read sections like optimizer mode, execution plan summary, I/O operations, and the plan section (7:45, 8:33, 9:46, 10:29).
The video concludes by summarizing the analysis of a sample query, highlighting that the query was already optimized due to index usage and efficient I/O, though suggesting the use of bind variables to improve cache hits (12:16).
Download
0 formats
No download links available.
Oracle TKPROF Introduction and DEMO #oracle #plsql -#trending | NatokHD