My Oracle Support Banner

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 to [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

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