Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • Index Range Scan Oracle
  • How can I tell if ASO is installed ? Oracle
  • Which environment is used by currently running process ( Very good) Linux/Unix
  • Temporary Tablespace Information and restriction. Oracle
  • column level grant syntax Oracle
  • T-SQL Vs PL/SQL Syntax SQL Server
  • find checksum of a file. Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • CTAS with LONG Column for 9i and higher Oracle
  • Reading parameter file and printing Linux/Unix
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • Search and Replace vi editor command. Linux/Unix
  • My Test Case On 21-OCT-2005 Oracle

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

  • sql_doing_fts.sql Oracle
  • Changing the Global Database Name Oracle
  • dbinv.sql Oracle
  • Gathering statistics with DBMS_STATS Oracle
  • configUOCIOTTO.ora Oracle
  • Rename Oracle Instance Name Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Generating XML from SQLPLUS Oracle
  • Find All internal Parameters Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • upload.html PHP/MYSQL/Wordpress
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme