Mysql:ERROR 1045 (28000): Access denied for user 'root'@'localhost'
1、登陆mysql时报如下错误:C:\Users\Administrator>mysql -uroot -pEnter password: ******ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)2、停止mysql服务net stop mysql5----由于服务名是mysql53、修改my.ini文件在安装路径下找到my.ini文件,我的是E:\Program Files\MyS...
单实例恢复至RAC
环境介绍单实例 RAC数据库OEL+Oracle 11.2.0.3 OEL+Oracle 11.2.0.31、备份单实例数据库run {backup as compressed backup...
利用hanganalyz/systemstate dump诊断数据库hang
诊断数据库是否hang一般采用两个命令:hanganalyze/dump systemstate,其中systemstate级别大于256时会对每个进程进行dump,当数据库进程太多时会比较消耗资源,尤其在非solaris/linux平台 ...
Wait event:read by other session
Read by other sessionThis event occurs when a session requests a buffer that is currently being read into the buffer cache by another session. Prior to release 10.1, waits for this event were grouped with the other reasons for waiting for buffers under the 'buffer busy wait' event这个等待事件是...
Oracle 11gR2密码区分大小写
1.查看数据库版本SYS@jzh>select * from v$version;BANNER--------------------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit ProductionPL/SQL Release 11.2.0.1.0 - ProductionCORE 11.2.0.1.0 &...
ORA-03137: TTC protocol internal error : [12333] [7] [120] [115] [] [] [] []
某客户数据库日志报ORA-03137: TTC protocol internal error : [12333] [7] [120] [115] [] [] [] []错误1.环境介绍:Oracle 11.2.0.1 64-bitMicrosoftWindows x86 64-bit2.alert日志文件内容Dump file c:\app\administrator\diag\rdbms\jzh\jzh\incident\incdir_360956\bpmes_ora_5344_i360956.trcOracle Database ...
11.2.0.4 rac on redhat 6.5 libcap.so.1: cannot open shared object file
今天在安装Oracle 11.2.0.4 RAC时执行root.sh脚本遇到报错,OS是RedHat 6.5 64位,错误内容如下:# /u01/app/11.2.0/grid/product/11.2.0/db_1/root.shPerforming root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACL...
Oracle 12c启用inmemory特性
一、为数据库启用IM column store,需要完成以下步骤:1、数据库版本需12.1.0.2以上;2、设置INMEMORY_SIZE初始化参数为非0值(最小要求100M);3、重启数据库;二、检查数据库哪些对象使用了inmemory,使用如下语句:SELECT OWNER, SEGMENT_NAME, INMEMORY_PRIORITY, INMEMORY_COMPRESSION FROM V$IM_SEGMENTS;三、查看...
回退11.2.0.3.12 PSU补丁
1、停止节点DB(oracle用户两节点执行)[oracle@jzh1 ~]$ $ORACLE_HOME/bin/srvctl stop home -o $ORACLE_HOME -s /home/oracle/state_file_rollback.txt -n jzh1[oracle@jzh2 ~]$ $ORACLE_HOME/bin/srvctl stop home -o $ORACLE_HOME -s /home/oracle/state_file_rollback.txt -n jzh22、停止crs集群(root用户执行,两节...
11.2.0.1.7 手动升级 11.2.0.3.12
1、查询当前grid infrastructure与rdbms OPatch版本(两节点执行)[grid@jzh1 ~]$ $ORACLE_HOME/OPatch/opatch versionInvoking OPatch 11.2.0.1.7OPatch Version: 11.2.0.1.7OPatch succeeded.[grid@jzh1 ~]$ su - oraclePassword: [oracle@jzh1 ~]$ $ORACLE_HOME/OPatch/opatch versionInvoking OPatch 11.2...
Oracle RAC 手动升级 11.2.0.3.4
Oracle RAC 11.2.0.3.2 手动升级 11.2.0.3.4操作系统:RHEL6.2 64bitOracle Database 版本:11.2.0.3.2Oracle Grid 版本:11.2.0.3.2说明:文章包括升级准备,升级操作,回退操作(可回退到11.2.0.3.2)升级准备查询两个节点grid opatch版本(Opatch版本...
【Oracle】数据库hang 诊断
一 什么是数据库hang 1 用户不能登录数据库2 数据库不能正常工作3 select 1 from dual 不出结果4 不能正常完成建表操作二 数据库被锁住 1 一个或多个会话停止工作三 如果得知数据库hang 或者...
Oracle 11gR2 RAC修改SCAN IP地址
1、环境介绍Oracle 11gR2 RAC 64bitOracle Enterprise Linux 5.7 64bit2、/etc/hosts内容192.168.1.201 jzh1.oracle.com jzh1192.168.1.203 jzh2.oracle.com jzh210.10.10.201 jzh1-priv10.10.10.203 jzh2-priv192.168.1.202 jzh1-vip192.168.1.204 jzh2-vip192.168.1.205 jzh-cluster jzh-cluste...
DRM引起的问题解决一例
客户一套运行在Oracle 10.2.0.5 RAC上的系统,间歇性地出现性能问题。其性能现象为前台反映性能缓慢,从系统上看CPU利用率大幅增加,load增加。这种性能问题通常在出现几分钟后自动恢复正常。从AWR中的TOP 5等待来看:Top 5 Timed Events &n...
RAC转换至RAC One Node
1、删除RAC中其他实例,保证RAC中只有一个实例$ su - oracle$ srvctl config database -d jzhDatabase unique name: jzhDatabase name: jzhOracle home: /u01/app/oracle/product/11.2.0/db_1Oracle user: oracleSpfile: +DATA/jzh/spfilejzh.oraDomain: Start options: openStop options: immediateDatab...
Oracle 11g RAC One node 安装与配置
一、RAC One Node介绍1、rac one node数据库可以转换成RAC数据库,转换过程可以在线,无需停止RAC one node数据库; 2、rac one node可以创建多个rac onde node数据库运行在不同的节点上;3、当运行节点需要维护,如打patch,可以手动切换(relocate)使用online database relocate,减少业务中断时间;4、rac one ...
ORA-28 : opiodr aborting process unknown ospid
一、错误现象:客户数据库alert日志报大量的ORA-28 : opiodr aborting process unknown ospid错误Thu Jan 01 18:33:35 2015ORA-28 : opiodr aborting process unknown ospid (23462530_1)Thu Jan 01 18:33:35 2015ORA-28 : opiodr aborting process unknown ospid (2818806_1)二、客户环境介绍:Oracle DB version:...
crsctl replace 手动添加votedisk
数据库版本:11.2.0.3操作系统版本:OEL 5.7注:当 votedisk 位于 ASM 磁盘组,没有添加选项。Votedisk 数量是由磁盘组冗余度决定。如果希望更多 votedisk 副本,可以移动 votedisk 到更高冗余度的磁盘组1.查询当前VOTE DISKroot@jzh1 bin]# ./crsctl query css votedisk## STATE File Universal ...
Oracle 12c OEM Cloud Control AGENT 安装
NOTE:OMS12c(12.1)只能和12.1的agent代理配合工作,而不能使用之前的任何版agent. “Enterprise Manager Cloud Control can communicateonly with Oracle Management Agent 12c and not with any other earlier release ofthe Management Agent. You can not configure your exising Agents to communicatewith Enter...
Oracle 12c OEM Cloud Control OMS安装
一、硬件要求安装Enterprise Manager Cloud Control 12c的硬件要求如以下列表,要求至少4G内存:Targets,