解决RMAN中 recovery catalog database: ORA-00955: name is already used by an existing object
RMAN> create catalog tablespace rman_ts;error occurred in source file: krmk.pc, line: 6824text of failing SQL statement: ¬ JORACLE error from recovery catalog database: ORA-00955: name is already used by an existing object [@more@]RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-06433: error installing recovery catalogRMA
Rman简明备忘录(zt)
http://ningoo.itpub.net/post/2149/190757 Version:0.1修改日期:2005-03-01 测试环境 Oracle Version: 9.2.0.1.0 OS Version:Windows 2000 Server RMAN备份的信息可以保存在专门的catalog数据库中,也可以保存在目标DB的控制文件中。初始化参数control_file_record_keep_time指定了控制文件保存RMAN备份信息的天数,默认是7。[@more@] 1. 使用Catalog数据库建议catalog放在单独的instance上,假设名为rcvcata.添加tablespacecreate tablespace rman datafile ‘rman01.dbf’ size 20M;b.创建用户create users rman identified by rman d
Automating histogram sampling with dbms_stats (zt)
SQL> exec dbms_stats.GATHER_SCHEMA_STATS(ownname=>'sxitismg',method_opt=>'for all indexed columns',options=>'GATHER',cascade=>TRUE);SQL>execute dbms_stats.gather_schema_stats(ownname => ‘scott’,estimate_percent => 20,method_opt=>‘for all indexed columns size 10’, cascade=>true); [@more@]exec dbms_stats.GATHER_SCHEMA_STATS(ownname=>'scott',method_opt=>'for all indexed columns',options=>'GATHER',cascade=>TRUE);GATHER_SCHEMA_STATS 下有个参数: cascade
/etc/security/limits.conf 设置----ORACLE安装
为Oracle用户设定Shell的限制一般来说,出于性能上的考虑,还需要需要进行如下的设定,以便改进Oracle用户的有关 nofile(可打开的文件描述符的最大数)和nproc(单个用户可用的最大进程数量) [@more@]# vi /etc/security/limits.conf # 添加如下的行* soft nproc 2047* hard nproc 16384* soft nofile 1024* hard nofile 65536也有一说是:暂时按照上一种oracle soft nproc 2047oracle hard nproc 16384oracle soft
workarea_size_policy 和 sort_area_size (zt)
1,10g里还用SORT_AREA_SIZE 这个参数。[@more@] if ( 数据库版本 >= 10gR1 ) then if (workarea_size_policy=auto) then sort area size 无效 else sort area size 有效 end if 2,并不是所有workarea_size_policy=MANUAL,这个参数都起作用,因为在ORACLE9I里 else -- 数据库版本 < 10gr1 if ( shared server 连接方式 ) then sort area size 有效 else -- dedicated server连接方式 if (workarea_size_policy=auto) then sort area size 无效
面试题目(zt)
一:SQL tuning 类 1:列举几种表连接方式 2:不借助第三方工具,怎样查看sql的执行计划 3:如何使用CBO,CBO与RULE的区别 4:如何定位重要(消耗资源多)的SQL [@more@] 5:如何跟踪某个session的SQL 6:SQL调整最关注的是什么 7:说说你对索引的认识(索引的结构、对dml影响、对查询影响、为什么提高查询性能) 8:使用索引查询一定能提高查询的性能吗?为什么 9:绑定变量是什么?绑定变量有什么优缺点? 10:如何稳定(固定)执行计划 11:和排序相关的内存在8i和9i分别怎样调整,临时表空间的作用是什么 12:
安裝Linux下Oracle一般考虑设置/etc/security/limits.conf 吗 ?
还是一般出现问题才会使用到 /etc/security/limits.conf 设置 。设置oracle对文件的要求:编辑文件:/etc/security/limits.conf 加入以下语句:oracle soft nofile 65536oracle hard nofile 65536...
ORA-29702: error occurred in Cluster Group Service operation
Linux AS 3.0 + Oracle9.2.0.7 RAC 问题点和下面的描述一摸一样 , 但是metalinK的诊断分析不知道啥意思 ? . DIAGNOSTIC ANALYSIS: -------------------- Tried setting all the kernel paramet...
[悬赏500pub$] Oracle 9.2.0.7 RAC + Linux AS3.0, ORA-29702导致实例crash
Linux AS3.0 内核版本: 2.4.21-37.ELsmp Oracle 9.2.0.4 升级到Oracle9.2.0.7 , RAC , 两节点。 clusterware是9204软件安装的 。 alter_orcl1.log &n...
ORA-07445 [opidsa()+386] [SIGSEGV] [Address not mapped to object]
Oracle 10.2.0.3 RAC (64bit) , Linux as4.0 (64bit) , 2 nodes . ORA-07445: 發生例外情況 : 基核傾印 [opidsa()+386] [SIGSEGV] [Addre...
Linux AS4.0 64bit, 日志中每一秒生成很多 su(pam_unix)...的东西,如何取消?
ixpub 比较少人回答,hoho , 来这里看看。 Dec 30 23:59:54 gnd-rac01 su(pam_unix)[26443]: session closed for user oracleDec 30 23:59:55 gnd-rac01 su(pam_unix)[26493]: session opened for user oracle ...
Oracle9.2.0.7 RAC在udump下产生很多trc文件,只有升级到10g才能解决?
Oracle 9.2.0.7 RAC系统,由于节点有jdbc客户端访问,所以导致udump下面很多trc文件的生成,每一分钟2~6个,查了一下metalink说是要升级到10g 。目前先使用定期删除一部分trc文件的shell操作(删除一...
Linux AS4.0 64bit, 日志中每一秒生成很多 su(pam_unix)...的东西,如何取消?
Dec 30 23:59:54 gnd-rac01 su(pam_unix)[26443]: session closed for user oracleDec 30 23:59:55 gnd-rac01 su(pam_unix)[26493]: session opened for user oracle by (uid=0)Dec 30 23:59:55 gnd-rac01 su(pam_...
开发环境是如何或一般每隔多久与生产库同步一次的?
Linux AS3.0 , Oracle9.2.0.7 , 10.20.3 开发测试环境需要和生产环境差不多的数据,用什么方式好一点,而又不影响到生产环境的性能 ? 各位是如何做的 ?...
Oracle10g 50M的online redo 归档为什么都小于50M ?
-rw-rw---- 1 oracle dba 44M Jan 2 22:02 1_9523_641211070.dbf-rw-rw---- 1 oracle dba 43M Jan 2 22:30 1_9524_641211070.dbf-rw-rw----&n...
想买个GPS导航仪,啥牌子又好又便宜 ?
认路比较没有天份,想买个导航仪,开车出去不至于迷路
ORA-01722 Invalid Number
TopicsWhat is this error? How to fix it 21-June-2001 Author: Phil Singer What causes this error?This problem occurs when an attempt is made to convert a character string into a number, and the strin...
Toad9不支持中文,Toad8.6以下10.2.0.2下看procedure有问题,谁有8.6.1 key ?
Toad9不支持中文 Toad8.6以下察看oracle 10.2.0.2 中含有IN的参数procedure有问题,谁有8.6.1 或 >8.6 <9.0 toad key ? 目前数据库版本有 10.2.0.3 ...
使用TOAD(8.5.3)打开ORACLE10.2中存储过程报错:'IN' is not a valid integer value
这种错误只针对那种有输入,输出参数设置的存储过程。如果无参数就没问题。 [@more@] 这是软件固有的bug ,最新版了9。0 Toad 8.6.1已经修复了这个问题 ,如下为官方自述 : TOAD version 8.6.1 is provided as a patch with selected fixes to version 8.6. This patch version is not intended to address all reported issues. Rather, it addresses a subset of the issues, selected based on severity and complexity. In particul
使用TOAD(8.5.3)打开ORACLE10.2中存储过程报错:'IN' is not a valid integer value
这种错误只针对那种有输入,输出参数设置的存储过程。如果无参数就没问题。 这是软件固有的bug ,最新版了9。0 Toad 8.6.1已经修复了这个问题 ,如下为官方自述 : TOAD version 8.6.1 is ...