How to identify temp tablespace user in the past

hi,
can anyone guide me on how to identify temp tablespace users and corresponding temp space amount they used in the past?
we have this situation where in we need to identify the top temp tablespace user last jan 1 around a specific time.
is this possible? do these get stored in one of the tables in the dictionary? any sql statement?
thanks.

900666 wrote:
hi ckpt,
thats unfortunate..=(
anyways, any sql that can be used to capture current sessions with their used mb in temp tablespace? for future monitoring.
thansk.Here is example
SQL> SET LINESIZE 145
SQL> SET PAGESIZE 9999
SQL> SET VERIFY   off
SQL>
SQL> COLUMN tablespace_name       FORMAT a15               HEAD 'Tablespace Name'
SQL> COLUMN username              FORMAT a15               HEAD 'Username'
SQL> COLUMN sid                   FORMAT 99999             HEAD 'SID'
SQL> COLUMN serial_id             FORMAT 99999999          HEAD 'Serial#'
SQL> COLUMN contents              FORMAT a9                HEAD 'Contents'
SQL> COLUMN extents               FORMAT 999,999           HEAD 'Extents'
SQL> COLUMN blocks                FORMAT 999,999           HEAD 'Blocks'
SQL> COLUMN bytes                 FORMAT 999,999,999       HEAD 'Bytes'
SQL> COLUMN segtype               FORMAT a12               HEAD 'Segment Type'
SQL>
SQL> BREAK ON tablespace_name ON report
COMPUTE SUM OF extents   ON report
SQL> SQL> COMPUTE SUM OF blocks    ON report
SQL> COMPUTE SUM OF bytes     ON report
SQL>
SQL>
SQL> SELECT
  2      b.tablespace          tablespace_name
  3    , a.username            username
  4    , a.sid                 sid
  5    , a.serial#             serial_id
  6    , b.contents            contents
  7    , b.segtype             segtype
  8    , b.extents             extents
  , b.blocks              blocks
  9   10    , (b.blocks * c.value)  bytes
FROM
11   12      v$session     a
13    , v$sort_usage  b
14    , (select value from v$parameter
15       where name = 'db_block_size') c
16  WHERE
17        a.saddr = b.session_addr
18  /
Tablespace Name Username           SID   Serial# Contents  Segment Type  Extents   Blocks        Bytes
TEMP          SYSTEM            1333      4725 TEMPORARY LOB_DATA            1      128    1,048,576
                SYSTEM            1562       444 TEMPORARY SORT               89   11,392   93,323,264
                SYSADM            1602        80 TEMPORARY LOB_DATA            1      128    1,048,576
                SYSTEM            1613     18693 TEMPORARY SORT               89   11,392   93,323,264
sum                                                                          180   23,040  188,743,680
SQL>

Similar Messages

  • How to monitor temp tablespace

    I server in 11gR2 and 10gR2.
    Is there a way to monitor its usage, like, who is using it, how much space a session is using, what are the objects crated, ie. temp tables.
    Thanks.

    Hi
    This might helpful
    select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;Also checkout the below link.
    http://blog.flimatech.com/2010/06/15/how-to-monitor-temp-tablespace-usage/
    Cheers
    Kanchana

  • How to identify which key figure will the numeric pointer for deltas?

    Hi All,
    I have created a numeric pointer for generic extraction ? but how to identify which key figure will the numeric pointer will use for deltas ?
    how to identify the key figures which is suitable for numeric pointer. And the generic extraction is based upon the copa table?
    Can anyone suggest me how the numeric pointer works and how to identify deltas are carried out at numeric pointer?
    Thanks
    Pooja

    Pooja,
    If you are using a generic extractor which is based on COPA table, then numeric pointer may not be the suggested delta extraction mechanism. 
    A time stamp would be the better one to use.  In a time stamp, you can give a lower limit value of 300 seconds.. so that it will try to fetch the missed records.
    Moreover, a delta would be based on a character, preferably a time char.
    In your requirement, try to figure out the character on whichdeltas will be based.
    Sasi

  • How to identify which applicarion is using the DVD burner?

    How to identify which applicarion is using the DVD burner? Ot is not allow me to burn the DVDs genetrated in the Final Cut 7

    I think you'll find that the application is Final Cut Pro...  the message is bug.  I get a similar message when disconnecting external drives after using them with FCP (even when the project is no longer loaded.)
    As I mentioned above, the accepted workflow is to export the sequence to one of your hard drives using the Export>QuickTime Movie path with Settings:Current Settings and Make Movie Self-Contained checked like this:
    This gets you a high quality "master copy" which you open in Compressor for transcoding. You should use the DVD: Best Quality setting for the duration of your movie.
    this gets you the high quality MPEG-2 and AC-3 files for DVD Studio Pro authoring.
    If you've never used DVD Studio Pro before, you can use iDVD instead. For iDVD, you just drag and drop your "master" on iDVD and it takes it from there. Both make a very professional product.
    hope this helps.

  • How can I view the login activity of my users for the past 3 months or more

    Hello,
    I need to check the login activities of my users for the past 3 months (or more). I need to monitor unauthorized access for each and everyone of them. Does anybody have an idea on how this can be done?
    Thanks for your help in advance.
    Best regards,
    Jun

    Hello,
    Thanks for the immediate response. Actually, here's what I want to do. I have a user, who always asks me to unlock his account almost every week. With this, Im worried that there might be someone trying to use his access. What I would like to do is to generate a list of all login activities for the past 3 months. The list should also contain the terminal name where the attempted login was made. This way, I should be able to track down the possible culprit.
    Thanks in advance

  • HOW to connect to a user in the postgresql

    Hi,
    Can any one please help me how to connect to a postgresql and information on postgresql
    Than & Regards
    Poorna Prasad

    Not sure about the help but fail to understand though why would one ask about Postgresql over Oracle's forums?
    http://www.google.co.in/search?q=HOW+to+connect+to+a+user+in+the+postgresql++&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
    HTH
    Aman....

  • How do I delete a user when the password was forgotten.  I have a OS X Yosemite 10.10.2

    How do I delete a user when the password was forgotten.  I have a OS X Yosemite 10.10.2

    Administrator password forgotten?
    OS X 10.7 Lion, 10.8 Mountain Lion, 10.9 Mavericks and 10.10 Yosemite
    Reset Password
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box under “Select user account”.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    If Keychain dialog box appears, select “Create New Keychain”.

  • How do I retrieve incoming calls for the past one month?

    How do I retrieve incoming calls for the past one month?

    You can open the phone app and tap on recents at the bottom of the screen that's about it

  • How to identify if a user master record is locked

    Hi,
    I want to use function module BAPI_USER_CHANGE to change a user's master record (transaction SU01).  But if the user that I want to change is being modified by another user, this BAPI doesn't update, correctly so.  Is there a way to identify if a user master record is being edited by someone else?  This way, I can find out before making the change whether the change will be successful.
    Along the same lines, if I'm adding a role (from transaction PFCG) to a user ID and role is locked, I'd like to know that before hand; before I try to assign a user to that role programmatically.
    Thank you for your help.
    Pete

    Hi
    Refer this Lock Owners
    Definition
    Person who holds a lock.
    Use
    At the start of an SAP transaction, two owners are always created who can request locks.
    A lock can have one or two owners. You use the _SCOPE parameter to specify this.
    To determine in a program which user is currently holding a lock, use the ENQUEUE_  function module.  This function module puts the name of the owner into SY-MSGV1.
    Structure
    There are dialog owners and update owners.
    An owner is identified by his or her owner ID, as described in the section entitled The Lock Table.
    A lock can have one or two owners. The ABAP programmer uses the _SCOPE parameter to define this (see below).
    Example
    The graphic below shows how lock owners function during a dialog transaction.
    SAP LUW: Dialog Transaction with Update
    At the start of the dialog transaction, the system creates two lock owners: the dialog owner Owner_1 and the update owner Owner_2.
    During the course of the transaction, Owner_1 requests a lock, as does Owner_2 slightly later. When the update task is called (see also Functions of the Update Task), the lock and Owner_2 are inherited by the update task. An update work process is started with two owners, in the same way as a dialog work process, and then has three owners until the update is completed. All of the locks are released with an implicit DEQUEUE_ALL at the end of the update, at the latest.
    Regards
    Shiva

  • How to find out which user has the permission to execute startsap ?

    Hi All
    How do I find out which user has the permission to execute the startsap and stopsap? Do I control the permission on those script using windows standard authorization? For example: only allow certain user have the read and write permission?
    Thank you.!
    Vincent Lo

    Well to me this is really weird question..
    <b>noone un-authorized should have access to OS on your system</b>
    If this is valid you do not need to solve problems who can and who cannot start/stop SAP, because if you want to prevent some users from shutting down the SAP you have really hard job to do - there are many ways how to kill the SAP (for example killing relevant process from task manager, killing of database, messing with services etc.) - yes, this is harmful way of stopping SAP, but we are talking about attack, right? I would contact some Windows specialist to help you disable all the ways how to harm the running SAP. But still after that - there are many files that can be modified/deleted so SAP will crash after restart - you need to protect them too, etc.
    In case you take the first assumption as granted (and you really limit access to this server) you do not need to worry who can stop or start SAP - at the other hand it may be handy to be able to start/stop SAP from other users - for this you can run the stop/start script "under different user".
    But to answer the question - to me this is question just of access control (but really never tried that myself):
    <a href="http://technet2.microsoft.com/WindowsServer/en/library/c6413717-511e-42bd-bd81-82431afe4b2a1033.mspx">Permit or restrict access to a snap-in for a domain</a> (or see other related links down there on this page)
    Please award points for useful answers.
    Thanks

  • How can I add a user to the current session context ?

    Hello,
    I would like to use the programmatic authorization of servlets ( the roles are defined
    in the servlet deployment descriptor web.xml ). But I don' t use the authentication
    specified in the servlet deployment descriptor.
    Is it possible to populate a user to the session/servlet context without using the
    authentication specified in the deployment descriptor ? How can I do ? ( cookie ?
    methods ? ... )
    Thank you for your answer.
    Nicolas.

    see weblogic.servlet.security.ServletAuthentication.
    - Neil
    Nicolas Dieu wrote:
    Hello,
    I would like to use the programmatic authorization of servlets ( the roles are defined
    in the servlet deployment descriptor web.xml ). But I don' t use the authentication
    specified in the servlet deployment descriptor.
    Is it possible to populate a user to the session/servlet context without using the
    authentication specified in the deployment descriptor ? How can I do ? ( cookie ?
    methods ? ... )
    Thank you for your answer.
    Nicolas.

  • How can I add a User to the transport workflow

    Hi all,
       I want to add one user to the transport workflow in BW Dev system? How can I do it, PLEASE.
    Thanks.

    Hi,
    Check this if you can reset the workflow if the configuration of old user get damaged instead of creating a new one.
    http://help.sap.com/saphelp_erp2005/helpdata/en/06/1c3737f0e64142e10000009b38f839/frameset.htm
    Please reward if it helps.

  • How not to notify a user when the task is cancel

    Hi,
    I have this workflow in GP,
    Apply Timeoff --> Recommend Timeoff --> Approved Timeoff
    Where Applicant can apply for Timeoff (via ApplyTimeoff block), RecommendingOfficer can "Recommend" or "Reject" timeoff (via the RecommendTimeoff block), and finally the Approving Officer can "Approved" or "Reject" the recommendation (via the ApprovedTimeoff block)
    The GP is configured in such that the ApplyTimeOff block have successful result state Target to RecommendTimeoff block. In the RecommendTimeoff block, it has the successful result state, targets to the ApprovedTimeoff block whereas the unsuccessful result state target to Terminate. Likewise for the ApprovedTimeoff block, it has both the successful and unsuccessful result state target to Terminate.
    Those roles are in GP and they are map to the EP Group respectively. And in each group, there are EP users tag to it.
    During Application of the ApplyTimeoff, I have a drop down list of RecommendingOfficer which I can select in WD UI. And Once I selected the particular person from the list, the request will route to the RecommendingOfficer as a pending task in the GP Runtime. From here, that selected person from that Recommending Officer can "Recommend" or "Reject" the request.
    When that person from the RecommendingOfficer approved, the request will route again and this time to the Approving Officer.
    However, when the reject the request, the task will also be route to the Approving officer.
    How do I configured in such as way that when the recommending Officer reject, it request will not be route to the Approving Officer as a pending task?
    can help? Thank you.
    thank you.

    Let occasional users log in as guests
    A guest user account lets others use your Mac without setting up a full account or using someone else’s. You can use parental controls to limit guests’ activities, and specify which folders they can view.   [by default, they cannot see any other users' files]
    In Users & Groups preferences, select Guest User in the list of accounts.
    Select “Allow guests to log in to this computer.”
    If you like, select “Enable parental controls,” then click Open Parental Controls. For details about the limits you can set, see:Set up parental controls
    To let guests use your shared folders from another computer on the network, select “Allow guests to connect to shared folders.”
    When guests log in, they don’t need a password.
    ... and anything created while logged in as Guest is deleted when you log out.
    From:
    OS X Mavericks: Set up users on your Mac

  • How to identify one specific row in the table STPO?

    Hi!
    How can I identify one specific row in the table STOP? As an input for my ABAP function I have MatNr, Plant, Alternative, BomUsage and Bom Position (0010, 0020...). With these values I can ask the table MAST to get the STLNR. But how can I get all needed values to specify an entry in the table STPO then?
    Thanks,
    Konrad

    Here is a actual working code that we used here.
    *-- get the bom details
      li_mast-mandt = sy-mandt.
      li_mast-matnr = material.
      li_mast-werks = '6000'.
      li_mast-stlan = '1'.
      call function 'GET_MAST'
           exporting
                all             = 'X'
                no_buffer       = 'X'
                set             = 'X'
           tables
                wa              = li_mast
           exceptions
                call_invalid    = 1
                end_of_table    = 2
                get_without_set = 3
                key_incomplete  = 4
                key_invalid     = 5
                no_record_found = 6
                others          = 7.
      if sy-subrc <> 0.
        clear: kdf_material,
               kdf_material_desc.
        exit.
      endif.
      loop at li_mast.
    *-- get the valid headers
        move-corresponding li_mast to li_stko.
        li_stko-stlty = 'M'.
        call function 'GET_STKO'
             exporting
                  all             = 'X'
                  datub           = l_valid_date
                  datuv           = l_valid_date
                  del             = ' '
                  no_buffer       = 'X'
                  set             = 'X'
                  valid           = 'X'
             tables
                  wa              = li_stko
             exceptions
                  call_invalid    = 1
                  end_of_table    = 2
                  get_without_set = 3
                  key_incomplete  = 4
                  key_invalid     = 5
                  no_record_found = 6
                  others          = 7.
        if sy-subrc <> 0.
          continue.
        endif.
        loop at li_stko.
          move-corresponding li_stko to li_stpo.
          call function 'GET_STPO'
           exporting
             all                    = 'X'
             alter                  = li_stko-stlal
             datub                  = l_valid_date
             datuv                  = l_valid_date
             no_buffer              = 'X'
             set                    = 'X'
             valid                  = 'X'
    *        VIEWNAME               =
           tables
             add_wa                 = li_cszalt
             wa                     = li_stpo
           exceptions
             call_invalid           = 1
             end_of_table           = 2
             get_without_set        = 3
             key_incomplete         = 4
             key_invalid            = 5
             no_record_found        = 6
             viewname_invalid       = 7
             others                 = 8.
          if sy-subrc <> 0.
            continue.
          else.
            exit.
          endif.
        endloop.
        if not li_stpo[] is initial.
          exit.
        endif.
      endloop.

  • How can I automatically redirect users to the correct platform?

    Hi,
    I have built my website three times, once for desktop, once for tablet and once for mobile phones. My question is how can i automatically redirect the user to the correct site depending on which device they are using.
    I have read that they can be redirected to a separate domain name such as m.example.com for mobile, I have also read that a lot of large corporations use this approach as well.
    Any help would be great!
    Cheers guys

    Most corporations nowadays are moving towards responsive designs with a mobile first approach.  This tends to be the most efficient and compatible since there is no need for javascript or other scripts to redirect users.
    The following is a simple example for phones and desktops only, and most examples I was finding were that way due to their publishing date.
    http://css-tricks.com/snippets/javascript/redirect-mobile-devices/
    The trick is going to be getting lists of devices and resolutions to make sure they are all captured which can be a major pain since that information updates all the time.  With that said, if I were you doing it this way I would do away with the tablet version.

Maybe you are looking for

  • Print One Report to many printers !!! URGENT

    Hi.. I want to tell me how can I print a report from Forms to 3 printers?One report but 3 different printers.PLS give me full details. Note : 1 printer local and others on network. thanks Alot

  • How to show 3D PDF content in Preview app?

    Is it possible to enable the display of 3D content in a PDF file using the Preview app in Yosemite? It displays fine in Adobe Reader, just not in Preview.

  • Moving markers

    In a cartesian chart, I have four series, three line and one column series. I want to show moving markers on all of the four series, when mouse is moved in chart region. Moving markers like circle... For that, I am using array of items which I have g

  • SD Billing Exit (Help)

    Dear All, I encountered a big problem. I need to calculate each item's  pricing condition if billing document when the the doc. is created. So i have to find some exit to let me key my codes in it to fulfill the function. Cound you provide me with th

  • CUIC Agent Real-time reporting reason code

    Hi, In CUIC agent real time report reason code for not ready it shows 50002 or integer we have configured in ICM. How we can display reason code as name which we have configured in icm like tea, coffee , meeting. CUIC version we are using 8.5. Regard