iis服务器助手广告广告
返回顶部
首页 > 资讯 > 数据库 >分析ARCH wait on SENDREQ等待事件
  • 350
分享到

分析ARCH wait on SENDREQ等待事件

2024-04-02 19:04:59 350人浏览 八月长安
摘要

本篇内容介绍了“分析ARCH wait on SENDREQ等待事件”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学

本篇内容介绍了“分析ARCH wait on SENDREQ等待事件”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

客户库,AWR报告采样间隔8小时,ARCH wait on SENDREQ等待事件平均等待时间较长,约3秒。

分析ARCH wait on SENDREQ等待事件

分析ARCH wait on SENDREQ等待事件

恰巧告警日志中提示无法分配日志,虽然arcHive_lag_target参数设置较小(为900),但是数据库有5个重做日志组,按理说应该不会出现无法分配日志组的情况出现。由于这个等待事件的出现,故猜想主备库之间的网络可能较差,导致主库的归档无法及时归档到备库上,从而引发cannot allocate new log。

Tue Jul 19 22:19:33 2011
Thread 1 cannot allocate new log, sequence 26887
Private strand flush not complete

从Metalink(MOS)上可查到如下关于ARCH wait on SENDREQ等待事件的信息

《Data Guard Wait Events》

“ARCH wait on SENDREQ” This wait event monitors the amount of time spent by all archiver processes to write the received redo to disk as well as open and close the remote archived redo logs.

《Troubleshooting 9i Data Guard Network Issues》

The ‘ARCH wait on SENDREQ’ wait event increases during a log switch period. This event’s average wait time also increases as the network round trip time (RTT) increases. If this wait event is in the top 5, then it may be indicative of a saturated network or a poorly configured network. Also, make sure that enough redo log groups are configured so that any delay in remote archiving does not result in a hung database due to no available online redo logs.

在log switch阶段会出现ARCH wait on SENDREQ等待事件,如果此事件出现在Top5等待事件中,说明网络满负载或网络配置问题(总之,网络较差)

还有一篇,说是metalink上的,不过没找到原文:

1)It means that there is a slow network between primary and standby database.

2)It also means that there is a chance of slow performance on disk where remote archiving is happening.

Solution:

1.Please get in touch with your network admin and check the network response.

2.If the remote destination is slow and archiver is taking longer to archive to that destination, then the user needs to allocate more redo log groups so that there is a logfile available for a logswitch to switch into, and not wait for the archiver to finish archiving to the destination.

3.One more workaround you can use is to set below parameter in primary site:

_LOG_ARCHIVE_CALLOUT=’LOCAL_FIRST=TRUE’

第三种解决方案提示修改隐含参数:_LOG_ARCHIVE_CALLOUT

_LOG_ARCHIVE_CALLOUT=’LOCAL_FIRST=TRUE’

If the above parameter is set then the ARCH process will begin archiving to the local destination first.  Once the redo log has been completely and successfully archived to at least one localdestination, it will then be transmitted to the remote destination. This is the default behavior. beginning with  oracle Database  10g Release 1.

Starting in 9.2.0.7 patchsets, one ARCH process will begin acting as a ‘dedicated’ archiver, handling only local archival duties. It will not perfORM. remote log shipping or service FAL requests. This is a backport of behavior. from 10gR1 to 9iR2.

我对上文This is the default behavior. beginning with  Oracle Database  10g Release 1.表示质疑,因为从我本地11.2.0.1的库来看,此隐含参数默认还是空。

尝试在非生产库上修改此隐含参数做测试

sql> set linesize 132
SQL> column name format a30
SQL> column value format a25
SQL> select
2    x.ksppinm  name,
3    y.ksppstvl  value,
4    y.ksppstdf  isdefault,
5    decode(bitand(y.ksppstvf,7),1,’MODIFIED’,4,’SYSTEM_MOD’,’FALSE’)  ismod,
6    decode(bitand(y.ksppstvf,2),2,’TRUE’,’FALSE’)  isadj
7  from
8    sys.x$ksppi x,
9    sys.x$ksppcv y
10  where
11    x.inst_id = userenv(‘Instance’) and
12    y.inst_id = userenv(‘Instance’) and
13    x.indx = y.indx and
14    x.ksppinm like ‘%_&par%’
15  order by
16    translate(x.ksppinm, ‘ _’, ‘ ‘)
17  /
输入 par 的值:  callout
原值   14:   x.ksppinm like ‘%_&par%’
新值   14:   x.ksppinm like ‘%_callout%’

NAME                           VALUE                     ISDEFAULT ISMOD      ISADJ
—————————— ————————- ——— ———- —–
_log_archive_callout                                     TRUE      FALSE      FALSE

SQL> alter system set “_log_archive_callout”=’LOCAL_FIRST=TRUE';

系统已更改。

SQL> set linesize 132
SQL> column name format a30
SQL> column value format a25
SQL> select
2    x.ksppinm  name,
3    y.ksppstvl  value,
4    y.ksppstdf  isdefault,
5    decode(bitand(y.ksppstvf,7),1,’MODIFIED’,4,’SYSTEM_MOD’,’FALSE’)  ismod,
6    decode(bitand(y.ksppstvf,2),2,’TRUE’,’FALSE’)  isadj
7  from
8    sys.x$ksppi x,
9    sys.x$ksppcv y
10  where
11    x.inst_id = userenv(‘Instance’) and
12    y.inst_id = userenv(‘Instance’) and
13    x.indx = y.indx and
14    x.ksppinm like ‘%_&par%’
15  order by
16    translate(x.ksppinm, ‘ _’, ‘ ‘)
17  /
输入 par 的值:  callout
原值   14:   x.ksppinm like ‘%_&par%’
新值   14:   x.ksppinm like ‘%_callout%’

NAME                           VALUE                     ISDEFAULT ISMOD      ISADJ
—————————— ————————- ——— ———- —–
_log_archive_callout           LOCAL_FIRST=TRUE          TRUE      SYSTEM_MOD FALSE

综上:我认为应该仔细检查一下用户主备库网络情况,检查客户备库磁盘IO。

“分析ARCH wait on SENDREQ等待事件”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注编程网网站,小编将为大家输出更多高质量的实用文章!

您可能感兴趣的文档:

--结束END--

本文标题: 分析ARCH wait on SENDREQ等待事件

本文链接: https://www.lsjlt.com/news/63599.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • 分析ARCH wait on SENDREQ等待事件
    本篇内容介绍了“分析ARCH wait on SENDREQ等待事件”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学...
    99+
    2024-04-02
  • Oracle 等待事件(Wait Event):Sync ASM rebalance 解析
    摘要:在 Oracle 数据库中,经常可以见到一个特殊的等待事件:Sync ASM rebalance 。这个等待事件的基本含义是:在集群中,通过同步 ASM 的重平衡变化,以使得 ASM 的变更在集群之...
    99+
    2024-04-02
  • 性能优化的分析(free buffer wait等待)
    查看相关的文档,发觉free buffer wait等待一般是由于buffer太小而导致的,可以通过增加buffer的大小解决,如果buffer够大, 则可能在进行全表扫描,调整应用(查询出相关的...
    99+
    2024-04-02
  • ORACLE的buffer busy wait等待事件怎么解决
    本文小编为大家详细介绍“ORACLE的buffer busy wait等待事件怎么解决”,内容详细,步骤清晰,细节处理妥当,希望这篇“ORACLE的buffer busy wait等待事件怎么解决”文章能帮...
    99+
    2024-04-02
  • oracle等待事件类型wait_class的分析
    oracle等待事件类型wait_class的分析,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。 Oracle 的...
    99+
    2024-04-02
  • Oracle中read by other session等待事件分析
    这篇文章主要讲解了“Oracle中read by other session等待事件分析”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“Oracle中read...
    99+
    2024-04-02
  • RAC性能分析 - gc buffer busy acquire 等待事件
    RAC性能分析 - gc buffer busy acquire 等待事件 ...
    99+
    2024-04-02
  • Oracle的SQL*Net more data from client 等待事件分析
    SQL*Net more data from client 并非一个常见的等待事件,但在有些场景下却是经常能看到的,这些场景包括: 批量插入、更新、删除(array of insert、upda...
    99+
    2024-04-02
  • 如何进行Oracle常见的等待事件分析
    如何进行Oracle常见的等待事件分析,很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。1.Library cache pin这个...
    99+
    2024-04-02
  • JavaScript等待文件实例分析
    这篇文章主要介绍了JavaScript等待文件实例分析的相关知识,内容详细易懂,操作简单快捷,具有一定借鉴价值,相信大家阅读完这篇JavaScript等待文件实例分析文章都会有所收获,下面我们一起来看看吧。...
    99+
    2024-04-02
  • 如何进行等待事件enq TX row lock contention的分析
    本篇文章为大家展示了如何进行等待事件enq TX row lock contention的分析,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。 ...
    99+
    2024-04-02
  • java并发等待条件的示例分析
    这篇文章将为大家详细讲解有关java并发等待条件的示例分析,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。前言前面介绍了排它锁,共享锁的实现机制,本篇继续学习AQS中的另外一个内容-Condition。想必...
    99+
    2023-05-30
    java
  • 怎么理解Oracle等待事件的分类、发现及优化
    本篇内容介绍了“怎么理解Oracle等待事件的分类、发现及优化”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成...
    99+
    2024-04-02
  • 如何进行Oracle数据库Kfk: Async Disk IO等待事件的深度解析
    如何进行Oracle数据库Kfk: Async Disk IO等待事件的深度解析,很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。...
    99+
    2024-04-02
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作