上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 58 下一页
摘要: 一. Shell 文字操作系统与外部最主要的接口就叫做shell。shell是操作系统最外面的一层。shell管理你与操作系统之间的交互:等待你输入,向操作系统解释你的输入,并且处理各种各样的操作系统的输出结果。 shell提供了你与操作系统之间通讯的方式。这种通讯可以以交互方式(从键盘输入,并且可以立即得到响应),或者以shell script(非交互)方式执行。shell script是放在文件中的一串shell和操作系统命令,它们可以被重复使用。本质上,shell script是命令行命令简单的组合到一个文件里面。 Shell基本上是一个命令解释器,类似于DOS下的command... 阅读全文
posted @ 2010-10-19 11:31 hibernate例子 阅读(216) 评论(0) 推荐(0) 编辑
摘要: DBA 群里朋友的RAC 环境的ONS 进程无法启动。 平台是Redhat 5.3 64bit的。 Ons log 如下:2010-10-18 09:42:11.384: [RACG][3041022624] [16815][3041022624][ora.rac1.ons]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/oracle/product/10.2.0/crs_12010-10-18 09:42:11.384: [RACG][3041022624] [16815][3041022624][ora.rac1.ons]: clsrcexecut: 阅读全文
posted @ 2010-10-18 15:21 hibernate例子 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 上午和DBA 1群的王海讨论了下 索引和 表的关系,他说从网上看到索引比表大。 一般情况下,索引应该是比表小的。google 一下,看到了warehouse大哥的一篇blog,里面有个测试,例子中的索引确实比表大。 Oracle 索引的维护http://blog.csdn.net/tianlesoftware/archive/2010/07/11/5680706.aspx先看一段官网的说明:14.1.7 Re-creating IndexesYou might want to re-create an index to compact it and minimize fragmented sp 阅读全文
posted @ 2010-10-18 14:17 hibernate例子 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 将Oracle 升级到9.2.0.8. 刚才查看无效对象,发现有几个ODCxx 开头的无效对象。 查看Oracle,说是9.2.0.8 以后的版本中,不知道的原因导致这些对象无效,这些对象在Oracle 10.2 以后的版本中已经删除掉了。 所以可以忽略这些无效对象。 SQL> select object_type,owner,object_name from all_objects where status='INVALID' and owner='SYS';OBJECT_TYPE OWNER OBJECT_NAME------------------ 阅读全文
posted @ 2010-10-14 14:46 hibernate例子 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 检查Data Guard 主库,发现log有如下信息:Wed Oct 13 17:05:11 2010RFS: Possible network disconnect with primary databaseRFS: Destination database mount ID mismatch [0x4b1b0155:0x4b1b40c1]RFS: client instance is standby database instead of primaryRFS: Not using real application clusters查看备库,也有相关信息: KUP-04021: field 阅读全文
posted @ 2010-10-13 17:35 hibernate例子 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 13号,晚上加班,将2台数据库从9.2.0.6 升级到9.2.0.8. 因为之前有个小bug,9.2.0.6 的DataGuard中会经常不能识别备库的监听,造成Data Guard不能同步。Oracle 的升级包,path什么的,需要从metalink上下载,这个是Oralce的收费帐号,只有买了Oralcle的产品才有。 Oracle 的升级包里有readme.html文件,该文件里有升级的执行步骤,对于单实例,照上面的步骤操作就可以了。 这次升级是一个Data Guard 环境,所以要多几步操作。 关于Data Guard 环境下的Data Guard 升级,参考Blog: Oracle 阅读全文
posted @ 2010-10-13 16:53 hibernate例子 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 因为公司9.2.0.6 版本的Oracle 在Data Guard 环境下有个小bug,所以决定对Oracle 进行升级,从9.2.0.6 升级到9.2.0.8. 因为Data Guard环境的特殊,主库我们可以按照正常的方式进行升级即可,但是备库却会遇到问题。 因为备库我们我们都是启动到mount standby 模式,在升级实例的过程中,需要执行相关脚本, 需要在startup migrate 模式下进行, 但是standby 是无法启动到这种模式的,因为它是备库,它的控制文件是standby control file。 Oracle 联机文档上说的升级方法,看了下,有点麻烦,不想这么.. 阅读全文
posted @ 2010-10-13 16:01 hibernate例子 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 在将数据库从9.2.0.6 升级到 9.2.0.8 的过程中,执行utlrp.sql 脚本时,遇到了Oracle 的一个bug。 Oracle 的说法是:Oracle Server - Enterprise Edition - Version: 9.2.0.8 and later[Release: 9.2 and later ]Information in this document applies to any platform. This is cause by internal bug 3017048 fixed in 10.1.0.2.Oracle 9.2以后的版本都有这个bug,直到 阅读全文
posted @ 2010-10-13 08:43 hibernate例子 阅读(194) 评论(0) 推荐(0) 编辑
摘要: MOS:Information On Installed Database Components and Schemas [ID 472937.1]Oracle 组件可以用如下SQL 进行查看: SQL> select comp_id,comp_name, version, status from dba_registry;In this DocumentGoalSolution1. JServer JAVA Virtual Machine 2. OLAP Catalog, OLAP Analytic Workspace, Oracle OLAP API3. Oracle Data Mi 阅读全文
posted @ 2010-10-13 08:19 hibernate例子 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 将Oracle 数据库从9.2.0.6 升级到9.2.0.8, 升级结束后,查看组件的信息,OLAP Catalog 无效,然后又重新执行了一遍脚本,还是无效。SQL> select comp_id,comp_name, version, status from dba_registry;COMP_ID COMP_NAME VERSION STATUS--------------- -------------------- ------------------------------ -----------CATALOG Oracle9i Catalog Vie 9.2.0.8.0 VA 阅读全文
posted @ 2010-10-13 08:02 hibernate例子 阅读(412) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 58 下一页