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 FEBRUARY 03, 2019
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 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