select snap_interval, retention from dba_hist_wr_control; SNAP_INTERVAL -------------------------------------------------- RETENTION -------------------------------------------------- +00 01:00:00.000000 +08 00:00:00.000000 execute dbms_workload_repository.modify_snapshot_settings(interval => 60,retention => 525600); select snap_interval, retention from dba_hist_wr_control; SNAP_INTERVAL -------------------------------------------------- RETENTION -------------------------------------------------- +00 01:00:00.000000 +365 00:00:00.000000
2012-03-14
Store more days of history
Diagnostic pack purchased. The default amount of days stored work load repository is eight days. This is how it is changed to 365 days:
Subscribe to:
Post Comments (Atom)
About Me
- Rafu
- I am Timo Raitalaakso. I have been working since 2001 at Solita Oy as a Senior Database Specialist. My main focus is on projects involving Oracle database. Oracle ACE alumni 2012-2018. In this Rafu on db blog I write some interesting issues that evolves from my interaction with databases. Mainly Oracle.
No comments:
Post a Comment