首页 | IT科技 | 外语学习 | 论文大全 | 设计学院 | 管理营销 | 健康频道 | 美食天下 | 财经股市 | 资讯下载 | 论坛 | 博客
IT首页 | 前沿 | 基础 | 接入 | 交换 | 路由 | 安全 | 存储 | 传输 | 数据库 | 网管 | 方案 | 建站 | 编程 | 技巧 | RFC |
 
您现在的位置: 中华学习网 >> IT >> 数据库 >> Oracle >> 文章正文
在Oracle9i中,如何监视索引并清除监视信息
it.no1edu.net 佚名 不详 2006-12-15【字体:


the Partitioning option
JServer Release 9.2.0.4.0 - Production

SQL> alter index SYS.I_OBJAUTH1 monitoring usage ;

Index altered.

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area 80811208 bytes
Fixed Size 451784 bytes
Variable Size 37748736 bytes
Database Buffers 41943040 bytes
Redo Buffers 667648 bytes
Database mounted.

 

此时,数据库挂起,而且不会有任何提示,在alert<sid>.log文件中,你可以看到:


[oracle@jumper bdump]$ tail -f alert_conner.log 
Completed: ALTER DATABASE MOUNT
Sat Dec 4 10:09:49 2004
ALTER DATABASE OPEN
Sat Dec 4 10:09:49 2004
LGWR: Primary database is in CLUSTER CONSISTENT mode
Thread 1 opened at log sequence 54
Current log# 2 seq# 54 mem# 0: /opt/oracle/oradata/conner/redo02.log
Successful open of redo thread 1.
Sat Dec 4 10:09:49 2004
SMON: enabling cache recovery
Sat Dec 4 10:10:33 2004
Restarting dead background process QMN0
QMN0 started with pid=9

然后数据库将会停在此处。

如果不知道此bug存在,你可能会一筹莫展的。

现在你能做的就是从备份中恢复,或者升级到9.2.0.5。

Oracle已经Release了这个Bug,你可以参考Metalink:Note:2934068.8,Oracle声明在9.2.0.5 (Server Patch Set)和 10g Production Base Release中fixed了这个Bug。


[oracle@jumper oradata]$ rm -rf conner
[oracle@jumper oradata]$ cp -R connerbak/ conner
[oracle@jumper oradata]$ sqlplus '/ as sysdba'

SQL*Plus: Release 9.2.0.4.0 - Production on Sat Dec 4 10:19:07 2004

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area 80811208 bytes
Fixed Size 451784 bytes

上一页  [1] [2] [3] [4] 下一页


 

文章录入:anycall    责任编辑:anycall 

  • 上一篇文章:

  • 下一篇文章:
  • 赞助商链接



    娱乐资讯推荐
    搜索您感兴趣的内容
    Google
     
    普通文章[组图]下一代思科服务器负载均衡(SLB)架构
    推荐文章logminer使用步骤二(分析DML操作)
    推荐文章如何消除Oracle数据库的安全隐患(1)
    推荐文章Oracle数据库的备份及恢复策略研究
    推荐文章Oracle 连接常见错误及解决方法
    推荐文章Oracle 存储过程返回结果集
    推荐文章Oracle 9.2.0.1在hpux下的安装过程
    推荐文章Oracle导出备份和导入恢复自动产生sql源代码
    推荐文章Oracle Pro*C/C++游标和存储过程性能测试报告
    推荐文章安装文档ORACLE9i for sun solaris
     
    (只显示最新10条。评论内容只代表网友观点,与本站立场无关!)