Frequently Asked Questions
AnswersHow can I generate Performance Hub active report?Performance Hub active reports can be generated directly from the EM Express live UI. Just navigate to the Performance Hub and click the Save button at the top of the page; this will issue a request to the database. Once the data has been retrieved, the user will be prompted for a location and filename; the user can now click OK and save the report locally. Alternatively, an active report can be generated by
directly invoking the PL/SQL procedure dbms_perf.report_perfhub_xml()
using "active" as the report type. For example, the
following SQL*Plus script shows you how to generate a
realtime PerfHub active report: set pages 0 linesize 32767 trimspool on trim on long 1000000 longchunksize 10000000 spool perfhub_active.html select dbms_perf.report_perfhub(is_realtime=>1,type=>'active') from dual; spool off The resulting file perfhub_active.html should
be edited to remove the header (first line in the file)
and the last line (spool off). The HTML file can now be
viewed in any browser, provided the browser can connect to
OTN to load the UI code needed to render the active
report. What other composite active reports are available?EM Express allows users to save composite active reports
for SQL Details, Session Details and SQL Monitor List. The SQL Details active report has been significantly
revamped in DB12. Like the Performance Hub active
report, it can be generated by clicking the Save button
from the UI, or from SQL*Plus using the dbms_perf.report_sql()
function. The Session Details active report can also be generated
from the UI, or from SQL*Plus using the dbms_perf.report_session()
function. The SQL Monitor List is already part of the Performance
Hub. To generate a standalone SQL Monitor list
active report, use the dbms_sqltune.report_sql_monitor_list()
function.
Why does the Performance Hub active report not include the Automatic Real Time ADDM active report?
An Automatic Real Time ADDM report can be viewed and
saved on its own. However, since it is essentially a
PerfHub active report, the report, when opened, will
display "Performance Hub" in its title instead of
Automatic Real Time ADDM. To see an
Automatic Real Time ADDM Active Report, click here.
Given a Composite Active Report, how can I determine the database from which it was saved?Click on the "Show Report Details" button at the top of
the active report. This will show additional
information about the report such as database name,
instance name, host name and the time frame for the
report.
What is the difference between 'basic', 'typical', and 'all' when saving an active report?
How large is a Composite Active
Report?
|
|||||||||||||||||||||
| |
|||||||||||||||||||||