TNS-12533: TNS:illegal ADDRESS parameters
[oracle@c4yybcv3] /oracle/app/oracle/product/11.2.0/dbhome_1/network/admin> tnsping toyy3_scanTNS Ping Utility for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production on 26-MAY-2015 09:36:51Copyright (c) 1997, 2011, Oracle. All rights reserved.Used parameter files:Used TNSNAMES adapt...
aix 修改系统时间
linux下用date -s "20111231 21:30:25"把时间设为2011年12月31日21点30分25秒。而aix呢?它不认-s这个参数,上网查了一下,原来是:date -n mmddHHMMYY,mm表示月分,dd表示日期,HH表示小时,MM表示分钟,YY表示年份。如:date -n 1231213011表示把当前时间设为2011年12月31日21点30分。...
ORA-38754: FLASHBACK DATABASE NOT STARTED时请求的归档无效
参考文档:ORA-38754: FLASHBACK DATABASE NOT STARTED - REQUIRED REDO LOG IS NOT AVAILABLE (文档 ID 560686.1)版本:Oracle Database - Enterprise Edition - Version 10.1.0.2 and laterInformation in this document applies to any platform.***Checked for relevance on 29-Apr-2013***问题现象:When try...
CRS-4640
[root@toyy3a_cs] /grid/product/11.2.0/gridhome_1/bin> ./crsctl start crsCRS-4640: Oracle High Availability Services is already activeCRS-4000: Command Start failed, or completed with errors.
Oracle Real Application Testing之DB Replay实践案例
一.使用DB Replay前期需要1.可以使用DB Replay的数据版本及PATCH包的需要参考文档:Using Real Application Testing Functionality in Earlier Releases (文档 ID 560977.1)在11g 之前安装Real Application testing,Opatch 工具应该被使用,如果你想要使用DB replay或SQL Performance Analyzer 仅打上对应的补丁即可;...
oracle data guard dest_id 出现错误(wrong)目标号 通过SRL解决此问题
适合版本:Oracle Server - Enterprise Edition - Version: 10.2.0.5 to 11.2.0.2 - Release: 10.2 to 11.2Information in this document applies to any platform.问题描述:Within a Dataguard environment the value of dest_id in v$archived_log on standby database lists the primary dest_id instead of th...
ges resources暴长导致 ORA-04031 一案例
一存储过程,导致数据库出现ORA-04031且现象:Wed May 6 09:16:34 2015Errors in file /oracle/app/admin/oraxy3/udump/oxy3a_ora_1483130.trc:ORA-04031: unable to allocate 4216 bytes of shared memory ("shared pool","insert into CREDIT_EVENT_ERR...","sga heap(3,0)","library cache")ORA-04031: unab...
Oracle审计--AUD$占用空间较大处理方案
Oracle 11G以后,数据库默认是开启审计功能的,因此有时候我们忘记了关闭该功能导致SYSTEM表空间暴满,但由于关闭审计功能需要重启数据库,此类操作生产环境下是不允许的,因此我们需要找出哪类审计产生的较多,然后单独的进行关闭;我们可以通过如下方法查找:如果你发现AUD$这个表比较大了,检查下是哪种审计占的空间...
登陆数据库时,如果密码中包含@字符时,需要进行转义,否时报ORA-12154?
操作系统下登陆数据库时,如果密码中包含@字符时,需要进行转义,否时报ORA-12154oracle@TBZJS1:[/oracle/app/oracle/product/11.2.0/dbhome_1/bin] sqlplus CHENJING/bzzw@4321@TBZJS1_obzjs1SQL*Plus: Release 11.2.0.2.0 Production on Mon Apr 27 14:45:47 2015Copyright (c) 1982, 2010, Oracle.  ...
How To Resolve Stranded DBA_2PC_PENDING Entries [ID 401302.1]
修改时间 21-NOV-2011 类型 BULLETIN 状态 PUBLISHED Applies to:Oracle Server - Enterprise Edition - Version: 8.1.5.0 to 11.1.0.6 - Release: 8.1.5 to 11.1Information in this ...
ORACLE 创建DBLINK 自动加域名解决方案
创建DBLINK 自动加域名通过如下方法可以解决,创建DBLINK自动加域名1.查看global_name的设置(默认都是false,不过跟这个没有任何关系的,这个参数如果为true时就需要建db_link时域名必要跟目标库一致才行)SQL> show parameters global_name;NAME  ...
ORACLE 逻辑坏块真实案例ORA-01578 ORA-01110
2015年04月15日 某系统由于内存故障导致RAC的B节点发生宕机,在宕机其间tjs1b库由于宕机出现3个坏块,经分析3个坏块为逻辑坏块,共涉及到两个索引的两个分区。对索引分区进行重建完成修复;现象:ORACLE Instance ojs1a (pid = 26) - Error 1578 encountered while recovering transaction (173, 11) on object 4054036....
ORA-14086: a partitioned index may not be rebuilt as a whole
SQL> alter index SDSETTLE.UN_PK_STLGPRSCNGKEY rebuild online parallel 16;alter index SDSETTLE.UN_PK_STLGPRSCNGKEY rebuild online *ERROR at line 1:ORA-14086: a partitioned index may not be rebuilt as a whole正常重建分区...
11g grid +db 采用裸设备克隆案例
参数文档:How to Clone an 11.2.0.3 Grid Infrastructure Home and Clusterware (文档 ID 1413846.1)########## For Oracle 11g RAC Database ##########10.19.246.22 tokf6a-vip10.19.246.24 tokf6b-vip172.19.246.22 tokf6a-priv172.19.246.24 tokf6b-priv10.1...
9i 克隆+data guard 实现数据库搬迁
此案例是通过RDD(华为自己封装的DD脚本)+DATA GUARD来实现查询库搬迁的;操作步骤说明:1.克隆软件2.开归档3.源库开启热备begain backup (9i 只能对表空间,不能对全库)4.RDD复制数据文件到目录库;5.源库关闭热备end backup;6.源库生成standby 控制文件;7.copy生成的standby控制文件与密码文件、参数文件、归...
9i and 10g 通过SQL_ADDRESS 或sql_id查询执行计划
V$SQL_PLAN, DBMS_XPLAN.DISPLAY_CURSOR:If you know sql_id or the set of (hash_value, address) of the shared cursor, you can get the correct plan using V$SQL_PLAN or DBMS_XPLAN.DISPLAY_CURSOR. Make sure the calling user has privileges on fixed following views: V$SQL_PLAN_STATISTICS_ALL, V$SQL ...
vim 粘贴时取消自动换行
当vim开启smartindent时,对于C代码会有自动换行的功效。但是,有时候我们需要在向vim中粘贴C代码时,需要暂时关闭自动换行的功能。在vim中,:set paste之后进行插入操作,vim提示变为: -- INSERT (paste) --这时就不再有自动换行。之后,如果要恢复,:set nopaste即...
clone grid INfrastructure Home and clusterware
How to Clone an 11.2.0.3 Grid Infrastructure Home and Clusterware ( Doc ID 1413846.1 )
oracle 系统搬迁案例(zw3)
20150212 zw3迁移详细步骤1.老账务3区信息备份2.停掉老系统(注:屏蔽定时任务);3.启动新系统4.修改/etc/hosts 内容,跟现网保持一致;5.修改新系统的SCAN VIP 和SCAN LISTENER7.停新系统的GRID8.OS层修改PUBLIC IP、PREVITE IP (注:本迁移网络接口、网段均与老系统一样,因此不需要做变更,仅OS层变更后修改/etc...
oracle gcr sleep in the Top Timed Events in report
如下图所示:GCR sleep 等待事件占用比例很高Applies to:Oracle Server - Enterprise Edition - Version 11.2.0.2 to 11.2.0.3 [Release 11.2]Information in this document applies to any platform.GoalThe GCR sleep Event is appearing in the Top 5 Timed Events in a statspack report.How do I ...