Global AWR report from laptop using dbms_workload_repository
Oracle Version 11.2.0.3 on AIX.
Can anybody help what I should be passing for l_inst_num if I want to get global (consolidated) AWR report in a RAC environment. I am trying generate this report on my laptop so can't use awrgrpt.sql.
DBMS_WORKLOAD_REPOSITORY.AWR_REPORT_HTML(
l_dbid IN NUMBER,
l_inst_num IN NUMBER,
l_bid IN NUMBER,
l_eid IN NUMBER,
l_options IN NUMBER DEFAULT 0)
I did study awrgrpt.sql and all the SQLs it is callling but couldn't figure out what it is using for the l_inst_num parameter. I tried passing 0 and 'ALL' and few other things. None of them working.
Thanks in advance.