ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
SQL> alter database archivelog;alter database archivelog*ERROR at line 1:ORA-00265: instance recovery required, cannot set ARCHIVELOG mode从错误我们能够看到是由于datafile、controlfile、redolog中的scn号不一样导致无法开启归档,那么导致该问题的解决办法是由于我重新启动数据库到mount的时候采用的...
ORA-01184: logfile group 1 already exists
提示日志文件组存在SQL> alter database add logfile group 1 ('/u01/app/oracle/oradata/HU/redo01.log') size 50m;alter database add logfile group 1 ('/u01/app/oracle/oradata/HU/redo01.log') size 50m*ERROR at line 1:ORA-01184: logfile group 1 already existsSQL> ---查看但是没有[oracle@h...
ORACLE时间固定参数---FIXED_DATE
在Oracle数据库中正常执行select sysdate from dual都可以返回当前系统时间。正常的修改系统时间,对应的查询结果也会变成修改后的系统时间。数据库查询 select sysdate from dual 返回的时间和所在系统的主机时间相差很大,进一步排查发现返回的时间是固定不变的。最终发现是Oracle有参数可以使得sysdate一直返回固定的...
提示参数文件找不到
SQL> startup nomountORA-01078: failure in processing system parametersLRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initORA11GR2.ora'SQL> [oracle@ds dbs]$ lsinitDS.ora init.ora orapwDS[oracle@ds dbs]$ [oracle@ds dbs]$ mv initDS....
安装数据库起图形化
[root@san ~]# xhost + access control disabled, clients can connect from any host[root@san ~]# [root@san ~]# [root@san ~]# xclock[root@san ~]#
expdp
ORA-39001: invalid argument valueORA-39035: Data filter SUBQUERY has already been specified.说明query参数值写法有误,应该给双引号加上转义字符"\"query=/"'where deptno=30'";
Oracle RAC dbca 图形化建库出现 ASM密码错误
1;alter user asm identified by oracle ;
Oracle 11g RAC root.sh执行失败后再次执行root.sh
RAC在安装grid的时候,跑脚本由于不小心造成同时跑两个脚本,造成出错需要执行这条语句清除SRC配置信息[root@rac1 ~] /u01/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force 分别在两个节点都执行、注意的是执行的时候两个节点也要分开执行*这个适合Oracle 11g RAC 第二节点root.sh执行失败后再...
执行计划(SP2-0618\0611问题的解决)
对于初次查看执行计划的用户需要一个plustrace角色,否则就会报下面的错:SQL> set autotrace onSP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabledSP2-0611: Error enabling STATISTICS report------#解决这个问题需要跑个脚本(创...