|
在做oracle replay实验过程中,测试端完成压力测试后导出报告时报错,提示如下:
SQL> begin
2 dbms_workload_capture.export_awr(capture_id=>121);
3 end;
4 /
begin
*
ERROR at line 1:
ORA-20222: Workload was not captured in the current database. Cannot export!
ORA-06512: at "SYS.DBMS_WORKLOAD_CAPTURE", line 2040
ORA-06512: at line 2
SQL>
在wrc端可以看出replay已经完成。日志如下:
[oracle@dg replay]$ wrc system/oracle mode=replay replaydir=/u01/app/replay/replay
Workload Replay Client: Release 12.2.0.1.0 - Production on Thu Jan 4 04:09:50 2018
Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.
Wait for the replay to start (04:09:50)
Replay client 1 started (04:10:13)
Replay client 1 finished (04:18:05)
[oracle@dg replay]$
|
|