文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>存储过程被锁无法编译的解决

存储过程被锁无法编译的解决

时间:2010-09-15  来源:Jackychen83

存储过程被锁无法编译的解决 select distinct s1.* from V$DB_OBJECT_CACHE   oc,   v$object_dependency od,   dba_kgllock         w,   v$session           s1   where oc.name = 'P_SPS_INTERFACE'   and od.TO_OWNER   = oc.OWNER   and od.TO_NAME    = oc.NAME   and od.TO_ADDRESS = w.kgllkhdl   and w.kgllkuse = s1.SADDR;  得到锁定存储过程的进程PADDR

  select spid from v$process p where p.addr=(PADDR值)

  kill -8 spid

  杀掉这些进程就可以解锁

  select distinct s1.* from V$DB_OBJECT_CACHE   oc,

  v$object_dependency od,

  dba_kgllock         w,

  v$session           s1

  where oc.name = 'P_SPS_INTERFACE'

  and od.TO_OWNER   = oc.OWNER

  and od.TO_NAME    = oc.NAME

  and od.TO_ADDRESS = w.kgllkhdl

  and w.kgllkuse = s1.SADDR;

  得到锁定存储过程的进程PADDR

  select spid from v$process p where p.addr=(PADDR值)

  kill -8 spid

  杀掉这些进程就可以解锁

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载