Having Problems / Waits while Rollback

Hi guys/Gurus,
Hope you all doing well.
I am having problem. The database is 9ir2.0.0.8. While doing an heavy transaction(Inserting in around 15 tables, 2000 records each.) The transaction encountered an error at the end before the commit statement. The server took so much time (calculated around 4 hours or more) to rollback the transaction, when i query the wait events table for that particular database session, i found the "LATCH FREE" event, 1500 times waited for "LATCH FREE".
I don't exactly know, what is the reason behind this. would some one please help me in this.
Please reply
thanks

I found this informative two:
What is the most common reason for 'cache buffer chain' latch contention ?
Is it because of some Inappropriate init parameter or because of hotblocks ? which is most common ?
Two main latches protect data blocks in the buffer cache. The cache buffer LRU chain latch must be obtained in order to introduce a new block into the buffer cache, and when writing a buffer back to disk. A cache buffer chains latch is acquired whenever a block in the buffer cache is accessed (pinned). Contention for these latches usually typifies a database that has very high I/O rates. It is possible to reduce contention for the cache buffer LRU chain latch by increasing the size of the buffer cache. This reduces the rate at which new blocks are introduced into the buffer cache. Reducing contention for the cache buffer chains latch usually requires the reduction of logical I/O rates (by tuning and minimizing the I/O requirements of application SQL). You can create additional cache buffer LRU chain latches by adjusting the configuration parameter DB_BLOCK_LRU_LATCHES. You can reduce the load on the cache buffer chain latches by increasing the undocumented configuration parameter DBBLOCK_HASH_BUCKETS.

Similar Messages

  • URGENT! Having problem with while statement and other syntax errors

    I am trying to teach myself JSP for a school project due very soon. But I keep receiving errors surrounding my while statement. The errors are:
    Syntax: ";" inserted to complete BlockStatements
    Syntax: "}" inserted to complete Block
    I have checked it over and over again, comparing against other examples found in this forum and against servlet examples and I can see no difference. This is my file for your information. It is supposed to list all the users in the user table. Is there a simpler way to do this?
    regards
    rach
    <%@ page language="java" import="java.sql.*, java.util.*"%>
    <html>
    <head>
    <title></title>
    </head>
    <body>
    <%! String selected = null; %>
    <%
    try{
         // Connect to the database
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
         Connection con = DriverManager.getConnection("jdbc:odbc:dbtest");
    catch(ClassNotFoundException e) {
         System.out.println("Database driver could not be found.");
         System.out.println(e.toString());
         throw new UnavailableException(this, "Database driver class not found");
    try{
         //create SQL statement
         stmt = con.createStatement();
         ResultSet rs = stmt.executeQuery("SELECT * from USER ORDER BY User_lastname, User_firstname");
    catch(SQLException e){
         System.out.println("Error connecting to the database.");
         System.out.println(e.toString());
         throw new UnavailableException(this, "Cannot connect to the database");
    %>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
         <td width="10">    </td>
         <td width="200" valign="top" align="center">
         <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr><td><form method="post" action="userupdatedelete.jsp" target="content" name="userlist">
                   <h2>Users</h2>
              </td>
              </tr>
              <tr>
                   <td width="10">    </td>
              </tr>
              <tr>
                   <td valign="top"><select size="15" name="rec">
                   <!-- if the resultset is not null -->
                   <% try {
                   //if (rs.next()) {
                        While (rs.next()){
                             //retrieve data from User table
                             String userid = rs.getString("User_ID");
                             String firstname = rs.getString("User_firstname");
                             String lastname = rs.getString("User_lastname");
                             out.println("<option value='userid'>lastname + ', ' + firstname</option>");
                             //<option value="<%=userid%>"><%=lastname + ", " + firstname%></option>
                   //else {
                   //     out.println("<option>    - No Users Entered - </option>");
                        //<option>    - No Users Entered - </option>
                   stmt.close();
                   con.close();
                   catch (SQLException ex){
                        System.err.print("SQL Exception :");
                        System.err.println(ex.getMessage());
                   %>               
                   </select>
                   </td>
              </tr>
              <tr>
                   <td align="center"><input type="submit" value="Update/Delete"></td>
              </tr></form>
              <tr>
                   <td><br></td>
              </tr>
              <tr>
                   <td align="center">
                   <form method="post" action="useraddform.jsp" name="addbuttonform">
                   <input type="submit" value="    Add New    " name="addnew">
              </tr></form>
              </table>
         </td>
         <td width="10">    </td>
    </tr>
    </table>
    </body>
    </html>

    There is a problem here with the "scope" of variables namely your variables "rs" and "stmt". Variables declared within a try block are available only within that try block. Also, the type for stmt is not even given.
    Change:
    try{
    //create SQL statement
    stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT * from USER ORDER BY User_lastname, User_firstname");
    catch(SQLException e){
    System.out.println("Error connecting to the database.");
    System.out.println(e.toString());
    throw new UnavailableException(this, "Cannot connect to the database");
    }to:
    Statement stmt = null;
    ResultSet rs = null;
    try
        //create SQL statement
        stmt = con.createStatement();
        rs = stmt.executeQuery("SELECT * from USER ORDER BY User_lastname, User_firstname");
    catch(SQLException e)
        System.out.println("Error connecting to the database.");
        System.out.println(e.toString());
        throw new UnavailableException(this, "Cannot connect to the database");

  • Anyone having problems printing with aps?

    Any one having problems printing while using an ap?

    you need the drivers...
    win 7 32 bit:
    http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=439154&p...
    win 7 64 bit:
    http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=439154&p...
    Although I am working on behalf of HP, I am speaking for myself and not for HP.
    Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
    Happy Troubleshooting : )

  • I have been having problems downloading apps with my cellular data. I try installing apps from the app store and when it starts loading it just stays loading for a while but all of a sudden it loads all the way and then it restarts It goes back to waiting

    I have been having problems downloading apps with my cellular data. I try installing apps from the app store and when it starts loading it just stays loading for a while but all of a sudden it loads all the way and then it restarts. It goes back to waiting

    https://discussions.apple.com/message/19584729#19584729

  • HT1349 I'm having problems downloading apps to my iPad using wifi at a McDonalds.  The apps all stay in a"waiting" mode.  I can't delete them or get them to install.  This is the second time that this has happened.  Advice?

    I am having problems downloading apps while using wifi in a public setting.  The apps will show up on my screen and say "waiting".  They will not install.  I can't even delete them from my screen.  This has happened before and I had to reset my iPad to factory settings.  I hope I don't have to do this again.  Any advice?

    Well, typically one of the fixes that I would suggest is to try to delete the waiting icons. WIFi in a public places like McDonalds, Starbucks, B&N, etc. is not the greatest and I would avoid those places for downloading and updating apps. But I do realize that not everybody has access to Wifi in their homes.
    These are all things that have worked at one time or another for other users. Hopefull one of them will work for you. Just ignore whatever does not apply or anything that you have already tried.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • Hi I am having problems downloading and updating apps on my iPad and iPhone. The message cycles between waiting and loading then I get an error message saying unable to download app. Eventually,after many attempts it works.

    Hi Guys - for a few days I have been having problems downloading and updating apps on my iPad and iPhone. The message cycles between waiting and downloading then eventually says unable to download app. Sometimes after many attempts it wil eventually work. I tested it on an old iPhone 3G and got the same problem so it is not an iOS 5 issue. My WI-FI connection is working fine. I was wondering if this is an App Store problem? Anyone else in the UK having this problem?

    Hi John
    iTunes Support wasn't of any use to me.
    I have also been having another problem - with BBC iPlayer and other video streaming not working due to insufficient bandwidth, despite my overall download speed being consistently around 50Gb.  This is also affecting AppleTV downloads
    I am using Virgin Media as my ISP, and was wondering whether you do as well.  This might be the common thread.
    -Bernard

  • I am having problems with my outlook 2011. While i am able to check and SEND email on all my other devices ( Ipad, iphone, Macbook), I am unable to do so with my iMac. This problem started suddenly and the error message i get is error 5.7.8. Please Help

    I  am having problems with my outlook 2011. While i am able to check and SEND email on all my other devices ( Ipad, iphone, Macbook), I am unablesend any email with my iMac ( i can recieve email) . This problem started suddenly and the error message i get is error 5.7.8. I have read the threads on line and went into settings, even created a new profile, nothing helps...Please advice..is this something to do with my keychain Access?

    As Outlook is not an Apple product, you will find more helpers familiar with Outlook here:
    Office for Mac forums

  • TS1702 I am having problems downloading 2 purchased movies. Cars 2 & Toy Story. I had it on My iPad, then after a while the movies would not play. I went to the apple store and they deleted it and told me that all I need to do is download it again. Not wo

    Hi
    I am having problems downloading 2 purchased movies. Cars 2 &amp; Toy Story. I had it on My iPad, then after a while the movies would not play. I went to the apple store and they deleted it and told me that all I need to do is download it again. I tried what they suggested at the apple store, but I am still not successful. It continues to tell me there is a download error. Please help! Need these movies for my 3 year old!

    User to user forum.
    Apple is not here.
    You need to contact iTunes support:
    http://www.apple.com/support/itunes/contact/

  • Im having problems with Safari 5.1.10. I often have several tabs open on screen. And after a while the links/websites become not active. So if click on a tab and want open a previous website it than has to re-load again in the window. Can I change this ?

    Im having problems with Safari 5.1.10. I often have several tabs open and after a while the links/websites become not active. So if click on a tab and want open a previous website it than has to re-load again in the window. Can I change this ?
    Kind regards,
    Faroek Abdoelrahman
    The Netehrlands

    Empty the Safari cache more often.
    From your Safari menu bar click Safari > Preferences then select the Advanced tab.
    Select:  Show Develop menu in menu bar
    Now click Develop from the menu bar. From the drop down menu click Empty Caches.
    Quit and relaunch Safari to test.

  • I am having problem while using ms word with anjal( OS X Lion 10.7.5 (11G63))

    i am having problem while using ms word with anjal  is not working properly but its working in facebook and other areas.i need and  its very important to using tamil fonts for my job.can anyone help me out from this problem.
    thanking you
    by
    moses

    Those who are knowledgable in this area (myself not among them) say that Word's support for Asian languages is faulty. The best word processor for that use is "Mellel."

  • Visio 2013 startup problem "Please wait while Windows configures Microsoft Visio..."

    Hello,
    I am getting the "Please wait while Windows configures Microsoft Visio Professional 2013" window on every load of this program. I have found no resolutions from Google searches.  I have tried a full reinstall of Visio, registry modifications
    (per http://support.microsoft.com/kb/2685120?wa=wsignin1.0), tried running it in safe mode (still happens), tried a clean boot (still happens). I'm out of ideas. Does anyone know of a fix?
    Thanks,
    Nick

    Hi,
    Try the following method:
    If you have an earlier version of Visio installed, such as Visio 2003 or Visio 2007 or Visio 2010, follow these steps:
    1.In Windows 7 or Windows Vista, click Start, click All Programs, click Accessories, and then select Run.
     In Windows XP, click Start, and then click Run.
    2.Type the following command, and then press Enter:
    reg add HKCU\Software\Microsoft\Office\15.0\Visio\Options /v NoReReg /t REG_DWORD /d 1
    3.(Optional) Instead of typing the command line, you can  copy it to your clipboard, right-click an empty section of the Run box, select Paste, and then press Enter.
    4.Verify that the problem is resolved.
    Jaynet Zhang
    TechNet Community Support

  • Hello i am rajesh i am having problem while conveting other files into pdf format please help me

    i am rajesh i am having problem while converting other files into acrobat format please help me

    Hello Rajesh,
    I'm sorry to hear you're having trouble. Are you using Acrobat.com to convert your files to PDF? Please let me know where you are having trouble and I will do my best to help you convert your files. For your reference, here is a list of filetypes that can be converted to PDF online with Acrobat.com:
    http://kb2.adobe.com/cps/524/cpsid_52456.html#Create%20PDF
    Best,
    Rebecca

  • HT1473 Im having problem while transferring songs from PC to Ipod. Ive followed all steps 'File Add to Library' but i cant find songs in my ipod. Ive also synced the ipod and backup as well but still same. what to do?

    Im having problem while transferring songs from PC to Ipod. Ive followed all steps 'File<Add to Library' but i cant find songs in my ipod. Ive also synced the ipod and backup as well but still same. what to do?

    Try:
    iTunes: Finding lost media and downloads
    iTunes: How to re-create your iTunes library and playlists
    Next try:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Also:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • Having problem while activating my product please help

    having problem while activating the product

    gifted,
    Depending on your version, you may try a chat here or here:
    Creative Cloud support (all Creative Cloud customer service issues, chat open between 5AM and 7PM PST/PDT on workdays)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html
    Serial number and activation support (non-CC, chat open between 5AM and 7PM PST/PDT on workdays)
    http://helpx.adobe.com/x-productkb/global/service1.html

  • HT201263 hello guyz i m having problem while restoring my iphone 4.It is showing me the 1600 error before that it showed 3194 error i fixed that after that it showed me the error 1601 also i fixed it but now with 1600 plz plz help me guyz

    hello guyz i m having problem while restoring my iphone 4.It is showing me the 1600 error before that it showed 3194 error i fixed that after that it showed me the error 1601 also i fixed it but now with 1600 more then 20 times tried but no advantage plz guyz help me?

    iTunes: Specific update-and-restore error messages and advanced troubleshooting - http://support.apple.com/kb/TS3694 - relating to iPad, iPhone, iPod touch, iTunes

Maybe you are looking for

  • Problems with language

    Hello! There is a problem Safary, many can not fill out forms in Russian, including leave comments, in Russia, many sites where the login and password can be filled only in Russian, but the system does not switch from English to Russian.The same prob

  • Can I CALL FUNCTION 'SPBT_INITIALIZE' many times ?

    Hi ABAP Expert, I need your advise whether is recommended to calling FUNCTION 'SPBT_INITIALIZE' to get updated information regarding available background process for parallel processing in ABAP. Because if i just call this program 1 time at the begin

  • CS6 Bridge and Corel Rif. files

    Just upgraded from CS3 to CS6 . I also use Corel Painter and was able to preview Corel's Rif. files in the CS3 Bridge. In CS 6 unable to preview, Rif. files show up as Icons. I'm I missing a setting in preferences ?. Thanks Joseph

  • Can Someone Tell me how to NETWORK my Mac to Windows?

    I am using a Macbook Pro and Windows (Windows 7) and assume its similar to networking with Vista (which I also do not know how to do). Is this the best place to post about networking? Can somebody help us? Thanks.

  • Error when release to accounting document

    Hi there: After finish creating the invoice via vf01 based on the outbound delivery and I am abou to release to accounting document,I encountered below error that I have never seen before: Document type RX not defined,and when I click release to acco