SQL Performance (MOSC)

MOSC Banner

Getting Explain Plan from Oracle Tables

edited Jan 14, 2015 1:52PM in SQL Performance (MOSC) 2 commentsAnswered

Hi,

Using ADDM I got the SQLID of the SQL statements I need to tune.

I need to get the Explain Plan.

I know that executing each statement one by one I can get the Explain Plan (using CTRL+E in Toad or with SET AUTOTRACE ON EXPLAIN) but I don´t have the bind variables values and the cursor_sharing is set to FORCE so I have something like this:

(SELECT A.ID_DIV, A.ID_RANGO, A.RANGO_INI, A.RANGO_FIN, A.ENCARGADO, 

         C.NOMBRE || :"SYS_B_0" || C.APE_PATERNO || :"SYS_B_1" ||

         C.APE_MATERNO AS NOMBRE FROM RIS_001_C_ENCARGADO_TIEMPOS A, BV_USER2

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center