How to find the sessions/user consuming more temp tablespace

Environment details
IBM-AIX 64 bit
Oracle 10.2.0.4.0
Recently we encountered the issue of sudden peak in CPU utilization and temp tablespace usage. We are noticing this issue after Apr CPU 2009 patch and upgrade to 10.2.0.4.
Recently temp space was full and we added 18 GB of space to temp tablespace, within few hours, they are also consumed.
Application team is telling that they did not modify any code. ADDM report suggests most of the recommendations related to SQL tuning only
not sure about the real issue. Can somebody tell me how I can find what are all sessions/user consuming high temp tablespace
Edited by: user1368801 on Sep 1, 2009 5:32 PM

Hi,
Run below query to check if it is used by any session.
select sum(a.BYTES_USED)/1024/1024 used_mb, sum(b.bytes)/1024/1024 total_mb,
sum(a.BYTES_USED)/sum(b.bytes)*100 pct_used
from V$TEMP_EXTENT_POOL a, v$tempfile b
where a.file_id(+) = b.file#
Check who is using it by the below query.
SELECT s.sid,s.serial#,osuser,process,program,s.sql_hash_value,u.extents, u.blocks
FROM v\$session s, v\$sort_usage u
WHERE s.saddr = u.session_addr order by extents,blocks desc
Hope this solves your issue.
Regards
Regards,
Satishbabu Gunukula
Click here to improve RMAN backup Performance using [Block change tracking in Oracle 10g|http://oracleracexpert.blogspot.com/2009/09/block-change-tracking-in-oracle-10g.html]
http://oracleracexpert.blogspot.com

Similar Messages

  • How to find the exact user exit for our requirement?

    Dear Mr. keerthi,
    can you please explain me how to find the exact user exit for our requirement?

    Hi sandip
    There is more than one method in which you can check for user-exits.The following method is used very often.
    <b>How to find the exact user-exit for your requirement.</b>
    1.     You can check the user exists using transaction SE85.
    2.     Repository Information System -> Enhancements -> Customer exits
    3.     You can search the user-exits by package name.
    4.     Double click on each exit name to check the function module exits.
    <b>The procedure to find the package name.</b>
    Execute transaction SE93 
    Enter the tcode of the transaction for which you want to check the user exit.
    Example: if you want to find the user-exit for purchase orders while changing, enter ME22n  and press display.
    You will get to see the package name
    But you need to confirm that the user exit will get triggered at the appropriate event.
    ( example: you might want some validations to be done ON SAVE of a purchase order)
    <b>Checking if the user-exit is getting triggered or not.</b>
    1.     Open the user exit function module (that you have got in step 4) in Tcode SE37.
    2.     Click on where used button. In the pop up that immediately appears choose only programs .
    3.     You will get a list of programs. Double click on the program name.
    4.     You will get the list of location where this function module user exit is used.
    5.     Place session break points at each of these location ( at each CALL FUNCTION statement)
    6.     Now go to your transaction ( say change purchase order tcode:Me22n) and check if the user exit is getting triggered on appropriate event.
    regards,
    Prasad

  • How to find the concurrent user licenses usuage

    Hi,
    Can you someone tell me how to find the concurrent user licenses usage. if i go to CM C -> Settings -> View Global System Metrics then it is showing strange number in the area of peak licenses used since deployment  (more than 5K),
    Is there is any Bug or how to refer this?
    We are using BI4.0 SP5

    Hello Satheesh,
    Its is possible to track concurrent user licenses usage by using BI 4 monitoring.
    Please check below:
    Monitoring Concurrent Sessions in SAP BI Platform 4.0 and BusinessObjects Enterprise XI3.1
    -Mahesh

  • How to find the sessions which generated maximum redo amount at instance?

    I use below query or Sql*Plus's set autotrace traceonly statistics > redo size statistic to calculate how much redo I generated in my session;
    CREATE OR REPLACE VIEW redo_size AS
    SELECT value
    FROM v$mystat, v$statname
    WHERE v$mystat.statistic# = v$statname.statistic#
    AND v$statname.name = ‘redo size’;
    But how to find the sessions which generated maximum(top 5 for example) redo from the last database startup on 9iR2 or also with new 10gR2 historic views?
    We need this information because from the produced archived log files we observe something new producing almost 2 times more redo for a week. I looked at statspack report but couldnt find as I suspected for a massive update or delete.
    Best regards,
    Tonguc

    I tried v$sysstat but I didnt think about v$sesstat Mr.Gasparotto, thank you very much :)
    SELECT ss.sid,
    sq.sql_text,
    se.status,
    se.username,
    se.osuser,
    se.program,
    se.machine,
    ss.VALUE
    FROM v$sesstat ss, v$statname sn, v$session se, v$sqlarea sq
    WHERE ss.statistic# = sn.statistic#
    AND se.sql_hash_value = sq.hash_value(+)
    AND se.sql_address = sq.address(+)
    AND ss.sid = se.sid
    AND sn.NAME = 'redo size'
    ORDER BY ss.VALUE DESC
    Best regards.

  • How to find the ME29N 'USER EXIT' when our save the release PO after.

    How to find the ME29N 'USER EXIT' when our save the release PO after.
    which user exit will be used?
    thanks.
    alex.

    Hi,
      process :
        go to tranx code :   ME29N ,
           System---->Status , here copy the program name (SAPLMEGUI),
         go to abap editor and specify the program name SAPLMEGUI and find the package "ME".
         tranx code : CMOD ,  Utilites--->Sap Enanchement,
                                         specify the package name : ME
                                          and execute, displays a list of exits ,
                                 and find out our suitable exit based on requirement.
    check these :   EXIT_SAPMM06E_021
    reg
    Siva

  • How to find the appropriate user exit for invoic02 idoc in idoc_output_invo

    Hi all,
    I am new to this community p
    i have issue regarding  the How to find the appropriate user exit for invoic02 idoc in idoc_output_invoic function module.........
    thanks,

    Hi ,
    welcome to SDN.
    You can select the appropriate Customer exit accrding to the available parameters .
    The list of exits available are 
    EXIT_SAPLVEDF_001
    EXIT_SAPLVEDF_002
    EXIT_SAPLVEDF_003
    EXIT_SAPLVEDF_004
    For Example , if you want  to modify the Idoc data(EDIDD) you have to use the EXIT_SAPLVEDF_002. accodingly you can select the user exit according to the avaialable parametres.Use Table MODSAP fto get the Enhancement name.
    Hope this Helps
    Rgds
    Sree
    Edited by: Sree on Jul 23, 2010 12:11 PM

  • How to find the exact user exit in enhancement.

    Hi All,
    I am in learning phase. I am working on TCODE VA01 and want to change the PO Date. But i am unable to find out the exact user exit.  If somebody could guide me that what is the procedure to find the exact user exit for a perticular field or like that.  I am know how to find all the enhancements in the TCODE.

    hi
    Run this program and give the tcode and it will list down all the user exits for that Tcode.
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    TABLES : tstc, tadir,            modsapt,            modact,            trdir,             tfdir,      enlfdir,     tstct.   
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    START-OF-SELECTION.
      SELECT SINGLE * FROM tstc    WHERE tcode EQ p_tcode.
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir       WHERE pgmid    = 'R3TR'         AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir         WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir          WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir          WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir          WHERE pgmid    = 'R3TR'            AND object   = 'FUGR'
                AND obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
        SELECT * FROM tadir      INTO TABLE jtab      WHERE pgmid    = 'R3TR'        AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct      WHERE sprsl EQ sy-langu        AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',    20(20) p_tcode,    45(50) tstct-ttext.    SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,      2 'Exit Name',      21 sy-vline ,      22 'Description',      95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt        WHERE sprsl = sy-langu AND        name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,   2 jtab-obj_name HOTSPOT ON,  21 sy-vline , 22 modsapt-modtext, 95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
         SKIP.
         FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    Regards
    Sajid
    Edited by: shaik sajid on Jun 26, 2009 12:06 PM
    Edited by: shaik sajid on Jun 26, 2009 12:10 PM

  • How do find the end user agreement

    how do I find the end user license agreement, I'm so frustrated

    I'm guessing that you have been unable to find the way to accept the end user license for Reader. If you are in Windows (which we don't know), you can try using Windows Explorer to navigate to C:\Program Files (x86)\Adobe\Reader 11.0\Reader, then double-click on Eula.exe and accept the license agreement. If you are in Mac, open your Applications folder, double click on the Reader icon, follow the instructions to accept the license, close and restart Reader.

  • How to find the sessions connected to oracle through application server?

    Hi all,
    i want to restrict my application server users from the deletion of the data in my database.
    for this i was try to find out the application name from v$session but it is showing some application names and some blanks. i need to find out the application server name, so that i can restrict the users in product user profile.
    is there any view to find the sessions and applications which are connected to oracle database?
    Thanks,
    Sandeep

    hi pavan,
    Even whne the privileges are revoked, the java application(users) can able to delete data in the database schema through the java application.
    please suggest me on this?
    --sandeep                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to find the current users logged in.

    Hi,
    I have a problem in finding the current users logged into the database and the operations they are doing.
    If u know pls help me........
    Thanks.
    K.Vijay Choudary Reddy.

    hi vijay,
    this is the OracleAS Portal Content Management forum. Please post your database related question in the Database Forum:
    General Database Discussions
    thanks,
    christian

  • How to find the specifed user-exit

    Hi, experts. i am first time to do enchancement. can anyone tell me how to find specifed user-exit. for example, how to find MV45AFZZ?  Also, what i should pay attention to when doing enhancment works? thanks.

    Hi Jrockman,
    There are many things associated to user exit.
    a) Tcode- CMOD.    here you can find
    b)  USER-EXIT triggering points ->
    Go to se93 and give the tcode to find the main program associated to it.
    Go to se38 and give the main program.
    Find the package associated to it.Go to->Object Directory Entry.
    Go to smod transaction.
    Press f4.
    Press Information System Button.
    Give the Project(Dev Class).
    Press enter.
    Find the enhancements associated
    c) Check the code posted by me ,to get the list of User exits and Badi for a particular tcode in the link mentioned below.
    Re: User Exit for IW22 - to populate custom fields
    d) few useful links to understand User exits.
    http://www.sapdevelopment.co.uk/enhance/enhancehome.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sappoint.com/abap/userexit.pdf
    ABAP Enhancements and Modifications - General
    https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/2342e1f3-0b01-0010-a186-fdd404884050
    Menu Exit
    http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/menu-exits-72696#
    Screen Exit
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    Hope it helps.
    Manish

  • How to find the session info using the Unix PID

    Hi Guys
    We found in alert log that Some process with Unix pid 3416182 makes some transaction fail. It happened on weekend and now when we try to find it in v$process we did not find any info. Is there any place where oracle stores the PID History where in i would be able to find which process,session,user caused the transaction failure.
    Kindly help me. I m using oracle 10G R2.
    Thanks in advance
    Ram
    Edited by: user448837 on Jun 29, 2009 2:04 AM

    We found the transaction failure because of an online rebuild.This rebuild is with a PID which none of the DBA's ran.From trace we can just see the unix PID.With this we need to find the user who ran this rebuild

  • How to find the serial number for more than one Ipod Touch in Itunes?

    I lost my Ipod Touch (first one I bought), how can I find the serial number in Itunes or somewhere else beside I sync my daughter's new Ipod (2nd I bought) with my Itunes account, because when I try to find the serial number they show me only my daughters Ipod, not my Ipod????

    Hover the mouse pointer over your iPod backup in iTunes>Preferences>Devices and the SN will pop up.
    Go to:
    My Support Profile

  • How to find the supplier user who done the confirmation

    We have the setup- Supplier can confirm either through Web UI or by uploading a XL file into SNC.
    we have several supplier user account per BP, Say (user1,user2...user5 - BP 2000010). Now i need to find which user have made the confirmation and Published.
    I knew its possible to get that information through PO history details but its possible only for those confirmations which are made through Web UI.
    In my case - confirmation is done by file upload
    Distribution status - Published by Supplier
    Changed by - PIREMOTE (system name).
    Thanks in advance
    regards
    Vinoth

    Hi Vinoth,
    I assume that the file transfer is done via File Upload in Web UI.
    If you would like to which supplier user has uploaded the file / done the confirmations, you can ask the supplier user to create his own upload profile and then upload the file.
    Once this is done, in PO details you would get to see "Changed By" as Supplier user. You can also check the same thing in "PO History".
    This may not be the best option but will met your requirement.
    Regards,
    Sandeep

  • How to find the current User Name and stored in which table

    In which table the current user name (Login) is stored?

    Hi Mohanapriya
    The query provided by Gordon can not run on query generator as the $USER is a runtime variable.
    You need to save it to a query then use it in a FMS(Formatted Search.)
    Just open a form(ex:sales order ), click the field in which you want to show the user name,
    then press ****+F2 or Tools->Search Function->Define,
    Search by Saved query,then assign the save query to the field.
    After that ,you can run the FMS(shift+F2) to get the current user info.
    Regards,
    Syn Qin
    SAP Business One Forums Team

Maybe you are looking for

  • Is it possible to have multiple accounts under the same apple id

    I just bought an ipod touch primarily for my daughter to use, and would like to communicate from my ipad to the ipod touch using facetime. However, both are under my apple id and apple account. Is there a way I can talk from one device to the other -

  • How do I open the Libraries folder on a Time Machine backup?

    I would like to access, using the Finder, the Libraries folder of one of my Time Machine backups. Surprisingly, it's hidden there too, although I can see it using Terminal. I have tried some of the standard methods used to show the regular Libraries

  • Ghost mail?

    I seem to be getting "incoming mail" but it is not showing up in any of my mailboxes. It has been happening for awhile. Most often it indicates that there are two messages incoming and they are quick and small. Just now I noticed an indication that t

  • Hyperion S9 FR DB connection issue

    Hi I am not able to open any FR or create new Reports in my FR studio or workspace. I am getting the following error in Workspace. com.hyperion.reporting.util.HyperionReportException: Error Loading DatasourceList to Repository com.hyperion.reporting.

  • [Solved] Intermittent Boot Failure

    I power down my PC and take a day off every week. Last week when I rebooted I had a problem of "unable to find root device" and I followed forum posts and also found this FAQ: After updating my system, I get a "unable to find root device" error after