i/o slave wait

今日接到报告,某作业运行异常缓慢,通过监控发现I/O资源接近饱和,进一步排查发现是SYS用户正在进行RMAN备份操作导致。本文讨论如何避免数据库备份期间影响正常业务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天Dev team给我报告说有个JOB 跑了2个小时还没跑完,平时只需要10多分钟,叫我check一下。

数据库版本:

SQL> select * from v$version;

BANNER
----------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for HPUX: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production

由于我是用toad监控的,所以不方便贴出具体信息,该SQL的等待事件是 i/o slave wait,所以我怀疑I/O出现了问题

登陆HP-UNIX,用glance监控,发现Disk Util 有很大部分时间 是100%

ProcList CPU Rpt Mem Rpt Disk Rpt NextKeys SlctProc Help Exit
Glance C.05.00.100 02:31:24 bdhp4463 ia64 Current Avg High
------------------------------------------------------------------------------------------------------------------------------------------------------
CPU Util S SN NU U | 59% 52% 76%
Disk Util F F | 72% 78% 100%
Mem Util S SU UF F | 53% 57% 60%
Networkil U UR R | 29% 31% 33%
再看了看 占用 大量磁盘资源的 session,结果发现是SYS在用RMAN 备份。

赶紧给SYSDBA 发邮件说明情况,我不是SYSDBA啊,我必须推卸责任,于是SYSDBA回复了
Dear SYSDBAs,

Today, I was reported that we’re having a long running job on adw1u1.

It has running for about 156 minutes, wait event is i/o slave wait, I’ve asked DEV team, they said the job should be finished within few minutes.
According the wait event , I doubt we are lack of I/O resource, So I checked UNIX side , found that some session consumed lots of I/O resource
finally , I found that top I/O consumed user is SYS, they are backup database using RMAN.
Is there a way to avoid performance problem while you’re backup database?

SYSDBA 回复:

For non-prod we have weekly backups running.
Backups will need to read the data from disk and dump it to tape, that is indeed IO intensive.
But backups are needed and it’s not possible to run a backup without consuming IO.

i/o slave wait 是一个Idle的等待事件,通常出现该等待事件表示I/O资源不足

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值