利用10046事件收集SQL的trace文件
Event 10046是为Oracle session收集扩展的sql_trace信息的标准方法,通常为了诊断SQL调优类问题,我们需要记录下这些语句在执行过程中产生的等待以及bind variables(绑定变量)的信。 这些信息可以通过级别为12的10046 trace获得。一、trace文件的位置:在11g之前:SQL> show parameter user_dump_dest在11g之后:SQL...
修正执行计划的利器,SQL PROFILE脚本
点击这里下载 sql profile 脚本 profile.sql 我们先来看下如何手工创建sql profile来修正执行计划。创建两张表test1、test2,在表test2的列object_id 上创建索引,分析两张表。 create table test1 as select * from dba_objects;create table test2 as s...
故障排除:"log file sync"等待 (转自MOS)
文档内容用途排错步骤 什么是'log file sync'等待事件? 用户应该搜集那些信息,来初步分析'log file sync'等待事件? ...
log file sync等待事件总结
何时发生日志写入:1.commit或者rollback2.每3秒3.log buffer 1/3满或者已经有1M的redo数据。 更精确的解释:_LOG_IO_SIZE 大小默认是LOG_BUFFER的1/3,当log buffer中redo数据达到_LOG_IO_SIZE 大小时,发生日志写入。4.DBWR写之前_log_io_size隐...
ORACLE 12C 集群启动顺序图
Oracle 12c 迁移MGMTDB 到其他的磁盘组
mgmtdb 是oracle12c中 负责集群信息维护的新增了一个数据库,这个数据库文件默认是放在ocrvote磁盘组上,所有当你安装12c GI 的时候你会发现oracle数据要ocr磁盘明显大了几G ,其实主要还是这个mgmtdb原因,这次迁移我就迁移到datadg里 其实最好还是单独建立dg 例如建立dg 名字为MGMTDG,这里测试的版本为12.1.0.2 ,估计到1...
How to Move/Recreate GI Management Repository to Different Shared Storage
How to Move/Recreate GI Management Repository to Different Shared Storage (Diskgroup, CFS or NFS etc) (文档 ID 1589394.1)转到底部...
Oratop工具——实时数据库性能监控工具
在任何系统优化过程中,“80/20原则”是我们一定要关注的问题。简单的说,就是我们系统80%的性能问题、现象,都是有少数几个甚至一个问题造成的。这就需要我们面对复杂的系统性能问题的时候,要学会“拨开云雾、蛇打...
ORACLE压力测试工具SwingBench的配置过程
ORACLE压力测试工具SwingBench的配置过程1描述什么是SwingBench(简介部分为转载-http://www.open-open.com/lib/view/open1347625827101.html):这是Oracle UK的一个员工在一个被抛弃的项目的基础...
weblogic bea 000109错误
在维护一个weblogic集群中,发现成员服务器启动失败报错如下an 20, 2015 11:55:12 PM>
oracle 10gR2版本对global_name更新为空会导致数据库启动不成功
以下为具体测试过程 10gR2版本C:\Documents and Settings\Administrator>sqlplus "/as sysdba"SQL*Plus: Release 10.2.0.1.0 - Production on 星期六 9月 11 12:11:22 2010Copyright (c) 1982, 2005, Orac...
How to resolve : Authentication denied: Boot identity not valid
1. 移除你的boot.properites文件2 编辑一个新的,输入用户名和密码格式如下username:webloigcpassword:weblogic1233. 移除整个ldap文件,建议重命名4 重启服务器5 重启启动weblogic,输入用户名和名,之后就可以后台启动了...
weblogic 部署应用的时候报错 java.util.zip.ZipException: Error
在weblogic集群中部署应用的时候发生如下报错- Could not find End Of Central Directory weblogic激活更改期间出错, 有关详细信息, 请查看日志。weblogic.management.DeploymentException:Error opening file - /home/weblogic/Oracle/Middleware/user_projects/domains/SYYB/servers/Ucenter_server_34/stage/uce...
installing oracle rac Remote 'AttachHome' failed on nodes:
Remote 'AttachHome' failed on nodes: 'resdb2'. Refer to '/home/grid/oraInventory/logs/installActions2014-11-16_12-27-01PM.log' for details.It is recommended that the following command needs to be manually run on the failed nodes: /oracle/product/11.2.0.4/oui/bin/runInstaller -attachHo...
oracle 安装平台一些说明 (摘自mos Doc ID 1307544.1)
Certification Information for Oracle Database on IBM AIX on Power systems (Doc ID 1307544.1)To Bottom...
OGG TROUBLESHOOTING
Troubleshooting GoldenGate Extract When Reading Redo Logs on ASM, ERROR OGG-00446 Getting attributes for ASM file, ORA-15173: entry 'oramcbta' does not exist in directory (Doc ID 1315404.1)APPLIES TO:Oracle GoldenGate - Version 10.4.0.0 and laterInformation in this document applies to any p...
OGG-01396 OGG-01004 OGG-00869报错
实施OGG 的时候发现了一个问题在复制端的复制进程发现已经abend,查看报错2014-11-05 09:14:29 WARNING OGG-01396 A complete after image is not available in JHYB.KC08 at rba 95827127 in file ./dirdat/yb000010, while inserting a row into JHYB.KC08 due to missing target row for a key update ...
ORACLE 25个需要深思熟虑重要的初始化参数
此内容摘自 ORACLE 11gR2性能调整与优化一书,最为一个自己的笔记吧1 MEMORY_TARGET : 这个初始化参数设定分配给PGA和SGA 的所有内存(11g 新参数)。设置了MEMORY_TARGET 就启用了自动内存管理(Automatic Memory Management,AMM),所以oracle 根据系统的需求分配内存,但你也可以设置关键的最小值。MEMORY_TARG...
关于查询不用重启或者关闭数据库的参数
在v$PARAMETER 显示会话级别有效的参数,v$system_parameter 显示了整个实例有效的参数 的两个字段 ISSES_MODIFIABLE 表明拥有alter session 权限的用户是否可以再他们的会话级别修改这个参数 ISSYS_MODIFIABLE 表明拥有alter system 权限的用户是否可以修改这个参数如下脚本显示了不用关门和重启db就可以设...
trigger 'SYS.GGS_DDL_TRIGGER_BEFORE' is invalid and failed re-validation
环境如下ORACLE 版本11.2.0.4 OS OEL 5.7 64BITOGG 版本 11.2.1.0.1开启ddl 在运行 ddl_setup.sql 时候报错如下SQL> @ddl_setup.sql;Oracle GoldenGate DDL Replication setup scriptVerifying that current user has privileges to install DDL Replication...You will be prompted for...