Top Sessions

Is there a way to permanently keep my customized settings for Top Session?
I always want to see All Active Sessions, why is it that i must always click on the customize button first?
Thanks
Randy

I'm not aware of any way to save the customizations set in Top Consumers/Top Sessions. I've never seen that done before.
Possibly an enhancement request?
If anyone else, has done this let me know, but I've not seen it.

Similar Messages

  • Top sessions from sql

    hi
    How can i get the top 5 or 2 users who consuming large physical and logical i/o s,like we getting the top sessions in OEM.I dont want to use OEM.Is it v$filestat and v$session?
    with regards
    ramya

    You can use v$sesstat and v$session. Something like :
    select * from (select
    b.username,
    b.terminal,
    to_char(b.logon_time,'dd/mm/yyyy hh24:mi:ss'),
    b.program,
    a.value
    from v$sesstat a, v$session b
    where a.statistic# in (40, 41, 42) and
    b.sid = a.siD and
    b.username is not null and
    b.username not like 'SYS%'
    order by a.value desc)
    where rownum < 6;In v$statname you can see all statistics, and eventually change statistic#.

  • Missing dll in top sessions monitor..

    I installed OEM V9.0.1 on Win2K workstation. I am able to launch Enterprise manager console, access schema, etc,
    but when I click on TOP SESSIONS MONITOR (after entering the user id & password), i get the following error
    "the dynamic link library oravppdc.dll could not be found in the specified path"
    I have searched all the directories for this dll, but I am not able to find it. where can I find it ?
    thanks & regards

    Hello,
    Check SAP note 1145609 and see if it helps.
    Regards,
    David

  • Invalid values in 'Top Sessions'

    I have a newly install OEM grid control and on the "Top Sessions" page for multiple databases, I am seeing 'bad' values for every session on numerous columns, i.e.
    CPU (1/100 sec) 1127219200
    Logical Reads 1106247680
    Hard Parses 1127219200
    Disk Sorts 5658315534953873408
    I am getting these result against both 10.2.0.1 and 9.2.0.6 version databases. I have used 'Monitoring Configuration' to setup the dbsnmp user and install statspack. It seems to me as though I must have a bad version of the statspack tables or something.
    Thanks for your help!

    I am also facing same issue.. in fact, in our case, all the values in the columns like Disk sorts, total parses, hard parses are all same for all the sessions.
    And our target OS is
    SunOS 5.9 Generic_118558-22 (64-bit) .
    Would you please pos the bug number, so I can gather some more info.

  • About Top session in a DB

    Hi,all,
    I need to decide what is top session in a DB, to see how much it would consume resource in that server. When I use TOAD to do it, I find these are so many factors when I make dicision. such as "CPU used by","Physical write" ...
    That means "It is top session sort by CPU used by". So I want to know those essential factors, by which certain session would consume much resource.
    Do you have any advice? Are there any scripts on hand to do this job,except third-part tool like TOAD?
    Robin

    However when I want to work with the top sessions I use the Performance Manager ( This is part of OEM ). These are its advices and descriptions.
    Top SessionsSessions are displayed in descending order based upon the delta value of the statistic chosen as the sort statistic. This is a customizable chart that allows sorting and filtering of sessions based upon a number of user settable criterion.Typically the session that is performing the most I/O is the session that should be targetted for tuning. To identify the SQL statement the session is currently executing you can drill down to the Current SQL Chart. From this drilldown you can choose to tune the SQL statement directly.Complete detailed information about any session can be found by selecting the session and drilling down to the Session Details Chart. This chart allows you to view the current SQL statement as well as resource consumption and performance metrics at the same time.The list of all cursors the session has currently open is available through the Open Cursors For This Session Chart. This helps identify all the SQL statements the session is using. From this chart SQL statements can be selected for tuning further drilldown and analysis.This chart can be used to create a customized Top Sessions view. All of the available statistics and identifiers for sessions are shown in a large table by default. By using the Set Options button in the toolbar the chart can be customized to show only the items of interest and the sort criteria can be changed. Customized charts can then be saved, named and accessed directly by name. Specific advice for each of the data items shown on this chart is available below.This chart includes the following data items:
    Session NameDescription This data item represents either the Oracle username of the current session or, if the session is owned by an Oracle background process, the name of the background process. Data Source select NVL(s.username, b.name) from v$session s, v$bgprocess b User Action The session name is useful in determining which database users are consuming the most resources. If there is a need to prevent a particular session from consuming too much, one way to control resource usage is to create a resource profile. This profile can then be applied to the Oracle user specified in the session name. The profile provides hard limits on any resource that is explicitly added to it. Some of the resources that can be controlled with profiles are cpu usage, idle time, connect time, etc.
    OS UsernameDescription This data item represents the name of the operating system client user. That is the username reported at the time of the database connection time from the operating system. Data Source select osuser from v$session User Action The operating system username can be useful if more than one OS user shares a particular Oracle account (such as SYSTEM). If the session name is not unique, the OS username may provide the identity of the user for the session.
    and so on...
    Do you have OEM ?
    Joel Pérez

  • Top Session / SQL in OEM 10g

    friends,
    In oracle 10g enterprise manager, i can find top 10 sessions and sql information in graphical view. Can you provide me sql command for this this graphical view?
    Waiting for your quick answers.
    regards
    Irfan Ahmad

    If you want to find the exact sql, then trace the OEM page.
    If you want to write your own statement, then it depends on what you mean by "top 10 sessions". By CPU ? BY IO ? By runtime.
    You can check the AWR and Statspack code to see what statements they use, or you can find lots of examples using google.

  • Top sessions query

    Hello does anyone have a query that I can use to show sid, serial# and current SQL for a specified user. I know there are tools out there but there is no budget for anything now and OEM is acting very unstable in my environment. I keep having to shut it down and restart it. My Oracle version is 9.2.0.8 on Sun Solaris 9. Thank you for your input.
    -- David

    Justin, I do not have a sql_id in my v$session or v$sql. This is for 10g and above. I am running 9.2.0.8.
    SQL> desc v$session
    Name                                      Null?    Type
    SADDR                                              RAW(8)
    SID                                                NUMBER
    SERIAL#                                            NUMBER
    AUDSID                                             NUMBER
    PADDR                                              RAW(8)
    USER#                                              NUMBER
    USERNAME                                           VARCHAR2(30)
    COMMAND                                            NUMBER
    OWNERID                                            NUMBER
    TADDR                                              VARCHAR2(16)
    LOCKWAIT                                           VARCHAR2(16)
    STATUS                                             VARCHAR2(8)
    SERVER                                             VARCHAR2(9)
    SCHEMA#                                            NUMBER
    SCHEMANAME                                         VARCHAR2(30)
    OSUSER                                             VARCHAR2(30)
    PROCESS                                            VARCHAR2(12)
    MACHINE                                            VARCHAR2(64)
    TERMINAL                                           VARCHAR2(30)
    PROGRAM                                            VARCHAR2(48)
    TYPE                                               VARCHAR2(10)
    SQL_ADDRESS                                        RAW(8)
    SQL_HASH_VALUE                                     NUMBER
    PREV_SQL_ADDR                                      RAW(8)
    PREV_HASH_VALUE                                    NUMBER
    MODULE                                             VARCHAR2(48)
    MODULE_HASH                                        NUMBER
    ACTION                                             VARCHAR2(32)
    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
    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)
    SQL> desc v$sql
    Name                                      Null?    Type
    SQL_TEXT                                           VARCHAR2(1000)
    SHARABLE_MEM                                       NUMBER
    PERSISTENT_MEM                                     NUMBER
    RUNTIME_MEM                                        NUMBER
    SORTS                                              NUMBER
    LOADED_VERSIONS                                    NUMBER
    OPEN_VERSIONS                                      NUMBER
    USERS_OPENING                                      NUMBER
    FETCHES                                            NUMBER
    EXECUTIONS                                         NUMBER
    USERS_EXECUTING                                    NUMBER
    LOADS                                              NUMBER
    FIRST_LOAD_TIME                                    VARCHAR2(19)
    INVALIDATIONS                                      NUMBER
    PARSE_CALLS                                        NUMBER
    DISK_READS                                         NUMBER
    BUFFER_GETS                                        NUMBER
    ROWS_PROCESSED                                     NUMBER
    COMMAND_TYPE                                       NUMBER
    OPTIMIZER_MODE                                     VARCHAR2(10)
    OPTIMIZER_COST                                     NUMBER
    PARSING_USER_ID                                    NUMBER
    PARSING_SCHEMA_ID                                  NUMBER
    KEPT_VERSIONS                                      NUMBER
    ADDRESS                                            RAW(8)
    TYPE_CHK_HEAP                                      RAW(8)
    HASH_VALUE                                         NUMBER
    PLAN_HASH_VALUE                                    NUMBER
    CHILD_NUMBER                                       NUMBER
    MODULE                                             VARCHAR2(64)
    MODULE_HASH                                        NUMBER
    ACTION                                             VARCHAR2(64)
    ACTION_HASH                                        NUMBER
    SERIALIZABLE_ABORTS                                NUMBER
    OUTLINE_CATEGORY                                   VARCHAR2(64)
    CPU_TIME                                           NUMBER
    ELAPSED_TIME                                       NUMBER
    OUTLINE_SID                                        NUMBER
    CHILD_ADDRESS                                      RAW(8)
    SQLTYPE                                            NUMBER
    REMOTE                                             VARCHAR2(1)
    OBJECT_STATUS                                      VARCHAR2(19)
    LITERAL_HASH_VALUE                                 NUMBER
    LAST_LOAD_TIME                                     VARCHAR2(19)
    IS_OBSOLETE                                        VARCHAR2(1)
    CHILD_LATCH                                        NUMBEREdited by: JesusLuvR on Jan 30, 2009 1:49 PM

  • Top SQL by DB user in Oracle 10g DB Console

    Is there a way to filter Top SQLs on 10g DB Console by a specific DB User? I know you can get all the SQLs by a specific user from Search Sessions, but it doesn't rank them by CPU usage. Any help is greatly appreciated.

    nice idea, because SQL itself doesn't contain info about session executing it.
    See Top SQL/Consumers
    in OEM 10: goto Perfomance - Top Activity - here you can see Top SQLs (left side) and Top Sessions (right side) and ! if click on SQL ID from Top SQL you can see sessions executing it on Activity page.

  • How to find top 10  SQL statments which are consuming more cpu time.

    hi all,
    Is there any command or script to monitor the top 10 sql statments which are consuming more cpu time.
    I know by using AWR REPORT we can find it, i want the command or script to find the top cpu utilization sql statments.
    Regards
    Subhash.

    Subhash,
    A quick and dirty Google search could have get you started with the following:
    Thread: how to get top CPU consuming sql oracle 10g
    Re: how to get top CPU consuming sql oracle 10g
    Oracle SQL top sessions
    http://www.dba-oracle.com/oracle10g_tuning/t_sql_top_sessions.htm
    "How to Find top 10 expensive sql's", version 9.2.0
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:73325450402303
    HTH,
    Thierry

  • Active Sessions unavailable

    I'm using oracle10g Enterprise Manager. Today I cannot see that pie-chart depicting the active sessions at the start page. There's also written:
    Active Sessions: Unavailable.
    When I click the Unavailable link, I can still see the Top sessions, etc.. The database is functioning in the normal way.
    Has someone ever came across this? I have seen this happening one day but i remember that it was solved on the next login. I tried to reboot the instance but in vain..

    Thanks DBMS_direct for your reply,
    I try to upgrade repository by using following cmd.
    # emca -upgrade db -cluster
    (Is above cmd is correct way to upgrade ?. )
    I am getting following messages
    ======================================
    Feb 15, 2007 10:54:21 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/kialaprod/emca_2007-02-15_10-53-49-AM.log.
    Feb 15, 2007 10:54:23 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: In-place upgrade of Enterprise Manager for RAC databases is not supported in this release.
    Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/kialaprod/emca_2007-02-15_10-53-49-AM.log for more details.
    Could not complete the configuration. Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/kialaprod/emca_2007-02-15_10-53-49-AM.log for more details.
    You have new mail in /var/spool/mail/oracle
    ======================================
    Regards,
    Neelesh

  • How to generate Top 10 SQL's in the grid report.

    Hello,
    can anyone give a sample query to be used against to get the information of the top 10 SQL's from the database during the time frame we provide to the report during run time.
    Thanks for your time in advance,
    -Vj

    Subhash,
    A quick and dirty Google search could have get you started with the following:
    Thread: how to get top CPU consuming sql oracle 10g
    Re: how to get top CPU consuming sql oracle 10g
    Oracle SQL top sessions
    http://www.dba-oracle.com/oracle10g_tuning/t_sql_top_sessions.htm
    "How to Find top 10 expensive sql's", version 9.2.0
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:73325450402303
    HTH,
    Thierry

  • Maintain session in JSP frame

    Hi,
    I am having trouble in maintaining session in jsp frames. -
    Here is sample code
    parent.jsp
    <HTML>
    <HEAD>
    <LINK rel=stylesheet type="text/css" href="defaults.css">
    <TITLE>abc</TITLE>
    <%     
         String checkAmount = "100.00";
         session.setAttribute("checkAmount", checkAmount);
         System.out.println("checkAmount in ppmain"+session.getAttribute("checkAmount"));
    %>
    <FRAMESET rows="235,*" frameborder="no" >     
    <FRAME NAME="pptop" SRC="top.jsp" frameborder=0 scrolling=no noresize >
    <FRAME NAME="ppbottom" SRC="bottom.jsp" frameborder=0 scrolling=no marginwidth=0 marginheight=0 noresize>
    </FRAMESET>
    </HTML>
    top.jsp -
    <HTML>
    <HEAD>
    <LINK rel=stylesheet type="text/css" href="defaults.css">
    <TITLE>top</TITLE>
    <%     
    System.out.println("session in top "+session);
    System.out.println("checkAmount in top "+session.getAttribute("checkAmount"));
    %>
    </HTML>
    It is not able to retain session in the top.jsp ( in SOP for session I get different session ID in parent.jsp and top.jsp
    This Works well in local but when gets deployed to WAS6 server troubles starts.
    Any help is appreciated.
    Thanks

    When you create URLs, you might want to try using JSTL to rewrite them:
    <FRAME NAME="pptop"
           SRC="<c:url value='top.jsp'/>"
           frameborder=0
           scrolling=no
           noresize >
    <FRAME NAME="ppbottom"
           SRC="<c:url value='bottom.jsp'/>"
           frameborder=0
           scrolling=no
           marginwidth=0
           marginheight=0
           noresize>Or you can use:
    SRC='<%= response.encodeURL("top.jsp") %>'

  • Top sql in java enterprise manager 10G

    i,
    in the java enterprise manager 9i, I could use 'top sql', 'top sessions' from the java applications.
    I recently installed 10G enterprise manager client, and I now miss the top sql and top sessions apps.
    I know that they are available in the web interface for enterprise manager 10G, but I can't use the webinterface right now. I would like to use the standalone java enterprise manager. How can I get the top sql in there?
    Greetings,
    Ivo

    anybody?

  • Is TOP a resource intensive query.

    Hi,
    We are using TOP to monitor load on LInux production server.
    I just wanted to know if TOP is a resource intensive command?
    Whether TOP adds up to the load on server. Say for example TOP running simultenously from 5/6 putty sessions.
    Regards,

    Running top with default parameters is not a resource intensive process. There were issues with long running top sessions in the past, with ported versions of the top command on certain Unix platforms, but Linux was not affected. I don't think you will notice a performance issue running several top sessions. You can easily test it. Whether or not the top utility is the right tool for what you are trying to accomplish however is a different question.

  • Top activity on enterprise manager

    Hi
    I am using grid control.
    When I check one of my database, I notice that there is no graph in top activity page !!!!! , the top sql and the top sessions parts are also empty. Nothing is shown...
    There was no problem before...
    Other than top activity everything is normal.
    What is the reason for this? and Any suggestion
    Oracle Database Version: 10.1.0.5.0
    Grid Control agent version: 10.2.0.1.0
    I tried restarting the agent, it didnt solve the problem..

    Check the agent status and see if the metrics XML files are pending upload.
    Check in OEM to see the status of the agent.
    Try to run "emctl clearstate agent"
    Upgrade the OEM agent to a higher version - e.g. 10.2.0.5

Maybe you are looking for

  • How to find out all available disks on RHEL?

    Hello, I notice that all sd device files are created under /dev/directory in advance.But I want to discover all actual available hard disk on my system and their status.I know I can get those information by using ioscan -fnCdisk on HP-UX and format o

  • Strange flickering green cast to screen.

    The last I used my Powerbook it seemed to running fine, that was yesterday. This morning I was about to go out and went to unplug it from the AC adapter and noticed the fan running. I thought that was odd since I hadn't been running many apps nor was

  • Banking -Post  Dated Cheque

    Hi all I have one query can any one help to solve this. I received a post dated cheque from my customer .If i enter this as incomming payment then my customers liability ends.But I want to hold his liability till the cheque cleared.How to treat this

  • Simulation of a data center topologie ( architectuure)

    hi,can you tell me how to create a simulation of a data center topologie ( architectuure) on any network simulation programme ?  more precisly  where is it possible to support nexus 5000,7000,catalyste,server chasis and fcOE ( on which simulation net

  • Spotlight Characters: Apps display in Kanji or Chinese

    Trying to find an application using Snow Leopard results in the right icon being displayed next to the name but the name is in Chinese (Or Kanji) or something like that. All other spotlight list items are in English! Any thoughts anyone? Thanks James