|
Re: Oracle 10.2G - emailling events every minutes ? [message #143605 is a reply to message #143596] |
Fri, 21 October 2005 03:45   |
Frank Naude
Messages: 4593 Registered: April 1998
|
Senior Member |
|
|
Hi,
I suspect that events are mailed out every time ADDM runs (after each AWR snapshot). Try to set this and let us know if it helps:
SQL> SELECT * FROM dba_hist_wr_control;
DBID SNAP_INTERVAL RETENTION TOPNSQL
---------- -------------------- -------------------- ----------
966815583 +00000 01:00:00.0 +00007 00:00:00.0 DEFAULT
SQL>
SQL> BEGIN
2 DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS(
3 retention => 43200,
4 interval => 10
5 );
6 END;
7 /
PL/SQL procedure successfully completed.
SQL>
SQL> SELECT * FROM dba_hist_wr_control;
DBID SNAP_INTERVAL RETENTION TOPNSQL
---------- -------------------- -------------------- ----------
966815583 +00000 00:10:00.0 +00030 00:00:00.0 DEFAULT
SQL>
BTW: Looks like the interval cannot go below 10 minutes.
Best regards.
Frank
|
|
|
|