Getting Explain Plan from Oracle Tables
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