× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tomconrad reported 2017-08-21T19:47:46Z  · last modified 2018-03-14T21:14:26Z

Oracle - Global temporary plan_table is not updated when attempting to use it for an explain.


PM
Priority Low
Complexity Unknown
Component Q Analyzer - Visual Explain Plan
Version Future

Since change #52547,  users are not able to use the global temporary plan_table because the explain statement now qualifies the plan_table with the current schema. In the case of the global temporary table, qualification is not necessary. Here is an example of how it is qualified:

EXPLAIN PLAN SET STATEMENT_ID = 'de8b07319c14ec249b4e-7' INTO DB_LEFT1.plan_table FOR SELECT * FROM DB_LEFT1.TBL01

This is how it should look:

EXPLAIN PLAN SET STATEMENT_ID = 'de8b07319c14ec249b4e-7' INTO plan_table FOR SELECT * FROM DB_LEFT1.TBL01

This not only affects the explain but affects the extraction and deletion of explain data from the global temporary plan_table.

 

The user sees the following messages:

Failed to execute EXPLAIN plan: ORA-02404: specified plan table not found
Describe Error: Failed to retrieve EXPLAIN plan: ORA-00942: table or view does not exist
Describe Error: Failed to DELETE EXPLAIN plan table data: ORA-00942: table or view does not exist

 

1 attachment

Issue #15444

New
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017