3 Replies Latest reply: Jan 3, 2013 6:37 AM by Osama_Mustafa RSS

    ORA-20222: Workload was not captured in the current database. Cannot export

    SShubhangi
      Hey Experts,

      On oracle 11g i am getting following errors

      ORA-20222: Workload was not captured in the current database. Cannot export!
      ORA-06512: at "SYS.DBMS_WORKLOAD_CAPTURE", line 1588
      ORA-06512: at line 2

      while excuting the below code

      SQL> BEGIN
      2 DBMS_WORKLOAD_CAPTURE.EXPORT_AWR(4);
      3 END;
      4 /

      is there anyting I am missing ?