How to find out amount of undo generated in 10g and 9i? for a given session

Hi All,
I am on v10.2 on Linux. How can I find out amount of undo generated in my session ?
I tried this
SQL> select a.STATISTIC#, a.VALUE, b.NAME from v$mystat a , v$statname b
2 where a.statistic# = b.statistic# and (b.name like '%undo%' or b.name like '%rollback%') ;
STATISTIC# VALUE NAME
5 0 user rollbacks
75 0 DBWR undo block writes
176 132 undo change vector size
177 0 transaction tables consistent reads - undo records applied
178 0 transaction tables consistent read rollbacks
179 0 data blocks consistent reads - undo records applied
182 0 rollbacks only - consistent read gets
183 0 cleanouts and rollbacks - consistent read gets
188 0 rollback changes - undo records applied
189 0 transaction rollbacks
200 0 auto extends on undo tablespace
202 0 total number of undo segments dropped
220 0 global undo segment hints helped
221 0 global undo segment hints were stale
222 0 local undo segment hints helped
223 0 local undo segment hints were stale
224 0 undo segment header was pinned
226 0 SMON posted for undo segment recovery
229 0 SMON posted for undo segment shrink
236 0 IMU undo retention flush
241 0 IMU CR rollbacks
242 488 IMU undo allocation size
22 rows selected.
SQL>
SQL> create table temp1 as select * from dba_objects where 1=2 ;
Table created.
SQL> select a.STATISTIC#, a.VALUE, b.NAME from v$mystat a , v$statname b
2 where a.statistic# = b.statistic# and (b.name like '%undo%' or b.name like '%rollback%') ;
STATISTIC# VALUE NAME
5 0 user rollbacks
75 0 DBWR undo block writes
176 30280 undo change vector size
177 0 transaction tables consistent reads - undo records applied
178 0 transaction tables consistent read rollbacks
179 8 data blocks consistent reads - undo records applied
182 8 rollbacks only - consistent read gets
183 0 cleanouts and rollbacks - consistent read gets
188 0 rollback changes - undo records applied
189 0 transaction rollbacks
200 0 auto extends on undo tablespace
202 0 total number of undo segments dropped
220 0 global undo segment hints helped
221 0 global undo segment hints were stale
222 0 local undo segment hints helped
223 0 local undo segment hints were stale
224 0 undo segment header was pinned
226 0 SMON posted for undo segment recovery
229 0 SMON posted for undo segment shrink
236 0 IMU undo retention flush
241 0 IMU CR rollbacks
242 560 IMU undo allocation size
22 rows selected.
SQL> insert /*+ APPEND */ into temp1 select * from dba_objects ;
91057 rows created.
SQL> commit ;
Commit complete.
SQL> select a.STATISTIC#, a.VALUE, b.NAME from v$mystat a , v$statname b
2 where a.statistic# = b.statistic# and (b.name like '%undo%' or b.name like '%rollback%') ;
STATISTIC# VALUE NAME
5 0 user rollbacks
75 0 DBWR undo block writes
176 171356 undo change vector size
177 0 transaction tables consistent reads - undo records applied
178 0 transaction tables consistent read rollbacks
179 166 data blocks consistent reads - undo records applied
182 91 rollbacks only - consistent read gets
183 0 cleanouts and rollbacks - consistent read gets
188 0 rollback changes - undo records applied
189 10 transaction rollbacks
200 0 auto extends on undo tablespace
202 0 total number of undo segments dropped
220 0 global undo segment hints helped
221 0 global undo segment hints were stale
222 0 local undo segment hints helped
223 0 local undo segment hints were stale
224 0 undo segment header was pinned
226 0 SMON posted for undo segment recovery
229 0 SMON posted for undo segment shrink
236 0 IMU undo retention flush
241 0 IMU CR rollbacks
242 1352 IMU undo allocation size
22 rows selected.
What exactly is "undo change vector size" ?
Also, if I am on v 9.2, this ( undo change vector size ) stat name is not there. What can be used in v9.2 ?
Thanks in advance.

Hi..
>
SET LINESIZE 200
COLUMN username FORMAT A15
SELECT s.username,
s.sid,
s.serial#,
t.used_ublk,
t.used_urec,
rs.segment_name,
r.rssize,
r.status
FROM v$transaction t,
v$session s,
v$rollstat r,
dba_rollback_segs rs
WHERE s.saddr = t.ses_addr
AND t.xidusn = r.usn
AND rs.segment_id = t.xidusn
ORDER BY t.used_ublk DESC;
>
HTH
Anand

Similar Messages

  • How to find out difference between IAS Oracle Home patches and 10.1.2 Oracl

    How to find out difference between IAS Oracle Home patches and 10.1.2 Oracle Home patches.
    I have read me document but i could not able to understand.
    Please help me

    user10721329 wrote:
    How to find out difference between IAS Oracle Home patches and 10.1.2 Oracle Home patches.
    I have read me document but i could not able to understand.
    Please help meWhat docoument you are referring to?
    If you source the application env file APPS<CONTEXT_NAME>.env file under $APPL_TOP directory then this will set ORACLE_HOME to 10.1.2
    If you source the application env file <CONTEXT_NAME>.env file under $INST_TOP/ora/10.1.3 directory then this will set ORACLE_HOME to 10.1.3
    Environment Settings
    http://docs.oracle.com/cd/E18727_01/doc.121/e12841/T120505T120509.htm#F_92659x3Ax20H1x20Head1x3Ax20Environmentx20Settings
    Thanks,
    Hussein

  • How to find out if Role is active or not and also delimited or not ?

    How to find out if Role is active or not and also delimited or not ?

    Hi,
    Basically this job is done by BASIS (Technical) Team.
    They can check whether role is active or not by using tcode "PFCG" by giving role name.
    Regards,
    Rameshwar

  • How to find out which batch job generated a specific idoc?

    Dear Colleagues
    Is it possible to find out which batch job generated a given idoc?

    You need to check in the program about the naming conventions for the job. Then based on it you will be able to identify the correct one.
    Thanks
    Nabheet

  • How to find out which version of OID, SSO, Portal, and Disco. to install?

    Hi,
    I just upgraded from 11.5.9 (DB 9.2.0.4) to 12.1.1 (DB 10.2.0.5) using Rapid Install Wizard.
    The 11i system did have Portal and Single Sign-On, and Discoverer 4i. How can I find out which version of these I can install and integrate with the new system? Do I need to install a separate Application Server?
    Thanks,
    Sinan

    Please see these docs.
    Integrating Oracle E-Business Suite Release 12 with Oracle Internet Directory and Oracle Single Sign-On [ID 376811.1]
    Oracle Application Server with Oracle E-Business Suite Release 12 FAQ [ID 415007.1]
    Using Discoverer 10.1.2 with Oracle E-Business Suite Release 12 [ID 373634.1]
    Using Discoverer 11.1.1 with Oracle E-Business Suite Release 12 [ID 1074326.1]
    How To Enable Single Sign On (SSO) For Discoverer 11g (11.1.1.x) [ID 879604.1]
    Thanks,
    Hussein

  • How to find out image size (in pixels) of jpg and gif files

    this seems to work, though i doubt that it would very time:
                   Image img = Toolkit.getDefaultToolkit().getImage("car.jpg");
                   int w = img.getWidth(null);
                   int h = img.getHeight(null);
                   while(w <= 0 || h <= 0)
                      try{Thread.sleep(10);}catch(InterruptedException ix){}
                      w = img.getWidth(null);
                      h = img.getHeight(null);
                   JOptionPane.showMessageDialog
                      null,
                      filenames[i] + ": " + w + "x" + h,
                      "ImgSize",
                      JOptionPane.INFORMATION_MESSAGE
                   );please suggest a better solution.
    thanks

    >
    We've a requirement that we need to find out the size of a java object at run time, is there a direct java API to get the size of a composite object in memory?
    Here is my requirement: We are adding string objects (which is an xml string of considerable size) into a List. After reaching certain size limit (lets say 5MB) of the list i need to put this data into DB as a CLOB. So every time I add a string object to the list, I need to see if the total size of the list exceeds the limit and if yes, flush the results into DB.
    I am not sure if java has a direct API for this, if not what is the beast way to do it, it s critical requirement for us.
    It would be really great if someone could help us out.
    >
    Could you explain your actual requirement a little more fully.
    1. Is each individual string a separate XML string? Or is it just a fragment? Why would you just concatenate them together into a CLOB? That won't produce valid XML and it won't let you easily separate the pieces again later. So provide a simple example showing some strings and how you need to manipulate them.
    2. Are you using these xml strings in Java at all? Or are you just loading them into the database?
    For example if you are just loading them into the database you don't need to create a list. Just create a CLOB in Java and append each string to the CLOB. Before you append each one you can check to see if the new string will put you over your length limit. If it will then you write the CLOB to the database, empty the CLOB and start appending again to the new clob instance.
    If you explain what you are really trying to do we might be able to suggest some better ways to do it.

  • Any ideas how to find out what makes my air mac slow and noisy

    Since I updated to Maverick and it didn't change with Yosemite my Air Mac is slow to open windows and very noisy. Has any got any ideas of what to do.
    Thank you

    Dear iWOO ok I have now done what you asked me to do and here is the result. FYI: The processor is working all the time, the fan is on, but doesn't get hot.
    Hardware Information: ℹ️
      MacBook Air (13-inch, Mid 2013) (Technical Specifications)
      MacBook Air - model: MacBookAir6,2
      1 1.3 GHz Intel Core i5 CPU: 2-core
      4 GB RAM Not upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en0: 802.11 a/b/g/n/ac
      Battery Health: Normal - Cycle count 193
    Video Information: ℹ️
      Intel HD Graphics 5000
      Color LCD 1440 x 900
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Time since boot: 2 days 20:7:5
    Disk Information: ℹ️
      APPLE SSD SM0128F disk0 : (121,33 GB)
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      Macintosh HD (disk1) / : 120.11 GB (39.42 GB free)
      Core Storage: disk0s2 120.47 GB Online
    USB Information: ℹ️
      Apple Internal Memory Card Reader
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Logitech USB Receiver
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Library/Application Support/Avast/components/fileshield/unsigned
      [loaded] com.avast.AvastFileShield (2.1.0 - SDK 10.9) [Support]
      /Library/Application Support/Avast/components/proxy/unsigned
      [loaded] com.avast.PacketForwarder (2.0 - SDK 10.9) [Support]
    Problem System Launch Agents: ℹ️
      [killed] com.apple.CallHistoryPluginHelper.plist
      [killed] com.apple.CallHistorySyncHelper.plist
      [killed] com.apple.cmfsyncagent.plist
      [killed] com.apple.EscrowSecurityAlert.plist
      [killed] com.apple.icloud.fmfd.plist
      [killed] com.apple.scopedbookmarkagent.xpc.plist
      [killed] com.apple.spindump_agent.plist
      7 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
      [killed] com.apple.ctkd.plist
      [killed] com.apple.ifdreader.plist
      [killed] com.apple.nehelper.plist
      [killed] com.apple.periodic-daily.plist
      [killed] com.apple.softwareupdate_download_service.plist
      [killed] com.apple.wdhelper.plist
      6 processes killed due to memory pressure
    Launch Agents: ℹ️
      [loaded] com.avast.userinit.plist [Support]
      [not loaded] com.teamviewer.teamviewer.plist [Support]
      [not loaded] com.teamviewer.teamviewer_desktop.plist [Support]
    Launch Daemons: ℹ️
      [failed] com.adobe.fpsaud.plist [Support] [Details]
      [loaded] com.avast.init.plist [Support]
      [loaded] com.avast.uninstall.plist [Support]
      [failed] com.avast.update.plist [Support]
      [loaded] com.microsoft.office.licensing.helper.plist [Support]
      [not loaded] com.teamviewer.teamviewer_service.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist [Support]
      [invalid?] com.avast.home.userinit.plist [Support]
      [loaded] com.google.keystone.agent.plist [Support]
      [not loaded] info.lokiware.attachmenttamer.cleanup.plist [Support]
      [invalid?] info.lokiware.attachmenttamer.setupagent.plist [Support]
    User Login Items: ℹ️
      iTunesHelper Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      AdobeResourceSynchronizer Application  (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
      Dropbox Application  (/Applications/Dropbox.app)
    Internet Plug-ins: ℹ️
      FlashPlayer-10.6: Version: 16.0.0.287 - SDK 10.6 [Support]
      QuickTime Plugin: Version: 7.7.3
      AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Support]
      AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Support]
      Flash Player: Version: 16.0.0.287 - SDK 10.6 [Support]
      Default Browser: Version: 600 - SDK 10.10
      SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Support]
    User internet Plug-ins: ℹ️
      Google Earth Web Plug-in: Version: 7.1 [Support]
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
    Time Machine: ℹ️
      Skip System Files: NO
      Mobile backups: ON
      Auto backup: YES
      Volumes being backed up:
      Macintosh HD: Disk size: 120.11 GB Disk used: 80.69 GB
      Destinations:
      VERBATIM HD [Local]
      Total size: 499.76 GB
      Total number of backups: 57
      Oldest backup: 2013-06-22 12:39:36 +0000
      Last backup: 2015-01-22 15:57:47 +0000
      Size of backup disk: Excellent
      Backup size 499.76 GB > (Disk size 120.11 GB X 3)
    Top Processes by CPU: ℹ️
          6% WindowServer
          1% com.avast.daemon
          1% Dropbox
          0% AppleSpell
          0% com.avast.service
    Top Processes by Memory: ℹ️
      116 MB Mail
      82 MB loginwindow
      77 MB com.apple.WebKit.WebContent
      56 MB Calendar
      56 MB WindowServer
    Virtual Memory Information: ℹ️
      323 MB Free RAM
      1.51 GB Active RAM
      423 MB Inactive RAM
      675 MB Wired RAM
      58.76 GB Page-ins
      153 MB Page-outs
    Diagnostics Information: ℹ️
      Jan 23, 2015, 04:40:48 PM /Library/Logs/DiagnosticReports/discoveryd_2015-01-23-164048_[redacted].crash
      Jan 22, 2015, 09:34:02 AM /Library/Logs/DiagnosticReports/discoveryd_2015-01-22-093402_[redacted].crash
      Jan 21, 2015, 09:04:32 AM /Library/Logs/DiagnosticReports/discoveryd_2015-01-21-090432_[redacted].crash
      Jan 20, 2015, 09:07:43 PM Self test - passed

  • How to find out the locks

    How to find out which user has accuired the lock and which type user has accquired the locks.

    SQL> select l1.sid, ' IS BLOCKING ', l2.sid
    2 from v$lock l1, v$lock l2
    3 where l1.block =1 and l2.request > 0
    4 and l1.id1=l2.id1
    5 and l1.id2=l2.id2
    SQL> /
    SID 'ISBLOCKING' SID
    422 IS BLOCKING 479
    1 row selected.
    Even better, if we throw a little v$session into the mix, the results are highly readable:
    SQL> select s1.username || '@' || s1.machine
    2 || ' ( SID=' || s1.sid || ' ) is blocking '
    3 || s2.username || '@' || s2.machine || ' ( SID=' || s2.sid || ' ) ' AS blocking_status
    4 from v$lock l1, v$session s1, v$lock l2, v$session s2
    5 where s1.sid=l1.sid and s2.sid=l2.sid
    6 and l1.BLOCK=1 and l2.request > 0
    7 and l1.id1 = l2.id1
    8 and l2.id2 = l2.id2 ;
    BLOCKING_STATUS
    BULKLOAD@yttrium ( SID=422 ) is blocking BULKLOAD@yttrium ( SID=479 )

  • How to find out the rows inserted between a time period.

    Hi,
    Please help me to solve this.
    Table - emp.
    Colmns - empno(Primary Key),ename, mgr
    How to find out the rows inserted between a time period.
    For eg:- Between 02-Oct-2006 1 PM and 03-Oct-2006 2 PM.
    regards,
    Mathew.

    Hi,
    Maybe work:
    For each row, ORA_ROWSCN returns the conservative upper bound system change number (SCN) of the most recent change to the row. This pseudocolumn is useful for determining approximately when a row was last updated. It is not absolutely precise, because Oracle tracks SCNs by transaction committed for the block in which the row resides
    e.g.:
    SGMS@ORACLE10> create table test(cod number);
    Table created.
    SGMS@ORACLE10> insert into test values (1);
    1 row created.
    SGMS@ORACLE10> insert into test values (2);
    1 row created.
    SGMS@ORACLE10> commit;
    Commit complete.
    SGMS@ORACLE10> insert into test values (3);
    1 row created.
    SGMS@ORACLE10> commit;
    Commit complete.
    SGMS@ORACLE10> select SCN_TO_TIMESTAMP(ora_rowscn),ora_rowscn,cod from test;
    SCN_TO_TIMESTAMP(ORA_ROWSCN)       ORA_ROWSCN        COD
    06/11/06 08:56:56,000000000         727707205          1
    06/11/06 08:56:56,000000000         727707205          2
    06/11/06 08:57:05,000000000         727707210          3Cheers

  • How to find out Inquiry  document number in sales quotation

    Hi all
    my client have requirement that while creating quotation with reference to inquiry number the system should copy inquiry number in sales quotation it should be save into any particulates field so base on that  he can configure  output determination can any one help me how to find out Inquiry  document number in sales quotation and what are the config step i need to do
    Thanks and regards
    rajesh

    Hi raj
    Firstly  , In Sales header data you can see the preceding document feild but i am not sure in which tab .
    Secondly, As far as document flow is concerned go to VA22 and then you will get the document number of the quotation and at the top you will get one small icon which is document flow , but i am, not sure with the shortcut but just check with  Shift +F2. then you can see the flow
    Regards
    Srinath

  • How to Find Out whether Standard IDOC is Availabl for  Transaction ?

    Hi,
        We are having SAP implementation 4.7E IS-OIL. We would like to know how to find out whether is there any Standard IDOC is Available for the SAP Transaction.
    Particularly for IS-Oil related transaction. e.g Load Confiramtion. T-code - O4G1.
        From a Given Transaction code is there any link which can tell whether IDOC is Present or not.
         Kindly help me.
    Regards,
    Umesh

    check for transaction....we41 and we42..
    check for proper process code...then check in we57,we81 and we82..
    also u can search in google..
    UMESH note that u need some fucntional exp for working in IDOC...try to crack yr head ..give time..n u ll get to know the things soon..as there is no defined standards to work in idocs..
    for more info u can ask me for [email protected]
    best regards
    Message was edited by:
            Madan Gopal Sharma

  • How to find out the IDOC number(urgent)

    hello every one,
    i had recived all the data to BW from R/3 but the request is still running in the system
    for this <b>i need to manually release the IDOC for BD87</b>
    can any one please help me <b>How to find out the Idoc Number in R/3 and In BW for the particular load</b>
    Regards
    Sandy

    hi Siva,
    thanks for ur valuable answer,
    it is showing IDoc num for the succeeded one....
    my present error is Data pack 1 got error and Datapack 2 was success,
    their 3IDocs are their in detail tab all are success
    as per my knowledge it will for the Data pack 2 and it is showing 3different
    how can i find the Idoc which was struck .....
    that need to process manually in BD87..
    please suggest if i am wrong
    Regards
    Sandy

  • How to find out PR, PO GR's pending for morethan 30days

    Hi Guru's,
                        How to find out the PR,PO,GR's , which are pending for more than 30days. Thanx in advance

    This can be achieved in the purchasing list displays.
    For PRs you can use ME5A.
    select the field change date  (this has the creation date) from dynamic selections, enter the date that is 30 days ago, press F2 and select the icon for smaller than. Further  enter Processing status N. Execute.
    for open GRs you can check in ME2M (by material) and ME2L (by vendor)
    Enter selection parameter WE101, enter delivery date (that is 30 days ago) press F2 and selec the icon for smaller than. Execute.

  • How to find out the amount of ram a computer can hold

    I want to know how to find out what is the max amount of ram my computer can actually take advantage of, rather than tell you my model and you tell me what is the max because I know it varies according to the model of the Computer
    But if you'd like to help the other way, here is my model: Macbook(13-inch, Mid 2010 [unibody]) basically the latest version of the white macbook.

    Pointdexter11 wrote:
    simple version: what algorithms do they use to figure out the max is 8GB 
    That is not a simple question.  I don't think anyone here knows the exact testing process that Apple uses to determine what the max ram will be at the time of release.  This is done during the development process.

  • How to find out the amount assigned to WBS element

    Hello Friends,
    Will you please inform how to find out the (amount/value/budget) assigned
    to WBS element
    Which Table it is stored in?
    Thanks in Advance
    Bset Regards
    Diwakar

    Hi Diwakarnd,
    You can use any of the following reports to get the information you require.
    1. <b>S_ALR_87013557</b> - Budget/Actual/Variance
    2. <b>S_ALR_87013558</b> - Budget/Actual/Commitment/Rem Plan/Assigned
    3. <b>S_ALR_87013559</b> - Budget/Distributed/Plan/Distributed
    Some of these reports use a complex selection criteria from various tables which has been grouped together, logically by SAP. The Logical Database table name for PS is <b>PSJ</b>.
    Execute transaction code <b>SE36</b> -> <b>PSJ</b> -> (Subobject : Radio button <b>Structure)</b> -> Click on <b>Display</b>.
    You would see all the underlining tables used.
    I hope the above helps.
    Do not forget to award the points please.
    Regards,
    Jacob

Maybe you are looking for

  • Can i use iCloud as storage

    I was wondering if I could save apps on my iCloud account. Because I ran out of free space on my iphone

  • Cannot save Purchase order when there is Warning Message

    Hi, I have this problem where system do not allow to Save the Purchase order (ME21N) when there is a warning message, for example "W:  Can the delivery date be met?".  By right I can just click enter and save the PO but now the system do not allow to

  • PATCH: 2 new features: selectOnLoad and ds_TotalRowCount

    Hi all, I've got another patch. This one is pretty simple. In my app, I need the user to specifically select something from one dataset, which only then should trigger the second dataset to get loaded. And likewise to a third, fourth, fifth and six d

  • Launch new web browser during webGui transaction

    Question: Is there as easy way to launch a new web browser window (IE) during a webGUI transaction (from the ABAP code). Background: We have a transaction linked to a simple ABAP report that is launched from a web based non-SAP reporting tool via the

  • Problem with failed logins for "Workstation" objects

    All I am currently seeing an issue in my environment since an upgrade of the workstation ZENworks client to 6.5. Basically our environment was all ZEN 3.2, over the last month we have been force upgrading each site to ZENworks 6.5 for clients through