Clearing alerts in Oracle 10g

I have several alerts in the Oracle 10g Enterprise Manager which I have already catered for. Is there a way to clear these alerts??

I looked thru the stored procs and I see a trigger for mgmt_current_severity and the mgmt$alert_current view shows you this data..
Looks like mgmt_current_severity is the key to these alerts..
I get the impression that 10g OEM was delivered missing quite a bit of the promised functionality .. like reporting and such.
So I expect a big update soon.

Similar Messages

  • Clearing Alerts in Oracle 10 EM

    al Salm 3likm
    hi forum
    i need to clear alerts in enterprize manager in oracle 10g
    i do the follow
    select t.target_name
    , t.target_type
    , collection_timestamp
    , message
    , 'exec em_severity.delete_current_severity(''' ||
    t.target_guid || ''',''' ||
    metric_guid || ''',''' ||
    key_value || ''')' em_severity
    from sysman.mgmt_targets t
    inner join
    sysman.mgmt_current_severity s
    on
    t.target_guid = s.target_guid;
    and
    execute out put as follow
    exec em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','F95BA0D95585002889E1ABF92B2DA7C3','TSMSYS')
    exec sysman.em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','F95BA0D95585002889E1ABF92B2DA7C3','TSMSYS');
    exec sysman.em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','F95BA0D95585002889E1ABF92B2DA7C3','MGMT_VIEW');
    exec sysman.em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','F95BA0D95585002889E1ABF92B2DA7C3','SYSMAN');
    exec sysman.em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','F95BA0D95585002889E1ABF92B2DA7C3','BB');
    exec sysman.em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','F95BA0D95585002889E1ABF92B2DA7C3','SSS');
    exec sysman.em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','D6438569B496BC9205481E8A70F92F1E','SYS_precastdbsrv');
    but alert not removed
    any idea

    Check this
    http://www.databasejournal.com/features/oracle/article.php/3694541/Clearing-Alerts-in-Enterprise-Manager.htm

  • Clearing alerts in EM 10g

    I have set up EM 10g on a W2K environment and everything is working fine but I have alerts on some targets that I have already taken care of but the do not "go away".
    Is there a way to clear alerts?
    For instance, last weekend an archive log disk got full. I resolved the incidence but I still have a red alert about log file switch %.
    Thanks for your help.

    But it looks awful when you see it because you automatically think there's a problem when there isn't !
    Old OEM 9 used to put the little green flag up when it cleared....
    Right ! Who's for hacking the PL/SQL ! :)

  • Alerts in Oracle 10g

    Please refer me any useful like/tut for creating Oracle Server genrated Alerts in 10g.
    Regards,
    Abbasi
    Edited by: Abbasi on Jul 1, 2010 1:51 PM

    if u cant access thru OEM use thi
    SQl>Begiin
    DBMS_SERVER_ALERT.SET_THRESHOLD(
    metric_id    =>DBMS_SERVER_ALERT.TABLESPACE_BYT_FREE,
    warning_operator   =>DBMS_SERVER_ALERT.OPERATOR_LE,
    warning_value    =>'10240',
    critical_operator   =>DBMS_SERVER_ALERT.OPERATOR_LE,
    critical_value    =>'2048',
    observation_period   =>1,
    consecutive_occurence   =>1,
    instance_name = NULL,
    object_type   =>DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,
    object_name   =>users);
    End;Note:The warning_value attribute set the bytes remaining alert warning threshold at 10 MB and the crtical value attribute sets the crtical threshold at 2 MB
    Edited by: Suhail Faraaz on Jul 1, 2010 4:09 AM

  • How to clear alert when a null value is returned for a metric column?

    Hey all,
    Recently, I've encountered a problem about clearing alert when a null value is returned for a metric column. From Oracle official doc, it seems that NO_CLEAR_ON_NULL could be used for this propose. However, it doesn't.
    Here is the line from doc, you can see when NO_CLEAR_ON_NULL is set as FALSE, the null value will clear alert, and the default value for NO_CLEAR_ON_NULL is FALSE.
    NO_CLEAR_ON_NULL: This attribute is used to control severity clearing when a null value is returned for a metric column. It defaults to FALSE with the behavior that a null value ends up clearing previous alert severities. With a TRUE value for this attribute, null values will be skipped in severity evaluations without clearing the severity.
    TRUE | FALSE (default)
    STATELESS_ALERTS: This attribute if set to TRUE indicates to EM that alerts on this
    column will not have corresponding clears. This allows the UI to decide whether to
    allow users to manually clear alerts on this column.
    TRUE | FALSE (default)Here is my code for the metric,
    -- meta definition
      <Metric NAME="Flushing_Table_Overtime" TYPE="TABLE" HELP="NO_HELP">
        <Display>
          <Label NLSID="mmd_ip">Flushing Table Overtime</Label>
        </Display>
        <TableDescriptor>
          <ColumnDescriptor NAME="State" TYPE="STRING" IS_KEY="FALSE">
            <Display>
              <Label NLSID="mmd_rc_State">State</Label>
            </Display>
          </ColumnDescriptor>
          <ColumnDescriptor NAME="Time_Seconds" TYPE="NUMBER" IS_KEY="FALSE">
            <Display>
              <Label NLSID="mmd_fto_Time_Seconds">Flush Table consume Seconds</Label>
            </Display>
          </ColumnDescriptor>
        </TableDescriptor>
        <ExecutionDescriptor>
          <GetTable NAME="MysqlProcessAggregate"/>
          <GetView NAME="v_flushing_tables" FROM_TABLE="MysqlProcessAggregate">
            <Column NAME="State" />
            <Column NAME="Time_Seconds" />
            <Filter COLUMN_NAME="State" OPERATOR="EQ">Flushing tables</Filter>
          </GetView>
        </ExecutionDescriptor>
      </Metric> 
    -- coll definition
      <CollectionItem NAME="Flushing_Table_Overtime">
        <Schedule>
          <IntervalSchedule INTERVAL="10" TIME_UNIT="Min" />
        </Schedule>
        <MetricColl NAME="Flushing_Table_Overtime">
          <Condition COLUMN_NAME="Time_Seconds"
                     CRITICAL="30" OPERATOR="GT"
                     MESSAGE="There is a Flushing Table command has exceeded %critical_threshold% seconds."
                     MESSAGE_NLSID="msg_Flushing_Table_Overtime" />
        </MetricColl>
      </CollectionItem>If this feature can not be achieved by coding XML, then is there a way to clear alert with Oracle Package? I have confirm neither sysman.em_severity.delete_current_severity nor sysman.em_severity.clear_alerts could do it.
    Would anyone give me a hint?
    Thanks in advance!
    Best wishes,
    Satine

    > I am executing in this manner
    var RESULT BOOLEAN;
    BUT I am unable to create variable with boolean data type.
    WARNING. Do not confuse SQL*Plus with PL/SQL.
    There is no variable command in PL/SQL. PL/SQL does support the boolean data type.
    There is a variable command in SQL*Plus. It allows one to define bind variables. It is limited in the data types it supports. It does not support boolean as a bind variable type.
    SQL*Plus is a CLI (Command Line Interface) client tool. It has a very limited vocabularly, allowing you to (primarily):
    a) configure its local environment (e.g. size of the terminal ito number of characters per lines)
    b) configure its bevahiour (e.g. spooling data to a file)
    c) defining substitution and bind variables
    And that's it. It is not PL/SQL. It is not SQL. It takes the PL/SQL and SQL you enter, and submit that to the Oracle server. (it does some basic parsing of the data to substitute variables and bind variables where applicable)
    Do not confuse this CLI client tool with the server side PL/SQL or SQL languages.

  • Understanding Oracle 10G - Server Generated Alerts

    Hi,
    Could you guys please tell me what is the difference Oracle 10G - Server Generated Alerts and alerts based on metric baseline and adaptive thresholds.
    Does the alerts based on metric baseline use the underlying Server Generated Alerts mechanism (MMON process etc)?
    Thanks,
    Neeraj

    I mean to say about the underlying concept.
    In oracle 9i, I used to use Oracle EM alerts that are carried out by EM daemon (EMD). Then in oracle 10g, Oracle introduced server-generated alerts, where MMON background process is responsible for generating these alerts.
    While reading oracle database 11g new features, I read about adaptive thresholds, metric baseline etc. I just checked that all these features were available in Oracle 10g itself. What is new?
    Secondly, how server-generated alerts are different from alerts based on adaptive thresholds?
    Hope this clear my doubts ...
    Regards,
    Neeraj

  • Oracle 10g Enterprise Manager console giving Alert log

    Dear all
    I have One HP server running Oracle 10g on Redhat Enterprise Linux 3.0 and two other systems with Oracle 9i and 8i. I have written sql query in my Oracle10g system which updates the database in 9i.
    The sql statement is
    CREATE MATERIALIZED VIEW ADASNAP REFRESH FAST START WITH SYSDATE NEXT SYSDATE+1 AS
    SELECT * FROM ADA@WCMMISLINK;
    CREATE MATERIALIZED VIEW BGTABSNAP REFRESH FAST START WITH SYSDATE NEXT SYSDATE+1 AS
    SELECT * FROM BGTAB@WCMMISLIN;
    The above query is sheduled to run every day .
    and i get the following Alert log in 10g enterprise manager console
    Generic Alert log ORA-12012: error on auto execute of job 54
    ORA-04052: error occured when looking up remote object WCMM.SYS@WCMMSERVERLINK
    ORA-00604: error occured at recursive SQL level 3
    ORA-12514: tns no listener
    ORA-06512: AT "SYS.DBMS_SNAPSHOT" line 1883
    can you guid me why the above error are occuring
    the ORA-12514: tns no listener
    the above error why it is occuring , then listener is running on oracle 10g server and other 8i and 9i server also and i am able to connect from oracle10g to other oracle 8i and 9i from sql plus and viceversa..
    what could be the problem with tns listener
    Regards
    Niranjan

    Hi Ugonic
    Sorry both are same, it's spelling mistake it's " WCMMISLINK". Acutally, my database is getting updated but this alert log is getting generated in enterprise manager console of 10g.
    The sql statement is
    CREATE MATERIALIZED VIEW ADASNAP REFRESH FAST START WITH SYSDATE NEXT SYSDATE+1 AS
    SELECT * FROM ADA@WCMMISLINK;
    CREATE MATERIALIZED VIEW BGTABSNAP REFRESH FAST START WITH SYSDATE NEXT SYSDATE+1 AS
    SELECT * FROM BGTAB@WCMMISLINK;
    The above query is sheduled to run every day .
    and i get the following Alert log in 10g enterprise manager console
    Generic Alert log ORA-12012: error on auto execute of job 54
    ORA-04052: error occured when looking up remote object WCMM.SYS@WCMMSERVERLINK
    ORA-00604: error occured at recursive SQL level 3
    ORA-12514: tns no listener
    ORA-06512: AT "SYS.DBMS_SNAPSHOT" line 1883
    can you guid me why the above error are occuring
    Regards
    Niranjan

  • Oracle 10g OCP Certified(1z0-042+1z0-043 Cleared) ~~~~~~~~

    Dear All,
    Today is Really a Great Day for my carrer and i want to share it with all of you.today i have cleared Oracle 10G OCP certification.
    i took six month for preparing this certification.Oracle sybex books and oracle notes is very useful and Real exp on oracle Really helps me lot.(specially on 10g)
    Overall Score in 10G OCP certification
    Oracle 10g Admin-1 92%.
    Oracle 10g Admin-2 96%.
    Thanks a lot for all of u for ur kind support and help for achieving this goal.and best of luck from my side who are preparing for OCP certification.
    Thanks and Regards
    Kuljeet Pal Singh

    Hi kulijeet,
    I am preparing for 1z0-042 and 1z0-043exam, I read that u have finished that exam,
    So can u please send me a copy of Sybex material , Really appreciated
    My email id is [email protected]
    I am not getting that study guide, it will be nice that if u help me out.
    Thanks in advance
    Hurmath

  • Oracle user.alert after unistalling 10g

    Hi,
    I'm getting following error after unistalling Oracle 10 .
    Platform : Sun solaris 2.8 Sparc
    Error Message :
    Dec 6 03:37:04 sunfire root: [ID 702911 user.alert] Waiting for filesystem containing /home/ora10g/product/10.1.0/db_1/bin/crsctl.

    I am also getting the same error when I uninstall Oracle 10g on Solaris 9. This is the error
    # Aug 24 11:23:58 warsaw last message repeated 76 times
    Aug 24 11:24:04 warsaw root: [ID 702911 user.alert] Waiting for filesystem containing /opt/u01/app/oracle/product/10.1.0/bin/crsctl.
    Any one have any ideas? ur help is greatly appreciated

  • Oracle 10g Graphs not as clear as Oracle 6i

    Hi,
    We have Oracle reports (with graphs) developed with 6i version. Now we are upgrading this to Oracle 10g.
    So I am re-creating the graphs using the graph wizard in Oracle 10g reports builder.
    The graph font and the axis lines are not as clear as the graphs in Oracle 6i. Is this the way it is in Oracle 10g or am I missing something?
    Pls. help
    Cheers - Aravind.

    not a vlid win32 installation". pls help...project on hold!!!!! The Media/Compact Disc may be damaged - try downloading Oracle 10 G Rel 2 again or try using Express Edition - which is less size than of Oracle 10 G Rel 2.

  • Oracle 10g Infrastructure database unavailable alert message!!!

    Dear All,
    I have installed Oracle 10g AS on A machine & Oracle 10g Infrastructure on B machine both are in sync form means Middle-tier A machine configured with Infrastructure B machine well i am facing a problem for few days that in a day 4 or 5 times Infrastructure get down & i get the message on Machine B "Infrastructure database is unavailable" why this is happening? if someone knows how to overcome this problem please let me know how
    Thanks,
    Waheed

    Dear have a look on below mentioned logs;
    error.log
    Error writing to log file. 68 messages lost.
    [Fri Feb 03 10:43:42 2006] [error] [client 10.140.140.143] [ecid: 1138945421:10.140.140.143:3652:4112:7569,0] mod_plsql: /pls/orasso/htp.p HTTP-503 ORA-257 Proxy log On failed.Please verify that you have specified correct connectivity information i.e. username, password & connect-string in the DAD
    HTTP_Server~1
    06/09/28 18:52:16 Start process
    fopen: No such file or directory
    Apache.exe: could not open document config file d:/ohinfra/rdbms/demo/aqxml.conf
    SSOServer.log
    Thu Sep 28 15:51:54 GMT+05:00 2006 [ERROR] Orion Launcher SSO: DB Error. Please make sure the database is available and restart SSO Server
    oracle.security.sso.server.util.DBException: Empty DB connect string. Could not create DB connection pool
         at oracle.security.sso.server.util.DBConnectionPool.init(DBConnectionPool.java:132)
         at oracle.security.sso.server.util.DBConnectionPool.init(DBConnectionPool.java:82)
         at oracle.security.sso.server.ui.SSOLoginServlet.init(SSOLoginServlet.java:233)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2141)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4582)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4676)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:820)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:542)
         at com.evermind.server.Application.getHttpApplication(Application.java:889)
         at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:690)
    Further guide me...Please
    Thanks,
    Waheed

  • How to setup DISK SPACE alert on OEM 10g Grid Control...

    Gurus,
    I am trying to setup DISK SPACE notification / alert thru OEM 10g Grid Control, but so far no luck.
    Can someone help/guide me on how to achieve this?
    Please advice.
    Thanks & Regards,
    Kartik

    Those two links don't say anything about "DISK SPACE ALERT" I already know how to setup notification. I suppose you are talking about Filesystem Space Available (%)
    If you need to setup an alert (Notification) then i suppose you need to setup an notification rule.
    Yes, these notes do not have the key word "DISK SPACE ALERT" you are looking for, but if you go through the first note CLEARLY and COMPLETELY, you should find your answer.
    And he has given an example for Filesystem space available in this note, which is what you are looking for.(I think so)
    Say for Disk Space, you create a notification rule for target hosts and have metric "Filesystem Space Available (%)" defined in that rule.
    If you aren't talking about notifications and just want to setup an filesystem space available metic, then follow this note:
    How To Setup Host Metrics For Filesystem
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=749341.1

  • Re-start Oracle 10g DB is required if server time is changed?

    I had a doubt that will a re-start of Oracle 10g DB be required if there is a change in server time? Our Server OS is RHEL 4.0(Linux). The server time is probably behind the time by 15 mins.
    I hope, my question is clear.
    Please, help in solving the doubt.
    regards

    Even though it is not required to stop/start the database when the OS time is changed, based on personal experience, I would highly recommend that you stop the applications and database before changing the OS time. We had Linux admin change the time once and mistakenly had the value for the year in the date out one year in the future. They caught the mistake quickly and reset to the to the proper date and time but the damage was already done. The time you spend fixing all jobs, especially if running Oracle applications where alerts and processes fire off thinking it is past time to run, is much less pain than scheduling a downtime for the time change and verifying the date/time befort starting things up again. It may be low risk and it up to you but it isn't fun trying to explain to the user community and management the reason that something like this happened.

  • Oracle 10G New Feature........Part 1

    Dear all,
    from last couple of days i was very busy with my oracle 10g box,so i think this is right time to
    share some intresting feature on 10g and some internal stuff with all of you.
    Have a look :-
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Oracle 10g Memory and Storage Feature.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1.Automatic Memory Management.
    2.Online Segment Shrink
    3.Redolog Advisor, checkpointing
    4.Multiple Temporary tablespace.
    5.Automatic Workload Repository
    6.Active Session History
    7.Misc
    a)Rename Tablespace
    b)Bigfile tablespace
    c)flushing buffer cache
    8.ORACLE INTERNAL
    a)undocumented parameter (_log_blocks_during_backup)
    b)X$ view (x$messages view)
    c)Internal Structure of Controlfile
    1.Automatic memory management
    ================================
    This feature reduce the overhead of oracle DBA.previously mostly time we need to set diff oracle SGA parameter for
    better performance with the help of own experience,advice views and by monitoring the behaviour
    of oracle database.
    this was just time consuming activity.........
    Now this feature makes easy life for oracle DBA.
    Just set SGA_TARGET parameter and it automatically allocate memory to different SGA parameter.
    it focus on DB_CACHE_SIZE
    SHARED_POOL_SIZE
    LARGE_POOL
    JAVA_POOL
    and automatically set it as
    __db_cache_size
    __shared_pool_size
    __large_pool_size
    __java_pool_size
    check it in alert_log
    MMAN(memory manager) process is new in 10g and this is responsible for sga tuning task.
    it automatically increase and decrease the SGA parameters value as per the requirement.
    Benefit:- Maximum utlization of available SGA memory.
    2.Online Segment Shrink.
    ==========================
    hmmmmm again a new feature by oracle to reduce the downtime.Now oracle mainly focus on availablity
    thats why its always try to reduce the downtime by intrducing new feature.
    in previous version ,reducing High water mark of table was possible by
    Exp/imp
    or
    alter table move....cmd. but on these method tables was not available for normal use for long hrs if it has more data.
    but in 10g with just few command we can reduce the HWmark of table.
    this feature is available for ASSM tablespaces.
    1.alter table emp enable row movement.
    2.alter table emp shrink space.
    the second cmd have two phases
    first phase is to compact the segment and in this phase DML operations are allowed.
    second phase(shrink phase)oracle shrink the HWM of table, DML operation will be blocked at that time for short duration.
    So if want to shrink the HWM of table then we should use it with two diff command
    first compact the segment and then shrink it on non-peak hrs.
    alter table emp shrink space compact. (This cmd doesn't block the DML operation.)
    and alter table emp shrink space. (This cmd should be on non-peak hrs.)
    Benefit:- better full table scan.
    3.Redolog Advisor and checkpointing
    ================================================================
    now oracle will suggest the size of redo log file by V$INSTANCE_RECOVERY
    SELECT OPTIMAL_LOGFILE_SIZE
    FROM V$INSTANCE_RECOVERY
    this value is influence with the value of FAST_START_MTTR_TARGET .
    Checkpointing
    Automatic checkpointing will be enable after setting FAST_START_MTTR_TARGET to non-zero value.
    4.Multiple Temporary tablespace.
    ==================================
    Now we can manage multiple temp tablespace under one group.
    we can create a tablespace group implicitly when we include the TABLESPACE GROUP clause in the CREATE TEMPORARY TABLESPACE or ALTER TABLESPACE statement and the specified tablespace group does not currently exist.
    For example, if group1 is not exists,then the following statements create this groups with new tablespace
    CREATE TEMPORARY TABLESPACE temp1 TEMPFILE '/u02/oracle/data/temp01.dbf'
    SIZE 50M
    TABLESPACE GROUP group1;
    --Add Existing temp tablespace into group by
    alter tablespace temp2 tablespace group group1.
    --we can also assign the temp tablespace group on database level as default temp tablespace.
    ALTER DATABASE <db name> DEFAULT TEMPORARY TABLESPACE group1;
    benefit:- Better I/O
    One sql can use more then one temp tablespace
    5.AWR(Automatic Workload Repository):-
    ================================== AWR is built in Repository and Central point of Oracle 10g.Oracle self managing activities
    is fully dependent on AWR.by default after 1 hr, oracle capure all database uses information and store in AWR with the help of
    MMON process.we called it Memory monitor process.and all these information are kept upto 7 days(default) and after that it automatically purge.
    we can generate a AWR report by
    SQL> @?/rdbms/admin/awrrpt
    Just like statspack report but its a advance and diff version of statspack,it provide more information of Database as well as OS.
    it show report in Html and Text format.
    we can also take manually snapshot for AWR by
    BEGIN
    DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT ();
    END;
    **The STATISTICS_LEVEL initialization parameter must be set to the TYPICAL or ALL to enable the Automatic Workload Repository.
    [oracle@RMSORA1 oracle]$ sqlplus / as sysdba
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Mar 17 10:37:22 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> @?/rdbms/admin/awrrpt
    Current Instance
    ~~~~~~~~~~~~~~~~
    DB Id DB Name Inst Num Instance
    4174002554 RMSORA 1 rmsora
    Specify the Report Type
    ~~~~~~~~~~~~~~~~~~~~~~~
    Would you like an HTML report, or a plain text report?
    Enter 'html' for an HTML report, or 'text' for plain text
    Defaults to 'html'
    Enter value for report_type: text
    Type Specified: text
    Instances in this Workload Repository schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    DB Id Inst Num DB Name Instance Host
    * 4174002554 1 RMSORA rmsora RMSORA1
    Using 4174002554 for database Id
    Using 1 for instance number
    Specify the number of days of snapshots to choose from
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Entering the number of days (n) will result in the most recent
    (n) days of snapshots being listed. Pressing <return> without
    specifying a number lists all completed snapshots.
    Listing the last 3 days of Completed Snapshots
    Snap
    Instance DB Name Snap Id Snap Started Level
    rmsora RMSORA 16186 16 Mar 2006 17:33 1
    16187 16 Mar 2006 18:00 1
    16206 17 Mar 2006 03:30 1
    16207 17 Mar 2006 04:00 1
    16208 17 Mar 2006 04:30 1
    16209 17 Mar 2006 05:00 1
    16210 17 Mar 2006 05:31 1
    16211 17 Mar 2006 06:00 1
    16212 17 Mar 2006 06:30 1
    16213 17 Mar 2006 07:00 1
    16214 17 Mar 2006 07:30 1
    16215 17 Mar 2006 08:01 1
    16216 17 Mar 2006 08:30 1
    16217 17 Mar 2006 09:00 1
    Specify the Begin and End Snapshot Ids
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Enter value for begin_snap: 16216
    Begin Snapshot Id specified: 16216
    Enter value for end_snap: 16217
    End Snapshot Id specified: 16217
    Specify the Report Name
    ~~~~~~~~~~~~~~~~~~~~~~~
    The default report file name is awrrpt_1_16216_16217.txt. To use this name,
    press <return> to continue, otherwise enter an alternative.
    Benefit:- Now DBA have more free time to play games.....................:-)
    Advance version of statspack
    more DB and OS information with self managing capabilty
    New Automatic alert and database advisor with the help of AWR.
    6.Active Session History:-
    ==========================
    V$active_session_history is view that contain the recent session history.
    the memory for ASH is comes from SGA and it can't more then 5% of Shared pool.
    So we can get latest and active session report from v$active_session_history view and also get histortical data of
    of session from DBA_HIST_ACTIVE_SESS_HISTORY.
    v$active_session_history include some imp column like:-
    ~SQL identifier of SQL statement
    ~Object number, file number, and block number
    ~Wait event identifier and parameters
    ~Session identifier and session serial number
    ~Module and action name
    ~Client identifier of the session
    7.Misc:-
    ========
    Rename Tablespace:-
    =================
    in 10g,we can even rename a tablespace by
    alter tablespace <tb_name> rename to <tb_name_new>;
    This command will update the controlfile,data dictionary and datafile header,but dbf filename will be same.
    **we can't rename system and sysaux tablespace.
    Bigfile tablespace:-
    ====================
    Bigfile tablespace contain only one datafile.
    A bigfile tablespace with 8K blocks can contain a 32 terabyte datafile.
    Bigfile tablespaces are supported only for locally managed tablespaces with automatic segment-space management.
    we can take the advantage of bigfile tablespace when we are using ASM or other logical volume with RAID.
    without ASM or RAID ,it gives poor response.
    syntax:-
    CREATE BIGFILE TABLESPACE bigtbs
    Flushing Buffer Cache:-
    ======================
    This option is same as flushing the shared pool,but only available with 10g.
    but i don't know, whats the use of this command in prod database......
    anyway we can check and try it on test server for tuning n testing some query etc....
    SQL> alter system flush buffer_cache;
    System altered.
    ++++++++++++++++++
    8.Oracle Internal
    ++++++++++++++++++
    Here is some stuff that is not related with 10g but have some intresting things.
    a)undocumented parameter "_log_blocks_during_backup"
    ++++++++++++++++++++++++
    as we know that oracle has generate more redo logs during hotbackup mode because
    oracle has to maintain the a complete copy of block into redolog due to split block.
    we can also change this behaviour by setting this parameter to False.
    If Oracle block size equals the operating system block size.thus reducing the amount of redo generated
    during a hot backup.
    WITHOUT ORACLE SUPPORT DON'T SET IT ON PROD DATABASE.THIS DOCUMENT IS JUST FOR INFORMATIONAL PURPOSE.
    b)some X$ views (X$messages)
    ++++++++++++++++
    if you are intresting in oracle internal architecture then x$ view is right place for getting some intresting things.
    X$messages :-it show all the actions that a background process do.
    select * from x$messages;
    like:-
    lock memory at startup MMAN
    Memory Management MMAN
    Handle sga_target resize MMAN
    Reset advisory pool when advisory turned ON MMAN
    Complete deferred initialization of components MMAN
    lock memory timeout action MMAN
    tune undo retention MMNL
    MMNL Periodic MQL Selector MMNL
    ASH Sampler (KEWA) MMNL
    MMON SWRF Raw Metrics Capture MMNL
    reload failed KSPD callbacks MMON
    SGA memory tuning MMON
    background recovery area alert action MMON
    Flashback Marker MMON
    tablespace alert monitor MMON
    Open/close flashback thread RVWR
    RVWR IO's RVWR
    kfcl instance recovery SMON
    c)Internal Structure of Controlfile
    ++++++++++++++++++++++++++++++++++++
    The contents of the current controlfile can be dumped in text form.
    Dump Level Dump Contains
    1 only the file header
    2 just the file header, the database info record, and checkpoint progress records
    3 all record types, but just the earliest and latest records for circular reuse record types
    4 as above, but includes the 4 most recent records for circular reuse record types
    5+ as above, but the number of circular reuse records included doubles with each level
    the session must be connected AS SYSDBA
    alter session set events 'immediate trace name controlf level 5';
    This dump show lots of intresting information.
    it also show rman recordes if we used this controlfile in rman backup.
    Thanks
    Kuljeet Pal Singh

    You can find each doc in html and pdf format on the Documentation Library<br>
    You can too download all the documentation in html format to have all on your own computer here (445.8MB)<br>
    <br>
    Nicolas.

  • Oracle 10g to 11g Upgrade - Oracle Clusterware problem

    Oracle10g RAC (2 Nodes) RHEL 4 64bit
    Hi All,
    I have began the procedure for upgrading Oracle Clusterware to 11g. However, during the install OUI was giving me certain error messages like it couldn't transfer the OUI installlogs to node 2. Well, I kept pushing through the install and after I ran the last rootupgrade script on node 2 it gave me the following error:
    Checking the existence of nodeapps on this node
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Creating '/crs/home/install/paramfile.crs' with data used for CRS configuration
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Failed to retrieve VIP details
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Failed to retrieve VIP details
    Setting CRS configuration values in /crs/home/install/paramfile.crs
    So I ignored the error for the time being and after that I checked the status of crs and it gave me the following:
    [oracle@vtl-rac2 crsd]$ crsstatus
    HA Resource Target State
    ora.VMRACDEV.VMRACDEV1.inst ONLINE ONLINE on vtl-rac1
    ora.VMRACDEV.VMRACDEV2.inst ONLINE ONLINE on vtl-rac2
    ora.VMRACDEV.db ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.ASM1.asm ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.LISTENER_VTL-RAC1.lsnr ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.gsd ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.ons ONLINE OFFLINE
    ora.vtl-rac1.vip ONLINE ONLINE on vtl-rac1
    ora.vtl-rac2.ASM2.asm ONLINE ONLINE on vtl-rac2
    ora.vtl-rac2.LISTENER_VTL-RAC2.lsnr ONLINE ONLINE on vtl-rac2
    ora.vtl-rac2.gsd ONLINE ONLINE on vtl-rac2
    ora.vtl-rac2.ons ONLINE OFFLINE
    ora.vtl-rac2.vip ONLINE ONLINE on vtl-rac2
    So i tried to bring it back up by doing a crs_stop -all and crs_start -all and it gave me the following error:
    vtl-rac1 : CRS-1019: Resource ora.vtl-rac2.ons (application) cannot run on vtl-rac1
    Start of `ora.vtl-rac1.ons` on member `vtl-rac1` failed.
    vtl-rac2 : CRS-1019: Resource ora.vtl-rac1.ons (application) cannot run on vtl-rac2
    CRS-0223: Resource 'ora.VMRACDEV.db' has placement error.
    CRS-0215: Could not start resource 'ora.vtl-rac1.ons'.
    CRS-0215: Could not start resource 'ora.vtl-rac2.ons'.
    I am thinking that all of this is caused by the various issues I had with the install. If I am incorrect, then please let me know. If it is true, I would like to know if there are any 11g docs on how to clean up a failed clusterware upgrade. Any advice would be greatly appreciated on any of the situations I am having.
    Thank you

    Hi Chandra,
    Did CVU report any problems before the upgrade?No, there were no errors reported by CVU before the upgrade.
    I don't there is note out there for cleaning 11g CRS
    install...and I think can very use the 10g CRS note -
    239998.1.Yeah I might have to go that way.
    I have both the 11g CRS install and upgrade from 10g
    to 11CRS at
    http://chandradba.blogspot.com/2007/08/oracle-11g-rac-
    install-on-red-hat-50.html
    and
    http://chandradba.blogspot.com/2008/02/oracle-10g-crs-
    upgrade-to-11g-crs.html
    see if it helps.Yup, your guide is very simple, clear and error proof :) That's how mine when pretty much except right around 75% I started getting these strange errors of files not being able to be transferred to node 2. Anyways, it shouldn't be a problem as none of those errors were configuration related...or else I would have a messed up cluster.
    Well, I actually rebooted both machines and now the whole CRS stack is up!! So I guess I am ok. We'll just have to wait and see.
    Thanks for your help Chandra...I always appreciate it.

Maybe you are looking for

  • IS there a way to edit a detail (title) in N97's c...

    I just switched from N95 to N97 and was shocked to find out that there is no way to edit the detail(s) in a contact, i.e. to change the title from "Mobile" to say "Telephone (Home)" and so on! The N97 will allow only the addition and deletion of a de

  • Camera Roll Trouble

    OK, so when I go to the photos app on my iPhone 3GS, and I tap Camera Roll, only about half of my pictures show up. The rest are simply black thumbnails. However, when I tap on one, the picture shows up full screen. This is really annoying, and I wou

  • Vendor classification and sub classification

    All, we have list of vendors with classification and sub classification. They need to print the vendor line item report with these two classification.  For example Vendor abc has classification of non-raw material and sub classification of indirect m

  • Deleted site, but still have the files

    ok, i had 2 websites in iweb. no problem, i was publishing to folders then uploading to a non .mac site. finally got .mac and uploaded my site, but it kept doing both, so i deleted the one i didn't wan ton .mac and assumed i could take the published

  • Display rows for empty and mesure values

    Hi, We are building live office objects charts on top of WEBI documents and facing an issue while refreshing the data in live office object for empty measure and empty dimension values. Charts are pointed to the data cells in the live office table an