Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Reading parameter file and printing Linux/Unix
  • DBMS_UTILITY PACKAGE Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • Implementing Listener Security Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • Locktree.sql Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • To see how much time or progress of long transaction Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • prepfiles.sh for step by step generating pending statistics files Oracle
  • DBMS_Shared_pool pinning triggers Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • SQLPLUS COPY command Precautions. Oracle
  • SQL Server: How to see historical transactions SQL Server

AWR settings- MMON is not taking snapshot.

Posted on 07-Nov-2005 By Admin No Comments on AWR settings- MMON is not taking snapshot.

POTENTIAL SOLUTION(S) for AWR Snapshot Error

============================================

(*) To take the snapshots we need to populate WRM$_SNAPSHOT table successfully and for that instance metadata should be present in WRM$_DATABASE_INSTANCE.

(*) To regenerate the AWR objects run catnoawr.sql and catawr.sql scripts from $ORACLE_HOME/rdbms/admin

(*) Then RESTART the database

So, if we have regenerated the AWR objects by running catnoawr.sql and catawr.sql, then we need to bounce the database. On restart of the database instance the WRM$_DATABASE_INSTANCE & Other internal objects will be populated with the required data. Then we can take manual snapshots and also MMON process will start collecting the snapshots.

Remember: If we are inserting manually into WRP$_DATABASE_INSTANCE, we are getting some errors while executing $ORACLE_HOME/rdbms/admin/awrrpt.

When we rename instance oracle still keeps the old hostname and old database information in WRM$_DATABASE_INSTANCE, so MMON might not be able to generate snapshot at specific interval. So its always needed to drop and re-generate AWR Objects when we are renaming database and instance name.

*) Then try generating the snapshots manually for testing purpose.

SQL> BEGIN

2 DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT(‘TYPICAL’);

3 END;

4 /

POTENTIAL SOLUTION JUSTIFICATION(S)

==================================

Note 308003.1 AWR Snapshots Not Generating

Oracle, SQL scripts

Post navigation

Previous Post: Changing the Global Database Name
Next Post: Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1

Related Posts

  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • Default User Profile Oracle
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • Rman Notes -1 Oracle
  • Create type and Grant on it. Oracle
  • Free conference number from http://www.freeconference.com Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • track_autoupgrade_copy_progress.sql Oracle
  • Korn Shell Arithmatic Linux/Unix
  • GSQ.sql Oracle
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • Which environment is used by currently running process ( Very good) Linux/Unix
  • create trigger syntax Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme