ORA-942 TKPROF Output does not Show Execution Plan
(Doc ID 454976.1)
Last updated on MARCH 27, 2019
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 10.2.0.3 [Release 10.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
This problem can occur on any platform.
After running TKPROF on a trace file, using the EXPLAIN=<username>/<password> parameter in the command line, the output generated by TKPROF does not show the execution plan for any of the SQL statements, unless the username specified in the EXPLAIN parameter corresponds to the schema under which the SQL was executed.
This is the error message we get in the TKPROF output instead of the execution plans :
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