Una Consulta. ¿Existe alguna forma de saber todas las veces que se ha ejecutado un Procedure en la base de datos ORACLE?. Oracle 11G
Alguna tabla de Historial, Log, etc?
| |||
![]() Una Consulta. ¿Existe alguna forma de saber todas las veces que se ha ejecutado un Procedure en la base de datos ORACLE?. Oracle 11G Alguna tabla de Historial, Log, etc? |
| |||
Respuesta: Consulta de historial de ejecucion de Procedures See if you can find the procedure in v$sql (or v$sqlarea or v$sqlstats). There's the column "executions". If not, and if it's because the shared pool has been purged or the SQL simply was aged out, see if dba_hist_sqlstats has it. There's the column executions_total and executions_delta in that view. Otherwise, set up audit on the execution of the procedure. |
| ||||
Respuesta: Consulta de historial de ejecucion de Procedures Cita: Traducción aproximada:
Iniciado por yong321 ![]() See if you can find the procedure in v$sql (or v$sqlarea or v$sqlstats). There's the column "executions". If not, and if it's because the shared pool has been purged or the SQL simply was aged out, see if dba_hist_sqlstats has it. There's the column executions_total and executions_delta in that view. Otherwise, set up audit on the execution of the procedure. Cita: Por favor, @yong321: Repeta el idioma de Foros del Web (PDU 1.3) Mira si puedes encontrar el procedimiento en v$sql (o v$sqlarea, o en v$sqlstats). Hay una columna "executions". Sino, y es porque el pool compartido ha sido purgado o el SQL fue dado por obsoleto, mira si está en dba_hist_sqlstats. Allí están en la vista las columnas executions_total y executions_delta. Caso contrario, hay que configurar auditoría sobre ese procedure.
__________________ ¿A quién le enseñan sus aciertos?, si yo aprendo de mis errores constantemente... "El problema es la interfase silla-teclado." (Gillermo Luque) |
Etiquetas: |