ORA-15505 error when replay.

本文记录了在使用DBMS_WORKLOAD_CAPTURE.START_CAPTURE过程中遇到ORA-15505错误的经历,并分享了解决该问题的具体步骤:清空指定目录下的文件。

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

Encourter the error when do the replay.

Use the EM first.

EM did not say anything wrong but do nothing.

Then try the command line and got the error.

ORA-15505: 由于实例 1 在访问目录 "E:/app/Henrybaiwentao/dbcapture" 时遇到错误.

It means the directory should be empty but I put a script under the directory.

Em is simple but it is hard when troubleshooting.

SQL> ed
已写入 file afiedt.buf

  1  BEGIN
  2   DBMS_WORKLOAD_CAPTURE.START_CAPTURE (
  3   name => 'capture_by_Henry',
  4   dir => 'DBCAPTURE',
  5   duration => 600);
  6*  END;
SQL> /
BEGIN
*
第 1 行出现错误:
ORA-15505: 由于实例 1 在访问目录 "E:/app/Henrybaiwentao/dbcapture" 时遇到错误,
因此无法启动工作量捕获
ORA-06512: 在 "SYS.DBMS_WORKLOAD_CAPTURE", line 811
ORA-06512: 在 line 2

Deleted all files under E:/app/Henrybaiwentao/dbcapture .
SQL> /

PL/SQL 过程已成功完成。

SQL>

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值