ORA-1093 signalled during
来源:互联网 发布:淘宝客如何在微信推广 编辑:程序博客网 时间:2024/06/05 06:24
在进行主备库切换的时候alter里面出现了这个错误;
SQL> alter database commit to switchover to physical standby;
alter database commit to switchover to physical standby
*
ERROR at line 1:
ORA-01093: ALTER DATABASE CLOSE only permitted with no sessions connected
此时日志报错:
Active process 2382 user 'oracle' program 'oracle@oracle11g-std (TNS V1-V3)'
System State dumped to trace file /home/oracle/app/diag/rdbms/ora11standby/ora11/trace/ora11_ora_1908.trc
Errors in file /home/oracle/app/diag/rdbms/ora11standby/ora11/trace/ora11_ora_1908.trc:
Non critical error ORA-48113 caught while writing to trace file "/home/oracle/app/diag/rdbms/ora11standby/ora11/trace/ora11_ora_1908.trc"
Error message:
Writing to the above trace file is disabled for now on...
CLOSE: Active sessions prevent database close operation
ORA-1093 signalled during: alter database commit to switchover to physical standby...
知道是有活动回话还连接到数据库上
而且日志中已经说明是那个回话了
也可以使用一下的语句查询出来
SELECT SID, PROCESS, PROGRAM FROM V$SESSION
WHERE TYPE = 'USER'
AND SID <> (SELECT DISTINCT SID FROM V$MYSTAT);
解决办法就是:
关闭回话,或者是在alter后面加上with session shutdown
- ORA-1093 signalled during
- ORA-959 signalled during: drop tablespace
- ORA-1122 signalled during: alter database open 错误解决
- 刚装完的数据库报错 ORA-01102 ORA-1102 signalled during....
- 刚装完的数据库报错 ORA-01102 ORA-1102 signalled during....
- RAC 实例不能启动 ORA-1589 signalled during ALTER DATABASE OPEN
- RAC 实例不能启动 ORA-1589 signalled during ALTER DATABASE OPEN
- ORA-01722: invalid number" During Upgrade/Downgrade
- Oracle ORA-04045 errors during recompilation/revalidation
- ORA-31613 Master process DM00 failed during startup
- ORA-19906: recovery target incarnation changed during recovery
- RMAN-06820 ORA-17629 During Backup at Standby Site
- ORA-55507: Encountered mining error during Flashback Transaction Backout
- ORA-06576 error during Drop User (文档 ID 1498610.1)
- Impdp Fails with ORA-39126 ORA-911 During Create Function (文档 ID 1254246.1)
- Resolving ORA-752 or ORA-600 [3020] During Standby Recovery (Doc ID 1265884.1)
- ORA-07445 [kksumc] And ORA-600 [17087] During Insert Into Table (文档 ID 580347.1)
- ORA-15077 PROC-26 CRSD Fails During CRS Startup on 11gR2 [ID 1152583.1]
- linux 页面的回收
- Windows Phone 开发资源汇总
- moodle 互动评价模块
- html打开窗口
- Android的各种滑动效果
- ORA-1093 signalled during
- Json 与 string 的相互转化
- MySQL的单表到底有多大?
- ubuntu在线升级到12.04无法启动: no such partition
- 如何在程序中动态设置墙纸
- java中的各种方法
- 对象数组
- 程序员表白
- CSS positon 属性总结