Log Buffer Space
"Log Buffer Space"Wait for space in the log buffer because we are writing into the log buffer faster than lgwr can write it out.Reducing WaitsConsider making the log buffer bigger if it is smallMoving the log files to faster disksIncrease size of redo logs...
ORACLE 并行(PARALLEL)实现方式及优先级
一、 Parallelquery默认情况下session 是ENABLE状态1. 实现方式1 Alter sessionforce parallel query;2 Alter tabletab1 parallel n;3 Hist方式2. 并行度设置Alte...
Changing between 32-bit and 64-bit Word Sizes (Doc ID 62290.1)
SCOPE & APPLICATION-------------------This document is created to provide all the details for changing word size from32bit to 64bit. This document is a "cut/paste" of applicable sections from the Oracle9i Database Migration guide (A96530-02), to quickly provide the needed details and steps to ...
ORA-15003 DISKGROUP "DATA" ALREADY MOUNTED IN ANOTHER LOCK NAME SPACE
APPLIES TO:Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]Information in this document applies to any platform.SYMPTOMS1. ASM diskgroups in single instance environment will not be mounted with the following similar error in sqlplus screen. SQL> a...
ORACLE 滚动升级(Rolling Upgrades)介绍
滚动升级可以实现生产库应用补丁的较少停机或无停机,可以使用滚动升级升级CSR 软件 DB软件,ASM实例等。滚动升级还支持RAC 中ASM实例无停机升级,但是不支持RAC中数据库实例的滚动升级,具体滚动升级支持的类型如下:10g支持的类型 Oracle Streams...
Oracle Validated Configurations与Preinstall RPM
一 Oracle ValidatedConfigurations 介绍Oracle Validated Configurations致力于为企业提供更简易、更快捷、成本更低的基于Linux和Oracle VM的解决方案。该计划向我们提供经过测试和验证的体系架构,其附带的文档揭示了相关硬件、软件、存储、网络原件的最佳配置实践,以帮助系统提升性能和可收缩性并降低成本。从行...
ORACLE RAC 手动建库
环境11.2.0.1 RAC前提条件Grid Infrastructure已经安装 ASM已经创建 DB软件已经安装通过手动创建RAC可以更深的理解单实例DB和RAC DB 的一些区别,在DBCA无法使用的场景中,也需要手动的方式创建,创建步骤如下:大概思路:先创建单实例DB再转为RAC DB1. ...
MySQL Cluster数据分布/分区,两阶段提交协议及事务资源
FROM:http://www.zrwm.com/?p=3210Posted on 2013 年 3 月 8 日 by JoseMySQL Cluster数据分布和分区数据分布MySQL Cluster自动分区数据表(也可能使用用户自定义分区),将数据分布到分区中.一个数据表被划分到多个Data Node分区中,数据在分区中被”st...
Recovery Performance Tuning
While most tuning analysis can be spent on backup and restore operations, recovery performance should also be evaluated. The following guidelines can help increase recovery performance:1 Minimize archive log application by using more frequent incremental backups2 Use block media recovery for isola...
ORACLE TSPITR 介绍
TSPITR 架构TSPITR 是基于表空间的时间点恢复,架构如下:过程如下:1创建实例(自动或者手动)2 Restore database 只恢复(system undotbs sysaux和指定的需要恢复的表空间)3 recover database until time 4 使用exp从还原数据库导出5 导入到源数据库3种实现方式...
使用rman 恢复drop/truncate table(部分表空间不完全恢复)
表被truncate/drop 的恢复方法有:1 闪回数据库(需要开启flashback)2 异机数据库不完全恢复(可基于部分表空间),exp导出,再导入源库3 TSPITR (把表空间的所有表恢复的一个时间点,影响较大)在没有开启flashback 的情况优先选择第二种方式第二种方法过程如下:1 安装与源数...
基于LOGMINER 的表DML误操作恢复
经常遇到开发人员错误删除,修改,插入等误操作,事后又不知道具体操作哪些数据,希望把恢复到某某时间点,在数据库开归档并有备份的情况的下有一下方法1 闪回数据库(需要开启flashback)2 异机数据库不完全恢复(可基于部分表空间)3 LOGMINER 日志挖掘...
oracle坏块Block Corruptions
物理坏块与逻辑坏块(Physical and Logical Block Corruptions)Bad header - the beginning of the block (cache header) is corrupt with invalid valuesThe block checksum is invalidZeroed out blocks 详细描述如下:1) Fractured Blo...
【等待事件】ORACLE常见等待事件
常见等待事件---shared poollatch: shared poollatch: library cachelatch: library cache locklatch: library cache pin---事务--Segmentenq: HW – contentionenq: ST – contentionenq: TT – contentionenq: US – contention --redo log file synclog...
【执行计划】数据访问方式,连接方式及方法
Table Access Operations? TABLE ACCESSFULLThe Oracle server reads all blocksup to the high-water mark (HWM).? TABLE ACCESSBY ROWIDThe Oracle server gets blocks that areidentifiedby an index lookup, or by a specified ROWID. Index Access Operations? IND...
ora-30036诊断
检测undo使用情况SQL> select sum(bytes)/1024/1024 MB from dba_free_space wheretablespace_name='UNDOTBS1'; MB---------- 22128.625 SQL> select sum(bytes)/1024/1024 MB from dba_data_files wh...
buffer busy waits, latch cache buffers chains, read by other session区别
latch :cache buffers chains 是block headerlacth 的竞争buffer busy waits 和read byother session 是 buffer block 的竞争(10g以后read by other session从buffer busywaits独立出来)参考http://www.itpub.net/thread-1801066-1-1.htmlOracle 访问数据块的大概步骤:1)依据数据块的地址计算出...
使用PURGEOLDEXTRACTS设置goldengate自动清除trail file
如果不设置PURGEOLDEXTRACTS参数trail file不会自动被删除将占用大量的空间,空间沾满goldengate将hang,影响复制。PURGEOLDEXTRACTS参数可以被设置在Manager, Extract, and Replicat参数文件中,oracle建议设置在...
BCM5709网卡驱动版本Bug问题(流量大hang)
去除使用系统自带的网卡驱动,手动安装更新网卡驱动。(最后选择此方案进行修复待后续观察效果…)1、先确认当前驱动版本:modinfo bnx2 #或直接ethtool -i eth0 可以查看到固件版本filename: /lib/modules/...
supplemental logging总结
1 什么是supplementalloggingRedo log files一般被用作实例恢复和介质恢复,恢复需要的变动被自动记录(以更新为例子 只是记录更改的rowid 和更改前后的列值),而supplementallogging可以记录额外的需要的列...