Information for EXPLAIN PLAN FOR on CREATE TABLE AS SELECT (CTAS) Statements is not Recorded in V$SQL and V$SQLAREA
(Doc ID 1963444.1)
Last updated on MARCH 28, 2019
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
- When an EXPLAIN PLAN FOR is executed against a CREATE TABLE AS SELECT (CTAS) query, the sql statement is not recorded in v$SQL or v$SQLAREA. This is illustrated in the following example :
- If the CREATE TABLE AS SELECT (CTAS) query is run without EXPLAIN PLAN FOR, then rows are returned.
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