oracle 问题集
文章平均质量分 61
悠悠m
资深DBA, 多年oracle,mysql,sqlserver,postgresql运维,架构,调优经验。
展开
-
ORA-01102: cannot mount database in EXCLUSIVE mode
因为一个或多个实例对应一个数据库原创 2013-09-13 10:37:56 · 536 阅读 · 0 评论 -
PL/SQL database character set(AL32UTF8) and Client character set(ZHS16GBK) are different
启动PL/SQL Developer 报字符编码不一致错误Database character set (AL32UTF8) and Client character set (ZHS16GBK) are different.Character set conversion may cause unexpected results.Note: you can set the c原创 2013-12-25 13:52:38 · 785 阅读 · 0 评论 -
11gR2修改主机名导致CRS-0184以及CRS-4000的错误
我们通常都说,在部署Oracle数据库服务器前,要规划好主机名、IP地址等基础信息,一经确定,尤其是部署好Oracle数据库之后,就不要轻易修改主机名或者是IP地址等。而且我们也都知道这个理儿,但可是,可但是,在实际工作当中,你难免不会遇到这种情况。除了自己前不久曾遭遇到的一则,在Windows Server 2008 R2 X64上跑的一套10.2.0.5.0配置有ASM单实例物理备库因原创 2013-11-29 17:51:41 · 1032 阅读 · 0 评论 -
rlwrap安装报错 You need the GNU readline library(ftp://ftp.gnu.org/gnu/readline/ ) to build this program
言:首先大家肯定知道rlwrap是干什么的,不过我还是重复一下, 在linux以及unix中,sqlplus的上下左右、回退无法使用,会出现乱码情况。 而rlwrap这个软件就是用来解决这个的。如果有不了解的,可以微博私信,或者baidu。:)==========================================================原创 2013-11-27 17:42:26 · 1172 阅读 · 0 评论 -
初识/dev/shm & oracle
下面作了个小整理:(1)什么是/dev/shm它就是所谓的tmpfs,从名字可以看出是一个临时的文件系统,有人说跟ramdisk(虚拟磁盘),但不一样。使用/dev/shm的好处就是读取数据相当快,因为典型的 tmpfs 文件系统会完全驻留在 RAM 中,读写几乎可以是瞬间的。同时,要注意的是,在/dev/shm中的文件在系统重启后会被清除掉。tmpfs默认大小一般为物理内原创 2013-11-26 15:08:11 · 2478 阅读 · 0 评论 -
ORA-38856: Cannot mark instance UNNAMED_INSTANCE_2 (redo thread 2) as enabled
ORA-38856: Cannot mark instance UNNAMED_INSTANCE_2 (redo thread 2) as enabledExample:In the example below the error Occurred while performing an open resetlogs on a 10.2.0.3 Oracle Single In原创 2013-11-25 17:56:16 · 985 阅读 · 0 评论 -
物理dg failover 后 system01.dbf 不一致
ORA-16004: backup database requires recoveryORA-01190: control file or data file 1 is from before the last RESETLOGSORA-01110: data file 1: '/u01/app/oracle/oradata/orcl_1/system01.dbf'1.sel原创 2013-11-25 15:33:05 · 1542 阅读 · 0 评论 -
解决Oracle数据库日志文件丢失恢复问题
一.丢失inactive日志文件组的恢复: 由于inactive日志文件组表示已经完成了检查点(dirty数据已经被写入数据文件)。数据库本身不会发生数据库丢失,如果在这个时候相应的redo丢失/损坏,可以通过clear重建日志文件组恢复。 通过命令: alter database clear logfile group n 如果数据库模式是archived原创 2013-11-25 13:36:47 · 1526 阅读 · 0 评论 -
10g Data Guard physical standby的Bug 5526409(Fail to queue the whole FAL gap)
用duplicate創建完成physical standby之後,在standby上使用alter database recover managed standby database disconnect from session正準備同步日誌時,主庫與備庫的alert日誌中均出現以下:primary-----------------------------------------原创 2013-11-11 00:43:04 · 1360 阅读 · 0 评论 -
ORA-01552: cannot use system rollback segment for non-system tablespace 'USERS'
ames@JILL>create table test(x int);create table test(x int)*ERROR at line 1:ORA-01552: cannot use system rollback segment for non-system tablespace 'USERS'james@JILL>show parameters rollba原创 2013-11-10 22:51:14 · 989 阅读 · 0 评论 -
fal 失败 无法读取丢失的日志
FAL[client]: Failed to request gap sequence GAP - thread 1 sequence 8-9 DBID 4085976867 branch 830994121FAL[client]: All defined FAL servers have been attempted.------------------------------原创 2013-11-11 00:59:18 · 2366 阅读 · 0 评论 -
ORA-12154 和 TNS-03505 监听错误的解决方法
今天在这台机器上添加了一个监听, 用net manager 配置的,这也是推荐的配置方法,因为手工修改tnsnames.ora 文件容易出现问题。 这个文件比较敏感,多一个空格就会报错。 配置完后,测试成功,但sqlplus 里连的时候,不识别这个实例。报ORA-12154 错误:ORA-12154: TNS: 无法解析指定的连接标识符用tnsping 一下:C:/原创 2013-11-18 23:48:02 · 1093 阅读 · 0 评论 -
ORA-01503: CREATE CONTROLFILE failed
SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS 2 MAXLOGFILES 16 3 MAXLOGMEMBERS 3 4 MAXDATAFILES 100 5 MAXINSTANCES 8 6 MAXLOGHISTORY 292 7 LOGFIL原创 2013-10-23 00:10:18 · 14211 阅读 · 0 评论 -
-bash: ulimit: pipe size: cannot modify limit: Invalid argument
etc中profile配置文件有误重新覆盖下cat >>/etc/profileif [ $USER = "oracle" ]; thenif [ $SHELL = "/bin/bash" ]; thenulimit -p 16384ulimit -n 65536elseulimit -u 16384 -n 65536fifiEOF解原创 2013-10-11 14:31:02 · 5096 阅读 · 0 评论 -
ora-09925 unable to create audit trail file
一.杀重复进程1. ps -ef | grep smon2.kill -9 227283.conn /as sysdba二.修改oracle权限chmod 6755 $ORACLE_HOME/bin/oraclels -lrt $ORACLE_HOME/bin/oracle-rwsr-sr-x. 1 oracle oinstall 1原创 2013-09-13 13:08:19 · 787 阅读 · 0 评论 -
ORA-01950: no privileges on tablespace 'USERS'错误
sys用户SQL> create user etl identified by *****;User created.SQL> grant create session to etl;Grant succeeded.SQL> grant sysdba to etl;Grant succeeded.SQL> grant create any tab原创 2014-03-26 18:08:09 · 901 阅读 · 0 评论