cd $ORACLE_HOME/rdbms/admin SQL>@addmrpt.sqlIt will ask for begin snap_id and end snap_id To get snap id Execute below query :
select DBID, INSTANCE_NUMBER, SNAP_ID, BEGIN_INTERVAL_TIME from DBA_HIST_SNAPSHOT;
SQL> @addmrpt.sql
sqlplus / as sysdba GRANT ADVISOR TO REPORT_USER; GRANT SELECT_CATALOG_ROLE TO REPORT_USER; GRANT EXECUTE ON dbms_workload_repository TO REPORT_USER;Note : From 12c onward, awr report contains addm output also