ASM file metadata operation等待时间处理

数据库版本:11.2.0.3.0

系统版本:centOS 5.7

遇到了等待事件:ASM file metadata operation

网上查到的信息说ASM file metadata operation是个内部的等待事件,该等待事件多了也没有什么解决办法和问题产生的原因。但是发现该等待事件与ksv master wait等待事件相关。

ksv master wait的等待事件信息较多,简单来说对于不是Exadata的库就是将参数 cell_offload_processing,修改为false,如下:

根据以上现象及日志体现,从oracle官方metalink中查找资料得知这是一个bug [BUG ID 1308282.1]

下面是官方metalink文档中关于这个bug的解释:

High ‘ksv master wait‘ And ‘ASM File Metadata Operation‘ Waits In Non-Exadata 11g

Symptoms

High waits for ‘ksv master wait‘ while doing an ASM file metadata operation were reported when a data migration utility was running.

This wait was also seen for a drop of a tablespace.

The AWR showed the top events were CPU (> 100%), with ‘ASM file metadata operation‘ (7%).

Cause

Event ‘KSV master wait‘ indicates the process on the RDBMS side is waiting for a reply from a process on the ASM side.

In 11g, the parameter cell_offload_processing is set to TRUE.

Although that is a parameter is not applicable for non-Exadata databases, it caused ASM to try to deliver smart-scan results.

The issue was reported in Bug 11800170 - ASM IN KSV WAIT AFTER APPLICATION OF 11.2.0.2 GRID PSU.

After applying the workaround for this issue (see Solution below), a drop of a tablespace that used to take 13 minutes took 4 seconds.

Solution

The following solutions are available for non-Exadata databases:

For the quickest solution, use the workaround.  The workaround does not negatively impact non-Exadata databases.

This parameter is to be set on the database instance.

alter system set cell_offload_processing = false;

Upgrade to 12.1, when available. OR

Apply the 11.2.0.3 patch set  OR

Apply one-off Patch 11800170, if available for your RDBMS and Grid Homes

Note:  At the time this note was written (March 2011), neither 12.1 nor 11.2.0.3 were available.

官方文档中给出的最快解决方式是修改oracle中的一个参数 cell_offload_processing,修改为false。

其中cell_offload_processing参数的功能说明如下:

CELL_OFFLOAD_PROCESSING
值:TRUE|FALSE
功能:启用或禁用智能扫描及其他智能存储功能
修改:可使用ALTER SESSION或ALTER SYSTEM在会话级别或系统级别动态修改

时间: 2024-11-02 13:17:24

ASM file metadata operation等待时间处理的相关文章

ORA-00245: control file backup operation failed

今天朋友巡检遇到了ORA-00245的报错,下面来看看MOS关于RAC环境中ORA-00245报错的说明. ORA-245: In RAC environment from 11.2 onwards Backup Or Snapshot controlfile needs to be in shared location (文档 ID 1472171.1)   修改时间:2013-11-11 类型:ALERT   In this Document   Description Occurrence

ORA-15028: ASM file '..' not dropped; currently being accessed --转载

Couple of weeks ago we had a problem with one of our busiest databases. The FRA was filling quite rapidly and we just could not free enough space. What made this problem interesting was the fact that Oracle was telling us more than 40% of the space w

【翻译自mos文章】使用asmcmd命令在本地和远程 asm 实例之间 拷贝asm file的方法

使用asmcmd命令在本地和远程 asm 实例之间 拷贝asm file的方法 参考原文: How to Copy asm files between remote ASM instances using ASMCMD command (Doc ID 785580.1) 适用于: Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.2 [Release 11.1 to 11.2] Information in thi

【翻译自mos文章】注意: ASMB process exiting due to lack of ASM file activity

注意: ASMB process exiting due to lack of ASM file activity 参考原文: NOTE: ASMB process exiting due to lack of ASM file activity (Doc ID 754110.1) 适用于: Oracle Server - Enterprise Edition - Version 10.1.0.2 to 11.2.0.4 [Release 10.1 to 11.2] Information in

DB_FILE_NAME_CONVERT参数导致ORA-15124: ASM file name '...' containsan invalid alias name

RAC主库+DG单机环境中,一旦主备库之前有归档间隔,而这些归档可能由于种种原因被删除,如归档被清理了,备份集策略已经超出所需归档.也不用担心,可以按以下大致步骤做恢复: o 主库上做基于SCN的增量备份 o 将备份传输至备库 o 备库恢复增量备份 o 主库创建一个standby controlfile,并传输至备库 o 上一步生成的控制文件替换备库的控制文件 这几天遇到个非常奇怪的问题,主库创建standby controlfile时总是报错ORA-15124.这个问题也困扰了自己很多天. 都

安卓开发-See the log file\.metadata\.log.

今天在给安卓项目res-valus-string.xml 中字符串修改的时候,突然eclipse卡住了 然后任务管理器关掉之后,重新打开 显示一个错误 百度了一下 eclipse启动报错,让查看.metadata\.log日志 1 !SESSION 2013-09-23 17:28:28.484 ----------------------------------------------- 2 eclipse.buildId=M20120914-1800 3 java.version=1.7.0

AWR Report 关键参数详细分析

WORKLOAD REPOSITORY report for DB Name DB Id Instance Inst num Startup Time Release RAC CALLDB 1251068085 calldb1 1 07-Dec-12 21:12 11.2.0.3.0 YES Host Name Platform CPUs Cores Sockets Memory (GB) calldb01 AIX-Based Systems (64-bit) 128 32   250.25  

(转载)Oracle AWR报告指标全解析

Oracle AWR报告指标全解析 2014-10-16 14:48:04 分类: Oracle [性能调优]Oracle AWR报告指标全解析 2013/08/31 BY MACLEAN LIU 26条评论 [性能调优]Oracle AWR报告指标全解析 开Oracle调优鹰眼,深入理解AWR性能报告:http://www.askmaclean.com/archives/awr-hawk-eyes-training.html 开Oracle调优鹰眼,深入理解AWR性能报告 第二讲: http:

Oracle AWR报告指标解析一例

啥是AWR? ===================================================================================================== AWR (Automatic Workload Repository) 一堆历史性能数据,放在SYSAUX表空间上, AWR和SYSAUX都是10g出现的,是Oracle调优的关键特性: 大约1999年左右开始开发,已经有15年历史 默认快照间隔1小时,10g保存7天.11g保存8