Automatic Database Diagnostic Monitor

Automatic Database Diagnostic Monitor (ADDM) detecta automaticamente com relatórios de desempenho e problemas com a base de dados. Os resultados são apresentados como descobertas do ADDM no banco de dados página inicial do Oracle Enterprise Manager (Enterprise Manager). Revendo as descobertas do ADDM permite identificar rapidamente os problemas de desempenho que exigem sua atenção.

Gerar report do addm com intervado do awr:

SELECT SNAP_ID,BEGIN_INTERVAL_TIME FROM DBA_HIST_SNAPSHOT ORDER BY BEGIN_INTERVAL_TIME DESC;
SQL

Report informando os ids do select acima:

@$ORACLE_HOME/rdbms/admin/addmrpt.sql
SQL

Outra maneira seria apenas realizando um select:

Select a.execution_end, b.type, b.impact, d.rank, d.type,
'Message : '||b.message MESSAGE,
'Command To correct: '||c.command COMMAND,
'Action Message : '||c.message ACTION_MESSAGE
From dba_advisor_tasks a, dba_advisor_findings b,
Dba_advisor_actions c, dba_advisor_recommendations d
Where a.owner=b.owner and a.task_id=b.task_id
And b.task_id=d.task_id and b.finding_id=d.finding_id
And a.task_id=c.task_id and d.rec_id=c.rec_Id
And a.task_name like 'ADDM%' and a.status='COMPLETED'
Order by b.impact, d.rank;
SQL

Leave a Reply

Your email address will not be published. Required fields are marked *

search previous next tag category expand menu location phone mail time cart zoom edit close