My Oracle Support Banner

"SET AUTOTRACE ON" Not Showing Executing Plan. Error: cannot fetch plan for statement_id 'PLUS5443586' (Doc ID 1321211.1)

Last updated on JANUARY 18, 2024

Applies to:

SQL*Plus - Version 11.2.0.2 and later
Oracle Database - Enterprise Edition - Version 11.2.0.2.0 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Information in this document applies to any platform.

Symptoms

When executing "alter session set current_schema" and then "set autotrace on" there is an error for the execution plan.

Example

 

Changes

Database was upgraded from 9i to 11g.  It was working fine in 9i.

Cause

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
Symptoms
Changes
Cause
Solution
References


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