miércoles, 5 de diciembre de 2012

Matar sesión que bloquea tablas en ORACLE

Para saber si hay tareas bloqueadas hay que ejecutar como SYSDBA

SELECT * FROM V$LOCKED_OBJECT V

Ahí podemos ver el Session_ID que está bloqueando. Necesitaremos también saber el serial del SID

SELECT SERIAL# FROM V$SESSION WHERE SID = NUMERO DE SID

Con estos datos ya podemos matar la sessión

ALTER SYSTEM KILL SESSION '#SID, #SERIAL'

2 comentarios:

  1. The Dream Casino site - Lucky Club
    The Dream casino site · A unique way to make money at home. luckyclub.live · The Dream Casino · The Dream Casino – Best In Slots · The Dream Casino – Best Welcome

    ResponderEliminar
  2. Casino City - Mapyro
    Find the best 거제 출장샵 casino city in San Francisco, CA and 10000000 김제 출장샵 other 경상북도 출장마사지 hotel and destination attractions. -. The iconic 포항 출장샵 M life Casino, located just 영천 출장안마 east of downtown San Francisco,

    ResponderEliminar