Monitoring RMAN Session

I am using RMAN Duplicate command to clone production database to auxiliary database. My environment is Oracle 9.2.0.8 64 bit AIX 5.3
I have following scenario:
Duplicate database from server A to server B (Non ASM)
Primary Database SID: jldr
Duplicate Database SID: odsarch
RMAN Catalog SID: CATALOG
[email protected]:/home/oracle/dba/scripts>rman target sys/passwd@JLDR catalog rman/passwd@CATALOG auxiliary /
Recovery Manager: Release 9.2.0.8.0 - 64bit Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: JLDR (DBID=628146835)
connected to recovery catalog database
connected to auxiliary database: odsarch (not mounted)
RMAN> run {
set until time "to_date('Jun 01 2010 00:00:00','Mon DD YYYY HH24:MI:SS')";
ALLOCATE AUXILIARY CHANNEL c1 DEVICE TYPE sbt PARMS 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/TDPO.dw3_tdp)';
duplicate target database to orsarch NOFILENAMECHECK;
}2> 3> 4> 5>
channel c1: starting datafile backupset restore
channel c1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /u01/oradata/jldr_sys/data/system01.dbf
restoring datafile 00004 to /u01/oradata/jldr_sys/data/drsys01.dbf
restoring datafile 00048 to /u01/oradata/jldr_ods/index/ods_idx09.dbf
restoring datafile 00081 to /u02/oradata/jldr_ods/index/ods_idx21.dbf
restoring datafile 00084 to /u01/oradata/jldr_ods/data/ods37.dbf
restoring datafile 00085 to /u01/oradata/jldr_jbl/index/jbloader_idx04.dbf
restoring datafile 00090 to /u02/oradata/jldr_ods/data/ods40.dbf
restoring datafile 00091 to /u02/oradata/jldr_ods/index/ods_idx24.dbf
restoring datafile 00094 to /u02/oradata/jldr_ods/data/ods42.dbf
restoring datafile 00096 to /u02/oradata/jldr_ods/index/ods_idx26.dbf
restoring datafile 00097 to /u01/oradata/jldr_ods/data/ods44.dbf
restoring datafile 00099 to /u02/oradata/jldr_ods/data/ods46.dbf
restoring datafile 00102 to /u02/oradata/jldr_ods/data/ods48.dbf
restoring datafile 00104 to /u02/oradata/jldr_ods/data/ods50.dbf
restoring datafile 00105 to /u02/oradata/jldr_ods/data/ods51.dbf
restoring datafile 00107 to /u02/oradata/jldr_ods/data/ods53.dbf
restoring datafile 00109 to /u02/oradata/jldr_ods/data/ods55.dbf
restoring datafile 00111 to /u02/oradata/jldr_ods/data/ods57.dbf
restoring datafile 00112 to /u02/oradata/jldr_ods/index/ods_idx28.dbf
restoring datafile 00123 to /u01/oradata/jldr_eai/index/jbloader03.dbf
restoring datafile 00135 to /u01/oradata/jldr_eai/index/ods61.dbf
restoring datafile 00136 to /u01/oradata/jldr_ssr/index/ssr_idx02.dbf
released channel: c1
released channel: c2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 06/23/2010 23:48:52
RMAN-03015: error occurred in stored script Memory Script
ORA-19501: read error on file "kelf146d_1_1", blockno 530547201 (blocksize=512)
ORA-27190: skgfrd: sbtread2 returned error
ORA-19511: Error received from media manager layer, error text:
ANS1017E (RC-50) Session rejected: TCP/IP connection failure
RMAN> run {
set until time "to_date('Jun 01 2010 00:00:00','Mon DD YYYY HH24:MI:SS')";
ALLOCATE AUXILIARY CHANNEL c1 DEVICE TYPE sbt PARMS 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo_ods.opt)';
ALLOCATE AUXILIARY CHANNEL c2 DEVICE TYPE sbt PARMS 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo_ods.opt)';
duplicate target database to orsarch NOFILENAMECHECK;
skipping datafile 11; already restored to file /u01/oradata/jldr_jbl/data/jbloader01.dbf
skipping datafile 12; already restored to file /u01/oradata/jldr_ods/data/ods01.dbf
skipping datafile 90; already restored to file /u02/oradata/jldr_ods/data/ods40.dbf
skipping datafile 94; already restored to file /u02/oradata/jldr_ods/data/ods42.dbf
skipping datafile 97; already restored to file /u01/oradata/jldr_ods/data/ods44.dbf
skipping datafile 99; already restored to file /u02/oradata/jldr_ods/data/ods46.dbf
skipping datafile 102; already restored to file /u02/oradata/jldr_ods/data/ods48.dbf
skipping datafile 104; already restored to file /u02/oradata/jldr_ods/data/ods50.dbf
skipping datafile 105; already restored to file /u02/oradata/jldr_ods/data/ods51.dbf
skipping datafile 107; already restored to file /u02/oradata/jldr_ods/data/ods53.dbf
skipping datafile 109; already restored to file /u02/oradata/jldr_ods/data/ods55.dbf
skipping datafile 111; already restored to file /u02/oradata/jldr_ods/data/ods57.dbf
skipping datafile 119; already restored to file /u01/oradata/jldr_eai/index/scratch02.dbf
skipping datafile 123; already restored to file /u01/oradata/jldr_eai/index/jbloader03.dbf
skipping datafile 135; already restored to file /u01/oradata/jldr_eai/index/ods61.dbf
skipping datafile 136; already restored to file /u01/oradata/jldr_ssr/index/ssr_idx02.dbf
skipping datafile 108; already restored to file /u02/oradata/jldr_ods/data/ods54.dbf
skipping datafile 110; already restored to file /u02/oradata/jldr_ods/data/ods56.dbf
skipping datafile 118; already restored to file /u01/oradata/jldr_eai/index/scratch01.dbf
skipping datafile 131; already restored to file /u02/oradata/jldr_ods/data/ods58.dbf
skipping datafile 133; already restored to file /u02/oradata/jldr_ods/data/ods59.dbf
skipping datafile 134; already restored to file /u01/oradata/jldr_ods/data/ods60.dbf
skipping datafile 128; already restored to file /u01/oradata/jldr_ods/index_16k/ods_idx01_16K.dbf
channel c1: starting datafile backupset restore
channel c1: specifying datafile(s) to restore from backup set
restoring datafile 00003 to /u01/oradata/jldr_sys/data/cwmlite01.dbf
restoring datafile 00005 to /u01/oradata/jldr_sys/data/example01.dbf
restoring datafile 00006 to /u01/oradata/jldr_eai/index/eai_idx01.dbf
restoring datafile 00008 to /u01/oradata/jldr_sys/data/tools01.dbf
restoring datafile 00010 to /u01/oradata/jldr_sys/data/xdb01.dbf
restoring datafile 00014 to /u01/oradata/jldr_jbl/index/jbloader_idx01.dbf
restoring datafile 00015 to /u01/oradata/jldr_ods/data/business_objs01.dbf
restoring datafile 00016 to /u01/oradata/jldr_ods/data/tivoliorts.dbf
restoring datafile 00018 to /u01/oradata/jldr_ods/data/ACCTMIS.dbf
restoring datafile 00021 to /u01/oradata/jldr_mstmt/data/mis_stmt01.dbf
restoring datafile 00042 to /u01/oradata/jldr_jbl/index/jbloader_idx03.dbf
restoring datafile 00044 to /u01/oradata/jldr_ods/index/ods_idx08.dbf
restoring datafile 00051 to /u01/oradata/jldr_ods/index/ods_idx10.dbf
restoring datafile 00057 to /u01/oradata/jldr_ods/index/ods_idx12.dbf
restoring datafile 00062 to /u01/oradata/jldr_ods/index/ods_idx14.dbf
restoring datafile 00065 to /u01/oradata/jldr_ssr/data/ssr01.dbf
restoring datafile 00066 to /u01/oradata/jldr_ssr/index/ssr_idx01.dbf
restoring datafile 00072 to /u02/oradata/jldr_ods/index/ods_idx18.dbf
restoring datafile 00074 to /u01/oradata/jldr_enjaz/index/enjazfawri_idx01.dbf
restoring datafile 00078 to /u02/oradata/jldr_ods/index/ods_idx20.dbf
restoring datafile 00083 to /u02/oradata/jldr_ods/index/ods_idx22.dbf
restoring datafile 00086 to /u01/oradata/jldr_ods/data/ods38.dbf
restoring datafile 00087 to /u02/oradata/jldr_ods/index/ods_idx23.dbf
restoring datafile 00089 to /u01/oradata/jldr_eai/index/jbloader02.dbf
restoring datafile 00093 to /u02/oradata/jldr_ods/index/ods_idx25.dbf
restoring datafile 00100 to /u02/oradata/jldr_ods/index/ods_idx27.dbf
restoring datafile 00113 to /u02/oradata/jldr_ods/index/ods_idx29.dbf
restoring datafile 00115 to /u02/oradata/jldr_ods/index/ods_idx31.dbf
restoring datafile 00120 to /u01/oradata/jldr_sys/undo/undotbs02.dbf
channel c2: starting datafile backupset restore
channel c2: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /u01/oradata/jldr_sys/data/system01.dbf
restoring datafile 00004 to /u01/oradata/jldr_sys/data/drsys01.dbf
restoring datafile 00007 to /u01/oradata/jldr_sys/data/odm01.dbf
restoring datafile 00009 to /u01/oradata/jldr_sys/data/users01.dbf
restoring datafile 00013 to /u01/oradata/jldr_eai/index/eai_idx02.dbf
restoring datafile 00019 to /u01/oradata/jldr_ods/data/ACCOUNT.dbf
restoring datafile 00022 to /u01/oradata/jldr_mstmt/index/mis_stmt_idx01.dbf
restoring datafile 00075 to /u02/oradata/jldr_ods/index/ods_idx19.dbf
restoring datafile 00081 to /u02/oradata/jldr_ods/index/ods_idx21.dbf
restoring datafile 00085 to /u01/oradata/jldr_jbl/index/jbloader_idx04.dbf
restoring datafile 00091 to /u02/oradata/jldr_ods/index/ods_idx24.dbf
restoring datafile 00096 to /u02/oradata/jldr_ods/index/ods_idx26.dbf
restoring datafile 00112 to /u02/oradata/jldr_ods/index/ods_idx28.dbf
restoring datafile 00114 to /u02/oradata/jldr_ods/index/ods_idx30.dbf
restoring datafile 00116 to /u02/oradata/jldr_ods/index/ods_idx32.dbf
restoring datafile 00121 to /u01/oradata/jldr_sys/data/audit.dbf
Now, when I connect to database and try to see rman jobs:
sqlplus>select SID, START_TIME,TOTALWORK, sofar, (sofar/totalwork) * 100 done, sysdate + TIME_REMAINING/3600/24 end_at from v$session_longops where totalwork > sofar AND opname NOT LIKE '%aggregate%' AND opname like RMAN%' ;
SQL> @longops_rman.sql
SID START_TIME TOTALWORK SOFAR DONE END_AT
10 27/06/10 10:24:12 4654592 0 0
12 27/06/10 10:24:36 15918960 0 0
However, when we see from IBM TSM, it shows data is being moved from the tape storage to the machine by rman session. However, I cannot see anything in rman job inside database. Remember db is in 'startup nomount' state.
Br,
Anjum

Hi,
Just a thought that having the TIMED_STATISTICS parameter set to FALSE or failing to gather the statistics for the objects using DBMS_STATS are two possible reasons for no data through the v$session_longops.
regards

Similar Messages

  • Monitor a session

    I have a java application running at the front end.
    The user logs into the java application and access the data.
    I have user complaining regarding slow response of application(not always but atleast 2 to 3 times in a day while she is working)
    Since the user is accessing through JAVA application and the apps server we are using is weblogic,Iam not able to track her session.
    We are using ORACLE 9i ,and when I try to monitor the schema through which the data is accessed I see the status INACTIVE, though I asked user to logoff and login .
    I have tried monitoring v$session views but it didnt work.I usually have 5 to 6 sessions always in inactive state on my enterprise manager for that particular schema.
    Please help me out and give me a way how can I monitor or track that particular user.
    Iam new to administartion
    tahnk you
    Message was edited by:
    penn_vik

    Assuming that your middle tier is using a connection pool (the norm), the problem is that there is no relationship between a particular user's logical session and a physical database session. Each page the user hits in the application, for example, is potentially going to use a different connection from the connection pool and thus a different database session. And different users may be using the same database session just before and just after your user.
    In general, when you have this sort of architecture, you need to have instrumentation built into the middle tier application in order to get anything useful done, at least to the point that the middle tier can enable and disable tracing when it gets a connection from the pool for a particular logical user session. Otherwise, you could enable tracing for the entire database, which is going to be a significant overhead, and try to comb through dozens of trace files to figure out what sessions were related to your particular user, which is at a minimum likely to be a substantial undertaking.
    Justin

  • Monitoring Users session with specific profiles

    Hi,
    I created a specific profile that terminates a session with idle time 4 minutes. I would like to know how to monitoring which sessions are been disconnected by Oracle.
    Thanks in advance,

    enable auditing by using
    alter system set audit_trail = db scope=spfile
    and bounce
    Then issue audit connect
    The dba_audit_session view will have the reason why the process was disconnected.
    Sybrand Bakker
    Senior Oracle DBA

  • Monitoring Oracle session with SQL_ID

    Hi All,
    How can I know a SQL_ID belonging to a user/schema in Oracle. Can anyone post me the query to find the SQL QUERY/SQL_ID belonging to a user session. I have googled but dint get what i expected. Hope I get it here. We dont have OEM configured to monitor the session.
    Oracle DB version : 10.2.0.5
    OS version : IBM - AIX
    Regards,
    Imran Khan

    imran khan wrote:
    Hi All,
    How can I know a SQL_ID belonging to a user/schema in Oracle. Can anyone post me the query to find the SQL QUERY/SQL_ID belonging to a user session. I have googled but dint get what i expected. Hope I get it here. We dont have OEM configured to monitor the session.
    Oracle DB version : 10.2.0.5
    OS version : IBM - AIX
    Regards,
    Imran Khanlook for SQL_ID below
    SQL> desc v$session
    Name                                      Null?    Type
    SADDR                                              RAW(4)
    SID                                                NUMBER
    SERIAL#                                            NUMBER
    AUDSID                                             NUMBER
    PADDR                                              RAW(4)
    USER#                                              NUMBER
    USERNAME                                           VARCHAR2(30)
    COMMAND                                            NUMBER
    OWNERID                                            NUMBER
    TADDR                                              VARCHAR2(8)
    LOCKWAIT                                           VARCHAR2(8)
    STATUS                                             VARCHAR2(8)
    SERVER                                             VARCHAR2(9)
    SCHEMA#                                            NUMBER
    SCHEMANAME                                         VARCHAR2(30)
    OSUSER                                             VARCHAR2(30)
    PROCESS                                            VARCHAR2(24)
    MACHINE                                            VARCHAR2(64)
    PORT                                               NUMBER
    TERMINAL                                           VARCHAR2(30)
    PROGRAM                                            VARCHAR2(48)
    TYPE                                               VARCHAR2(10)
    SQL_ADDRESS                                        RAW(4)
    SQL_HASH_VALUE                                     NUMBER
    SQL_ID                                             VARCHAR2(13)
    SQL_CHILD_NUMBER                                   NUMBER
    SQL_EXEC_START                                     DATE
    SQL_EXEC_ID                                        NUMBER
    PREV_SQL_ADDR                                      RAW(4)
    PREV_HASH_VALUE                                    NUMBER
    PREV_SQL_ID                                        VARCHAR2(13)
    PREV_CHILD_NUMBER                                  NUMBER
    PREV_EXEC_START                                    DATE
    PREV_EXEC_ID                                       NUMBER
    PLSQL_ENTRY_OBJECT_ID                              NUMBER
    PLSQL_ENTRY_SUBPROGRAM_ID                          NUMBER
    PLSQL_OBJECT_ID                                    NUMBER
    PLSQL_SUBPROGRAM_ID                                NUMBER
    MODULE                                             VARCHAR2(64)
    MODULE_HASH                                        NUMBER
    ACTION                                             VARCHAR2(64)
    ACTION_HASH                                        NUMBER
    CLIENT_INFO                                        VARCHAR2(64)
    FIXED_TABLE_SEQUENCE                               NUMBER
    ROW_WAIT_OBJ#                                      NUMBER
    ROW_WAIT_FILE#                                     NUMBER
    ROW_WAIT_BLOCK#                                    NUMBER
    ROW_WAIT_ROW#                                      NUMBER
    TOP_LEVEL_CALL#                                    NUMBER
    LOGON_TIME                                         DATE
    LAST_CALL_ET                                       NUMBER
    PDML_ENABLED                                       VARCHAR2(3)
    FAILOVER_TYPE                                      VARCHAR2(13)
    FAILOVER_METHOD                                    VARCHAR2(10)
    FAILED_OVER                                        VARCHAR2(3)
    RESOURCE_CONSUMER_GROUP                            VARCHAR2(32)
    PDML_STATUS                                        VARCHAR2(8)
    PDDL_STATUS                                        VARCHAR2(8)
    PQ_STATUS                                          VARCHAR2(8)
    CURRENT_QUEUE_DURATION                             NUMBER
    CLIENT_IDENTIFIER                                  VARCHAR2(64)
    BLOCKING_SESSION_STATUS                            VARCHAR2(11)
    BLOCKING_INSTANCE                                  NUMBER
    BLOCKING_SESSION                                   NUMBER
    FINAL_BLOCKING_SESSION_STATUS                      VARCHAR2(11)
    FINAL_BLOCKING_INSTANCE                            NUMBER
    FINAL_BLOCKING_SESSION                             NUMBER
    SEQ#                                               NUMBER
    EVENT#                                             NUMBER
    EVENT                                              VARCHAR2(64)
    P1TEXT                                             VARCHAR2(64)
    P1                                                 NUMBER
    P1RAW                                              RAW(8)
    P2TEXT                                             VARCHAR2(64)
    P2                                                 NUMBER
    P2RAW                                              RAW(8)
    P3TEXT                                             VARCHAR2(64)
    P3                                                 NUMBER
    P3RAW                                              RAW(8)
    WAIT_CLASS_ID                                      NUMBER
    WAIT_CLASS#                                        NUMBER
    WAIT_CLASS                                         VARCHAR2(64)
    WAIT_TIME                                          NUMBER
    SECONDS_IN_WAIT                                    NUMBER
    STATE                                              VARCHAR2(19)
    WAIT_TIME_MICRO                                    NUMBER
    TIME_REMAINING_MICRO                               NUMBER
    TIME_SINCE_LAST_WAIT_MICRO                         NUMBER
    SERVICE_NAME                                       VARCHAR2(64)
    SQL_TRACE                                          VARCHAR2(8)
    SQL_TRACE_WAITS                                    VARCHAR2(5)
    SQL_TRACE_BINDS                                    VARCHAR2(5)
    SQL_TRACE_PLAN_STATS                               VARCHAR2(10)
    SESSION_EDITION_ID                                 NUMBER
    CREATOR_ADDR                                       RAW(4)
    CREATOR_SERIAL#                                    NUMBER
    ECID                                               VARCHAR2(64)

  • RMAN Session in Hung Status

    Hi ,
    We have observed  few issue while backing up the  archive logs through tapes ( Symantec Backup). Backup team told us that they are not able to see the jobs at their end running , while we are triggering the backup . Later on we find lot of rman session active in the database ( 27 RMAN Session in v$session)
    I have few question :
    > If there are already rman session which are in hung state , Even if we trigger the new backup , Will that complete trigger or they will also went into the hug state. ( I think new session will also goes into the hung state) . Symantec backup team said they don't have any issue at their end.
    >Generally we kill the all the backup processes at OS level ( ps -ef | grep rman & ps -ef | grep backup ) , Is that possible still few RMAN session doesn't get killed  from v$session. ( I am not sure about this , As per my understanding , if we kill any rman session at the OS level , it should be killed from the v$session)
    Database Version : 11gR2
    OS : AIX 6.1
    BACKUP : Symantec backup
    REgards
    Sourabh GUpta

    Hi ,
    We are just trying to find the RCA for this , I have few doubts based on that I will troubleshoot this :
    > If there are already rman session which are in hung state , Even if we fire  the new backup , Will that complete  or they will also went into the hug state. ( I think new session will also goes into the hung state) . Symantec backup team said they don't have any issue at their end.
    >Generally we kill the all the backup processes at OS level ( ps -ef | grep rman & ps -ef | grep backup ) , Is that possible still few RMAN session doesn't get killed  from v$session. ( I am not sure about this , As per my understanding , if we kill any rman session at the OS level , it should be killed from the v$session)
    Regards
    Sourabh Gupta

  • Script to monitor oracle sessions

    Hi i am looking for a script to monitor oracle sessions......which should find idle sessions which are idle for more than 25 mins and it should be killed...
    is that possible.
    Thanks

    user11278505 wrote:
    Hi i am looking for a script to monitor oracle sessions......which should find idle sessions which are idle for more than 25 mins and it should be killed...
    is that possible.
    ThanksYes it is, use Resource Manager to manage your users,
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/dbrm.htm#ADMIN027
    HTH
    Aman....

  • Monitor PeopleSoft sessions with Oracle Coherence

    Hello,
    I installed Oracle coherence ( one Cache Server ) and two managed servers ( PIA1 and PIA2 ---weblogic 10.3.4).When trying to monitor peoplesoft sessions thru weblogic admin console ( Deployments - Peoplesoft - / - Monitoring - Sessions tab ) nothing displays or no session info . I have parameters ( monitoring - id and session-monitor-enabled = true ) included in weblogic.xml file. Can anyone please guide me here on what I missing ?

    Yes I installed C*Web for weblogic session management when I login to Admin console under monitoring tab I can see the coherence servers under coherence tab but under sessions tab it display empty info ( ex it doesn't show who the user logged into the peoplesoft app) and I am not sure how to check the users logged info in the cache server.Can you please let me know if any parameters that needs to be checked wither in web.xml or weblogic.xml files.
    thanks NJ for your response...

  • Monitoring orphan sessions on db tier

    Hi,
    Is there a way to monitor orphan sessions on db tier? does any body have script to monitor and kill orphan sessions? appreciate your replies.

    user738145 wrote:
    Is there a way to monitor orphan sessions on db tier? does any body have script to monitor and kill orphan sessions? appreciate your replies.This is not really an Oracle problem. If the client does not say bye-bye to Oracle via the OCI (as a well behaved client should), the next layer deeper down needs to tell Oracle that.
    That means that the network layer (on the client side) needs to send a TCP packet to tear down the client-server network connection (done by setting the FIN/RSET bit in the packet header).
    Now if that network layer does not do that, the Oracle server process will not know the client is gone - and patiently sits idle waiting for the client to send instructions to the server to execute.
    The Oracle server process will only discover that the client is no longer there when it attempts to use the network connection to the client, from its side. A network connection that is deemed to be still valid by the protocol stack in the kernel of that server platform.
    There is a method called DCD (Dead Connection Detection) that can be configured in SQL*Net on the server - that instructs the server process to every now and then check the network link to the client and to determine if the connection is still valid and whether the client is still there and responding. See the SQLNET.EXPIRE_TIME SQL*NET parameter.

  • How to monitor active sessions in a cluster

    Hi all,
    we currently test failover of our WLS 11g cluster.
    How can I see in the Console to which managed server a client is connected?
    Thank you in advance
    Regards
    Rolf

    today i found a way to get the name of the server in a cluster which handles the active session, using a managed bean in my application.
    There i added a getter method
    public String getServerName() {
    return System.getProperty("weblogic.Name");
    and then I used an af:outputText with
    #{<mybean>.serverName}
    See this blog entry http://theblasfrompas.blogspot.com/2009/05/adf-failover-within-weblogic-103.html
    Is there realy no way to get something like client-ip:<managed server> using WLS console?
    I only found the number of requests (which is incrementing after reloading the console) in Deployments-> <application> -> Monitoring - Workload
    Regards Rolf
    Best Regards

  • Monitor historical session resources with sql statements

    Hi,
    I would like to write some queries to retrieve the following data from my database:
    For a certain day, give me the total
    physical read total bytes
    physical write total bytes
    cpu usage?
    from my sessions in the database. I have specific groups I want to monitor, certain logon users that run the same batch program.
    I guess the above stats are waits although I 'm not sure about cpu usage.
    Can I monitor this with dba_hist_active_sess_history? How do I translate the waits named above to the dba_hist_active_sess_history columns? I know this view only holds data for about 7 days, but that is fine.
    Kind regards,
    Nico

    I am almost there now. But this only works on Oracle 10.2
    On my Oracle 10.1 databases the wait_class and session state fields do not seem to be defined in:
    - v$active_session_history
    - dba_hist_active_sess_history
    Any ideas where I could find these in 10.1?
    regards
    SELECT * FROM (
    select
    --ash.session_id,
    u.username,
    ash.program,
    ash.MODULE,
    ash.session_state,
    Nvl(ash.wait_class,'Other') wait_class,
    sum(decode(ash.session_state,'ON CPU',1,0)) "CPU",
    sum(decode(ash.session_state,'WAITING',1,0)) -
    sum(decode(ash.session_state,'WAITING',
    decode(ash.wait_class,'User I/O',1, 0 ), 0)) "WAITING" ,
    sum(decode(ash.session_state,'WAITING',
    decode(ash.wait_class,'User I/O',1, 0 ), 0)) "IO"
    from v$active_session_history ash,
    --dba_hist_active_sess_history ash,
    dba_users u
    WHERE u.user_id = ash.user_id
    group by username,program,MODULE,session_state,wait_class
    order by cpu DESC

  • Monitor HTTP Sessions

    Hi,
    I want to monitor all http sessions on the SAP Portal. For this I know two possibilities
    - In the Visual Administrator -> Security Provider you can access the login sessions, but these are only the sessions of the authenticated users
    - In the NetWeaver Administrator -> System Monitoring, but there you can only see the amount of currenthttpsessions on the different servers
    I hope you can tell me where I'm able to see all current http sessions (anonymous and authenticated), and not only the amount.
    Bye,
    Timo

    Dear Timo,
    maybe Actiivty report can help on your case.
    http://help.sap.com/saphelp_nw04/helpdata/en/58/728ea01cf64fff996b827f2a06f9b1/content.htm
    http://wiki.sdn.sap.com/wiki/display/EP/CreatingaPortalActivityReportIviewformonitoringPageandIview+activities
    Please remember to evaluate the replays, this incentive the SDN to keep growing,
    regards,
    Fabio

  • Monitoring SSL sessions/sec on CSS

    Hello,
    I have been trying to find the right parameter via CLI or SNMP to monitor the number of SSL sessions/sec. We are using CSS 11503 with a SSL module supporting in theory 800 to 1000 SSL sessions/sec and I'd like to know what the current load is. I am graphing already the flows/sec but this too generic.
    Any help is appreciated.
    Thanks,
    Fabrice

    Fabrice,
    there might not be an exact counter for connection per seconds, but what most people do [with CSS or other devices] is capture the total number of connections every X seconds, make the difference and divide by X to get the average connection per seconds.
    You could use one or combination of the following counters
    CSS11503-2(debug)# sho ssl statistics | grep conn
    0 Handshake started for incoming SSL connections
    0 Handshake completed for incoming SSL connections
    0 Handshake started for outgoing SSL connections
    0 Handshake completed for outgoing SSL connections
    0 TCP connections failed
    0 TCP connections established
    0 TCP connections originated
    0 TCP connections terminated
    Gilles.

  • RMAN session

    Hi ,
    The DB version is 10.2.0.4. Whenever the archive log destination is full, the users were not able to login in to the database which means no new sessions are created. Using RMAN i used to delete the old archives older than n days. How does rman make a connection , creates a session to the database for this delete process??
    baskar.l

    baskar.l wrote:
    Hi ,
    The DB version is 10.2.0.4. Whenever the archive log destination is full, the users were not able to login in to the database which means no new sessions are created. Using RMAN i used to delete the old archives older than n days. How does rman make a connection , creates a session to the database for this delete process??
    baskar.lRMAN uses the Sys connection . If you check the alert log , it says, connect as Internal user . Since the internal was desupported since 9i and Sys has got the same functionality, RMAN can work using it.
    Aman....

  • Monitoring HTTP sessions

    Hi all,
    I'm just testing monitoring on a j2ee 6.20 pl35 and want some information on the http sessions.
    All documentation I can get hold of states that after PL27 there is a HTTP_SESSIONS shell command that adds this information to monitor data.
    However, as of PL35 I always get the command response: can't find command HTTP_SESSIONS, although I added the command group.
    Anyone who had the same problem and got it fixed?
    Regards,
    Walter

    Hi Walter,
    I believe this is an error in the documentation. There is no HTTP_SESSIONS shell command. Instead, the only command that deals with HTTP sessions is the HTTPSESSIONS one in the SERVLET_JSP command group (as you already found out yourself). However, this command is not supposed to add http sessions to monitored data, but just prints info about the active sessions on the server.
    If you need to add sessions to the monitored data, I guess you should use the INCLUDENODES shell command in the Monitor Server. The command is described in Administration Manual -> Configuration Tasks -> Using the Log System and Monitoring -> Monitoring -> Monitor Server Shell Commands section.
    Regards,
    Ivo
    P.S. I'll now make sure your feedback about the wrong shell command gets to the right people and the documentation is updated.

  • Monitoring conferencing sessions in CUCM ( How many ports used for conferencing)

    Hi
    How is it possible to see how many conferencing session or conferencing party is used in CUCM 9.1 system.  We are using conference bridges on call manager resources. But I 'm not sure, how many conferencing capacity we have?
    Is there any clue to see it?

    Hi there!
    Please find in RTMT the Performance section. Then choose needed cucm server and proceed to Cisco SW Conference Bridge Device.
    You can monitor this things:
    RosourceActive - shows how many parties connected
    RosourceAvailable - remained capacity
    RosourceTotal - total sw bridge capacity
    SWConferenceActive - shows how many conferences are active on sw brigde
    and other.

Maybe you are looking for