ADF generated HTML code performance issue

ADF generated code has lot of unnecessary html tags (when you check in Firebug). browser takes time to load the page . It means performance low.
As a Front end engineer . My aim is to give end user good browsing feeling , he doesn't like to weighting till page loads.
So from end user perspective page should load faster.
Normal Html pages and other applications i have full control over html code.
But in ADF , i don't have full control over all html tags ,which is generated by server dynamically.
So, can anyone suggest how i can improve my page loading performance ?

Anil,
so in real - world terms, what you are saying is that a Ferrari 360 which has a weight of 1,350 kg is slower than a FIAT Panda, which only weights 840 kg. There is a catch to this theory of yours:
1. ADF Faces is based on JavaServer Faces, which is a component based framework for writing web based applications. Renderer classes are used to build the user front end. It is not the intention of JSF to allow application developers - but component developers - to tweak the generated component output. If you want something lean, use the default JSF HTML component set, which comes extremely light (but also with less functionality - like a Fiat Panda)
2. Performance is not alone defined by the HTML downloaded to a client - especially given that static HTML can be cached in browsers and ADF supports page templating for this. There are other factors that play in to this like network bandwidth, latency, query time, business logic execution time, image sizes, CSS and JavaScript
3. The real load in ADF Faces, as in other AJAX frameworks, is JavaScript. Most of the ADF Faces functionality is created dynamically on the client side using JavaScript objects
4. ADF Faces has more complex components than HTML. If you compare a HTML table with the table rendered in ADF, you see a difference in the look and behavior
Btw, here's the tuning guide for ADF: http://download.oracle.com/docs/cd/E21764_01/core.1111/e10108/adf.htm#CIHHGADG . You also may want to test and consider partial page navigation, which speeds up page to page navigation big times.
Frank

Similar Messages

  • How to generate html-code using csv input with JSP or JAVA???

    Hello,
    I want to read out a .csv-file and generate html-code dynmically with JSP in an EP6 Application. The problem is, that the csv-file can’t be located or openend.
    BTW if every knows a good tutorial or weblog for this, please post the link.
    It’s located in a par-archive under:
    />dist>files
    I tried various methods, in the doContent mehtod or with JSP. Everytime same result.
    Here part of the code I tried in the doContent():
    public class CSV extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
            String strWRoot = request.getWebResourcePath();
            String contentCSV="", line="";
            String linesep = System.getProperty("line.separator");
            File fileLoadCSV = new File(strWRoot+"/files/ma_infosysteme.csv");
            boolean exCSV = fileLoadCSV.exists();
            boolean reCSV = fileLoadCSV.canRead();
            int a=0;
            if(exCSV&&reCSV){
                response.write("ok");
                try {
                  BufferedReader inputCSV = new BufferedReader(new FileReader(fileLoadCSV));
                  while((line=inputCSV.readLine())!=null){
                    contentCSV=contentCSVlinelinesep;
                    a++;
                  inputCSV.close(); 
                catch(IOException ioex){
                    System.out.println("Fehler");  
            else {
                response.write("not ok");
            response.write("<br>Wroot: "+strWRoot);
            response.write("<br>File: "+fileLoadCSV);
            response.write("<br>exists: "+exCSV);
            response.write("<br>read: "+reCSV);
            response.write("<br>Input: "+contentCSV);
    The Output is:
    not ok
    Wroot: /irj/portalapps/DHTML
    File: \irj\portalapps\DHTML\files\ma_infosysteme.csv
    exists: false
    read: false
    Input:
    So thanks to everyone who can give me a good hint.
    Bye.

    Without really looking too much into this it looks like the problem is with the way in which you are trying to open the file. I believe that when creating a File object you need to use a physical path. By using the getWebResourcePath() method you are retrieving the URL to this file and not the physical path name. There is another method (can't remember the exact name) called getPublicResourcePath() (or something similar) which will return the physical path to this file, i.e. c:\usr\sap\.....etc. If you try it this way it may well work
    I hope this helps
    D

  • Generate HTML code via JSP

    hi!
    I want to 'run' a JSP and then retrieve the generated HTML code.all without any browser/tomcat...
    is there a way to run JSP's in the virtual machine..?
    greetz
    chris

    we have some templates (generated with dreamweaver), there we want to fill in the dynamic content by java (JSP tags...)
    but in the end we don't have to show the html code on in the browser, we need a fix HTML file which we can print (the dynamic content filled in..)!
    any ideas
    chris

  • How to display xslt generated html code?

    Hi,
    I transformed xml code into html code inside my action
    class and put generated code into StringWriter, I
    don't
    know how I can display it on my jsp page?
    I tried to turn generated html code into a big string,
    then use bean:write to display it on jsp page, it just
    does not work.
    Has anyone done this kind of thing?
    thanks

    hi
    Just put that String in JSP expression <%= String name %>
    u will see it on browser
    thanks
    hithesh

  • HTML Article performance issues in Adobe Viewer on iPad

    I have created a HTML Article using DPS but when I come to view it on Adobe Viewer in iPad the content does not scroll smoothly and the content is cut off and cropped (the whole page is not displayed), it is very judery and struggles to render the HTML below 'the fold' so to speak.
    I have tried both options for importing HTML into DPS and both have the same performance/lag isuues.
    I have a video in my HTML that seemed to be causing an issue where the video streaming was struggling to be pulled through, so I have treid YouTube and Vimeo video streaming and the performance/display issue is not resolved. I then tried embbeding an mp4 directly using HTML5 to see if it was a connection/bandwidth issue and the problem still exists. However the videos do play, its just the fact that the container is cropped in half.
    Sometimes the whole HTML article renders but then when you swipe back up the page it struggles to render the content above? Also then when you swipe back down the page the content is also cropped that was visible before?
    I have reviewed every available discussion on the Adobe Community and other resources but all the fixes mentioned do not have any effect.
    If anybody can assist or has been experiencing the same issues any advise would be welcome.
    Oh, the HTML Article contains some JS too, it does function correctly but I was wondering if JS causes problems? Just a thought.

    Well, I think I may have found the answer so I thought I would share with the Community incase anyone else experiences the same type of issues.
    After testing another peice of HTML that also included video streaming and heavy JavaScript, I narrowed the issue down to my JS. I had two Nivo Slider Carousels that were the route of the performance issues.
    The other test HTML Article scrolls smoothly and the video pulls in as intended, although once in a while there is a slight delay in the page scrolling up and down but this is hardly noticeable.
    I hope this may be of some help to other's in the future?

  • Generating QT html code for blog

    I'd like to generate html code for quicktime audio files to embed on my blog posts. I use blogger. Can I do this? Is quicktime the best/easiest way to go about this? I have the free version of QT, not pro. Thanks

    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
    codebase=
    http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0
    width="200" height="16">
    <param name="qtsrc" value="sample.mp3" />
    <param name="autoplay" value="true" />
    <embed qtsrc="sample.mp3" autoplay="true" width="200"
    height="16"
    pluginspage="http://www.apple.com/quicktime/download/">
    </embed>
    </object>

  • PDF and column HTML code

    My report table include column with HTML format such as
    <a target="_blank" href="tableA.url">tableA.url</a>
    It works fine in dashbaord: I see the URL and when click on it, I got the URL in new window.
    When I export to PDF, the resulting PDF display the HTML code and not just the URL.
    Any ideas?

    user8257465 wrote:
    Hi,
    I tried to achieve this before without success. My conclussion was that the pdf converssion engine that OBIEE uses is not able to generate HTML code inside the pdf.
    Me too I will like to know if someone achieved this.
    Thanks,Unfortunately, your assessment is correct: when printing to pdf, the HTML codes are exposed rather than maintaining the functionality of the coding.

  • DreamWeaver HTML code is good for WordPress?

    Hello everyone! It's the first time I write in this Forum, but I've got a problem and I hope someone of you could help me...
    I've found some problems when I pasted my Dreamweaver generated HTML code in a WordPress page.
    I usually write in my WP Blog with no problem, but today I wanted to create some special <div>, so first of all I generated the page in DreamWeaver. Then I copied and pasted the code into the WP CMS (HTML view, of course). But the text was not formatted like in DW... I tried to modify the code in the WP CMS, but I couldn't do what expected.
    Anyone can help me?

    Thank you for your answers, martcol and bemdesign.
    I'll try to better explain my problems. First of all, sorry for my bad english: I hope you will understand anyway. Unfortunately I cancelled my previous HTML code. Here's what is on-line at the moment:
    <div class="postText">
                            <p><strong>Oggetto dell&#8217;analisi dimostrativa</strong><br />
    Tutto il materiale prodotto nel web in Francia e in lingua francese, nel  periodo 10 settembre-10 ottobre 2010. In particolare, sono stati  analizzati blog e forum, siti di news on-line, contenitori di foto e  video, social network come Facebook, Twitter e FriendFeed, Google e i  principali motori di ricerca.<strong> </strong></p>
    <p><strong>Obiettivi</strong><br />
    - Misurare il volume di discussioni nel web sul Salone dell&#8217;Automobile di Parigi 2010<br />
    - Individuare le case automobilistiche maggiormente citate<br />
    - Individuare i più citati, tra i nuovi modelli e concept presentati al Salone</p>
    <p><strong>Strumento utilizzato</strong><br />
    <a href="http://www.intesys.it/Buzz-Analysis/">WebMetrika</a>, il   il servizio di <strong>Blog &amp; Buzz Analysis</strong> di Intesys, che   offre alle aziende informazioni per valutare la  propria Web Brand Reputation, l&#8217;efficacia delle iniziative di marketing  attuate, l&#8217;opinione dei consumatori su prodotti e servizi.</p>
    <hr width="100%" color="#666666"></p>
    <p>Si sta svolgendo in questi giorni a Parigi il <strong>Mondial de l&#8217;Automobile </strong>2010: il più importante salone dell&#8217;automobile francese, che si svolge al Paris Expo Porte Versailles. Appuntamento blasonato a cadenza biennale, vanta più di un secolo di storia: la prima edizione risale al 1898.</p>
    et cetera et cetera
    I wanted to insert the first part of the page in a <div>: from "Oggetto dell&#8217;analisi dimostrativa..." to "...opinione dei consumatori su prodotti e servizi". In my head this <div> had to seem like a grey box with a red border: easy to make with DW! I did so, but when I copied it into WP, the text didn't appear as I've formatted it... What have changed? The <br> and the font dimension too...
    I couldnt think that creating a simple box would be so tough!

  • HTML code generation with Java

    Hi, I don't know how pertinent it is to ask this question
    whether we have java api anywhere to generate html code.

    You can use any implementation of the xml api (jaxp)
    do generate XML and the new versions of html are xml.
    or you can use Java Server Pages and custom taglibraries like the struts framework for example.
    It really depends on what you want to do exactly...
    create a web application ... store documents as html ...
    Spieler

  • WebGUI: Embedded HTML Code

    Hello all,
    is it possible to embed own HTML code in the generated HTML code using Webgui (based on integrated ITS on WebAS 640)?
    Thanks a lot.
    Regards,
    Kurt.

    Hello,
    thanks for your response; I'm using webgui; via this service I call a transaction in backend via ~transaction; HTML is generated automatically.
    Now, the requrement is to enhance some HTML code to the generated page.
    Is there any possibility to include additional HTML code in the generation process?
    Thanks & best Regards,
    Kurt.

  • ADF/Struts Generated tag code variations? Struts html:text vs Html input

    Hi,
    JDev 10.1.2.1
    ADF/Struts
    I noticed that the JDev IDE generates different code for a same component/binding combination.
    Example:Data Control of type Input form with same VO selection.
    Generated code for 1 field:
    case 1)
    JSP code:
    <tr>
    <td>
    <c:out value="${bindings['TitleLang1'].label}"/>
    </td>
    <td>
    <html:text property="TitleLang1"/>
    </td>
    </tr>
    HTML output:
    <tr>
    <td>
    Short Title Language 1
    </td>
    <td>
    <input type="text" name="TitleLang1" value="Preliminary Demo">
    </td>
    </tr>
    case 2)
    JSP code:
    <tr>
    <td>
    <c:out value="${bindings['TitleLang1'].label}"/>
    </td>
    <td>
    <input type="text" name="<c:out value='${bindings.TitleLang1.path}'/>" value="<c:out value='${bindings.TitleLang1}'/>"/>
    </td>
    </tr>
    HTML output:
    <tr>
    <td>
    Short Title Language 1
    </td>
    <td>
    <input type="text" name="VB_TitleLang1" value="Preliminary Demo"/>
    </td>
    </tr>
    Case 1 generated code is obvious to me, the html name of the field equals the field binding id.
    In Case 2, the VB_ prefix is added and the binding variable references bindings.fieldName.path?
    Could someone explain me the second flavor?
    When should we use the path reference and replace the Struts html:text tag with html input tag?
    Thanks
    Fred

    I dont think you can mix static values and rt expressions together in attribute values.
    String onBlurString = "dontLeaveItEmpty(this);referenceEntered(" + recordNumber + ")" ;
    html:text styleClass="textFieldInTable" name="refrences" property="referenceName" onblur="<%=onBlurString%>" />cheers,
    ram.

  • HTML code issues

    I have a topic that was once stable
    , but now at one point in the top
    ic the style is correct. But in another area, the style will not take and the HTM
    L code inserts <span> etc., etc. Here is an example if you look at the H
    2 head:
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="template" content="NERC.htt" />
    <meta name="generator" content="Adobe RoboHelp 8" />
    <title>Revoking PI User Access</title>
    <link rel="StyleSheet" href="..\default.css" type="text/css" />
    </head>
    <body>
    <?rh-script_start ?><script src="../ehlpdhtm.js" type="text/javascript"
            language="JavaScript1.2"></script><?rh-script_end ?>
    <?rh-placeholder type="header" ?>
    <h1>Revoking PI User Access</h1>
    <p>Access for both a PI user and a SCADAView user can be revoked if a Mantis
    ticket requesting removal from IT AccessRequest exists. For Mantis tickets,
    make sure that a <span class="BoldName">Real Time Systems User ID Add-Changed-Remove</span>
    form completed by the user’s E4 manager is attached to the ticket. If
    not, contact the requestor.</p>
    <p>In order to remove access, you must search for the user name in both
    the old and new databases:</p>
    <ul type="disc">
    <li class="BulletedList">For instructions on revoking a user's access
      in the old database, <a href="#Removing_Access_Old_DB">click here</a>.</li>
    <li class="BulletedList">For instructions on revoking a user's access
      in the new Active Directory database, <a href="#Removing_Access_New_DB">click
      here</a>.</li>
    </ul>
    <p>After revoking a PI user's access, you also need to remove the user's
    name from the Outlook Address Book. For instructions, <a href="#Removing_User_Outlook_Group">click
    here.</a></p>
    <h2>Removing a user's access in the old database<a name="Removing_Access_Old_DB"></a></h2>
    <ol>
    <li class="NumberedList"><p style="margin-left: 0px;">Go to the SCADA
      website at <a href="http://scada/" style="font-size: 10pt;">HTTP://SCADA</a>.</p></li>
    <li class="NumberedList"><p>When the <span class="BoldName">SCADA &amp;
      Distribution Automation</span> home page displays, under <span class="BoldName">PI
      Historian</span>, click <span class="BoldName">User Maintenance</span>
      (circled in red). <a class="dropspot" href="javascript:TextPopup(this)"
            id="a5">Click to view</a>.</p>
    <div class="droptext" id="POPUP134020538" style="display: none;">
      <p><img src="../PI_Historian.jpg" alt="" style="border-left-style: Solid;
         border-left-width: 2px; border-right-style: Solid; border-right-width: 2px;
         border-top-style: Solid; border-top-width: 2px; border-bottom-style: Solid;
         border-bottom-width: 2px;" width="194" height="109" border="2" /></p>
    </div></li>
    <li class="NumberedList"><p>When the SCADA System Logon screen displays,
      perform the following:</p></li>
    </ol>
    <ol start="1">
    <li class="NumberedList2"><p>For <span class="BoldName">User Id,</span>
      enter your PI user id.</p></li>
    <li class="NumberedList2"><p>For <span class="BoldName">Password,</span>enter
      your PI password.</p></li>
    <li class="NumberedList2"><p>For <span class="BoldName">Select Group,
      </span>click <span class="BoldName">PRG</span> from the dropdown list.</p></li>
    <li class="NumberedList2"><p>Click <img src="../ButtonSubmit.JPG" alt=""
                style="border: none;" width="61"
                height="25" border="0" /><span
      class="BoldName">.</span></p></li>
    </ol>
    <p style="text-indent: 84px;"><span class="BoldName">&#160;Result:</span><span
      class="Result"> The </span><span class="BoldName">User Administration</span><span
      class="Result"> screen displays the user's information. <a class="dropspot"
      href="javascript:TextPopup(this)" id="a2">Click to view</a>.</span></p>
    <div class="droptext" id="POPUP133400192" style="display: none;">
    <p><img src="../UAdminKUSBJX.jpg" alt="" style="border: none;" width="456"
        height="368" border="0" /></p>
    </div>
    <ol start="4" type="1">
    <li class="NumberedList"><span class="Result">I</span>f the user id
      is recognized, but PI access must be removed while keeping <span class="BoldName"
      style="font-weight: normal;">SCADAView.</span></li>
    <li class="NumberedList">If the user id is recognized, but PI access
      must be removed while keeping <span class="BoldName" style="font-weight: normal;">SCADAView
      access, uncheck the </span><span class="BoldName">PI Access</span><span
      class="BoldName" style="font-weight: normal;"> checkbox and click
      </span><img src="../ButtonModify.JPG" alt="" style="border: none;"
         width="63" height="25" border="0" />. </li>
    </ol>
    <p style="margin-left: 60px;"><span class="BoldName">&#160;Result: &#160;</span>If
    the PI-only access removal is successful you should see this message (circled
    in red).</p>
    <ul type="disc">
    <ol start="6" type="1">
      <li class="NumberedList"><p>&#160;</p></li>
      <li class="NumberedList">If both SCADAView and PI Access must be
       removed, click <img src="../ButtonDelete.JPG" alt="" style="border: none;"
            width="63" height="24" border="0" />.</li>
      <p>&#160;Result: If both SCADAView and PI access removal is successful
       you should see the following message (circled in red). <a class="dropspot"
       href="javascript:TextPopup(this)" id="a4">Click to view.</a></p>
      <div class="droptext" id="POPUP133037650" style="display: none;">
       <p><img src="../UAdminDeleted.jpg" alt="" style="border: none;"
          width="466" height="409" border="0" /></p>
      </div>
      <p class="Note" style="margin-left: 108px; text-indent: -48px;">&#160;NOTE:
       &#160;<span style="font-weight: normal;">The User ID is the person’s
       LAN user id. This removes the user id from the GLOBE_USER table.</span></p>
      <h2><span style="font-weight: normal;">Removing a user's access
       in the new database (Windows Active Directory)<a name="Removing_Access_New_DB"></a></span></h2>
      <ol type="1">
       <li class="NumberedList"><p><span style="font-weight: normal;">Remote
        desktop to either server: <span style="font-weight: bold;">cccs-pifig01</span>
        or <span style="font-weight: bold;">lc3s-pifig01</span>.</span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">Double-click
        the <span style="font-weight: bold;">Energy PI Users Group.</span></span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">When
        the<span style="font-weight: bold;"> Energy PI Users Properties
        </span>dialog<span style="font-weight: bold;"> </span>displays,
        select the <span style="font-weight: bold;">Members</span>
        tab. See below.</span></p></li>
      </ol>
      <p style="margin-left: 48px;"><span style="font-weight: normal;"><img
       src="../Remove_NewDB.jpg" alt="" style="border: none;" width="963"
       height="642" border="0" /></span></p>
      <ol start="4" type="1">
       <li class="NumberedList"><p><span style="font-weight: normal;">Select
        the LAN user name on the screen and click <img src="../ButtonRemove.jpg"
                    alt="" style="border: none;"
                    width="75"
                    height="24"
                    border="0" />.
        </span></p></li>
      </ol>
      <p style="text-indent: 60px;"><span style="font-weight: normal;"><span
       style="font-weight: bold;">&#160;Result:</span> The user is removed
       from the PI access Active Directory user database.</span></p>
      <h2><span style="font-weight: normal;">Removing a user's name from
       Outlook<a name="Removing_User_Outlook_Group"></a> </span></h2>
      <p><span style="font-weight: normal;"><span class="BoldName" style="font-weight: normal;">This
       procedure involves removing the newly deleted user from the </span><span
       class="BoldName">T&amp;D PI Users</span><span class="BoldName"
                   style="font-weight: normal;">
       group in the Outlook Address Book.</span></span></p>
      <ol start="1" type="1">
       <li class="NumberedList"><p><span><span class="BoldName" style="font-weight: normal;">Open
        the address book in Outlook.</span></span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">Locate
        and delete the user’s name from the <span class="BoldName">T&amp;D
        PI Users group.</span></span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">Complete
        the Mantis ticket.</span></p></li>
       <li class="NumberedList"><p><span style="font-weight: normal;">If
        the user is on the Terminated Employees list, enter the employee’s
        user id in the PI Access column and highlight the entire row
        with an orange background color.</span></p></li>
      </ol>
      <p>&#160;</p>
      <?rh-placeholder type="footer" ?>
    </ol>
    </ul>
    <?rh-placeholder type="footer" ?>
    <?rh-script_start ?><script type="text/javascript" language="JavaScript1.2">//<![CDATA[
    if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
    TextPopupInit('a5', 'POPUP134020538');
    TextPopupInit('a2', 'POPUP133400192');
    TextPopupInit('a4', 'POPUP133037650');
    //]]></script><?rh-script_end ?>
    </body>
    </html>
    I am exhausted from deleting specific HTML code to make the content work. Plus there seems to be an issue with the margins moving around. Can someone help me with this HTLM code nightmare? Other than deleting it all and inputting the text again? This is the only topic in my project in which this has occurred.

    Hi Gloria,
              Its not possible to talk about a solution until you know the issue which caused it. the question is the HTML cannot get reorganize in RoboHelp if it is not edited exclusively - by this I mean if you bring in all the content through RoboHelp UI then RoboHelp will not change HTML by itself, until you manually change the html code.
    you should try to find out the cause of the seizure (by which I think you mean hang), It could be that you are using any version control and it failed to checkout/checkin one or more project files, It might be that .cpd file got corrupted in that case you can try deleting the .cpd file after closing the project and it will get recreated by RoboHelp on next Open project, or it is possible that some of your shared resources might be missing/moved because of which RoboHelp hangs then in such case you should replace/remove these resources.
    You should not be working on the project over network (i.e. the Project should be on the local drive).
    Are you using CBTs and UDVs or your topics are too large (and thus processing of these topics seizes RoboHelp)
    by any means deleting random HTML code of any topic might actually make the HTML invalid and cause more crashes or hangs.
    I have listed down almost all the reason..
    one way is to remove topics and find out the culprit topics which causes the hang and if you find one you can share it with me at [email protected] and I might find the cause of RH hang by inspecting that
    Hope this helps
    Ashish

  • Performance issue with pl/sql code

    Hi Oracle Gurus,
    I am in need of your recommendations for a performance issue that I am facing in production envrionment. There is a pl/sql procedure which executes with different elapsed time at different executions. Elapsed Times are 30minutes , 40 minutes, 65 minutes , 3 minutes ,3 seconds.
    Expected elapsed time is maximum of 3 minutes. ( But some times it took 3 seconds too...! )
    Output on all different executions are same that is deletion and insertion of 12K records into a table.
    Here is the auto trace details of two different scenarios.
    Slow execution - 33.65 minutes
    Stat Name                                Statement   Per Execution % Snap
    Elapsed Time (ms)                         1,712,343    1,712,342.6    41.4
    CPU Time (ms)                             1,679,689    1,679,688.6    44.7
    Executions                                        1            N/A     N/A
    Buffer Gets                              ##########  167,257,973.0    86.9
    Disk Reads                                    1,284        1,284.0     0.4
    Parse Calls                                       1            1.0     0.0
    User I/O Wait Time (ms)                       4,264            N/A     N/A
    Cluster Wait Time (ms)                        3,468            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                        6            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     4            N/A     N/A
    Sharable Mem(KB)                                 85            N/A     N/A
              -------------------------------------------------------------Fast Exection : 5 seconds
    Stat Name                                Statement   Per Execution % Snap
    Elapsed Time (ms)                            41,550       41,550.3     0.7
    CPU Time (ms)                                40,776       40,776.3     1.0
    Executions                                        1            N/A     N/A
    Buffer Gets                               2,995,677    2,995,677.0     4.2
    Disk Reads                                       22           22.0     0.0
    Parse Calls                                       1            1.0     0.0
    User I/O Wait Time (ms)                         162            N/A     N/A
    Cluster Wait Time (ms)                          621            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                       55            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     4            N/A     N/A
    Sharable Mem(KB)                                 85            N/A     N/A
              -------------------------------------------------------------For security reasons, I cannot share the actual code. Its a report generating code that deletes and load the data into table using insert into select statement.
    Delete from table ;
    cursor X to get the master data ( 98 records )
    For each X loop
    insert into tableA select * from tables where a= X.a and b= X.b and c=X.c ..... ;
    -- 12 K records inserted on average
    insert into tableB select * from tables where a= X.a and b= X.b and c=X.c ..... ;
    -- 12 K records inserted on average
    end loop ;1. The select query is complex with bind variables ( explain plan varies for each values )
    2. I have checked the tablespace of the tables involved, it is 82% used. DBA confirmed that it is not the reason.
    3. Disk reads are high during long execution.
    4. At long running times, I can see a db sequential read wait event on a index object. This index is on the table where data is inserted.
    All I need to find is why this code is taking 3 seconds and 60 minutes on the same day and on the consecutive executions ?
    Is there any other approach to find the root cause of this behaviour and to fix it ? Kindly adivse.
    Thanks in advance your help.
    Regards,
    Hari
    Edited by: BluShadow on 26-Sep-2012 08:24
    edited to add {noformat}{noformat} tags.  You've been a member long enough to know to do this yourself... so please do so in future.  ({message:id=9360002})                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hariharan ST wrote:
    Hi Oracle Gurus,
    I am in need of your recommendations for a performance issue that I am facing in production envrionment. There is a pl/sql procedure which executes with different elapsed time at different executions. Please reedit your post and add some code tags around the trace information. This would improve readability greatly and will help us to help you
    example
    {<b></b>code}
    select * from dual;{<b></b>code}
    Based upon your description I can imagine two things.
    a) The execution plan for the select query does change frequently.
    A typical reason can be not up to date statistics.
    b) Some locking / wait conflict. For example upon a UK index.
    Are there any other operations going on while it is slow? If anybody inserts a value, then your session will wait, if the same (PK/UK) value also is to be inserted.
    Those wait events can be recognized using standard tools like oracle sql developer or enterprise manager while the query is slow.
    Also go through the links that are in the FAQ. They tell you how to get better information for makeing a tuning request.
    SQL and PL/SQL FAQ
    Edited by: Sven W. on Sep 25, 2012 6:41 PM

  • Include HTML code and ADF COMPONENTS

    I used Corel PHOTO-PAINT 12.0 for generate a web menu and i want to include in my project into a jspx page.
    When i paste the code of <table>.........</table> into tags <af:form></af:form> the page appears a mess in the browser.
    But if i use html only the page appears fine. I need tu use the html code for menu and i need use adf compont tu for display other data.
    my version of JV is 11.1.1.6.0

    Hi,
    try putting your html inside cdata tag like this
    <![CDATA[
    <a href="www.google.com">Google</a>
    ]]>Regards,

  • Performance issue while generating Query

    Hi BI Gurus.
    I am facing performance issue while generating query on 0IC_C03.
    It has a variable as (from & to) for generating the report for a particular time duration.
    if the variable (from & to) fields is filled then after taking a long time it shows run time error.
    & if the query is executed without mentioning the variable(which is optional) then the data is extracted from beginning to till date. the same takes less time in execution.
    & after that the period has to be selected manually by option keep filter value. please suggest how can i solve the error
    Regards
    Ritika

    HI RITIKA,
    WEL COME TO SDN.
    YOUHAVE TO CHECK THE FOLLOWING RUN TIME SEGMENTS USING ST03N TCODE:
    High Database Runtime
    High OLAP Runtime
    High Frontend Runtime
    if its high Database Runtime :
    - check the aggregates or create aggregates on cube and this helps you.
    if its High OLAP Runtime :
    - check the user exits if any.
    - check the hier. are used and fetching in deep level.
    If its high frontend runtime:
    - check if a very high number of cells and formattings are transferred to the Frontend ( use "All data" to get value "No. of Cells") which cause high network and frontend (processing) runtime.
    For From and to date variables, create one more set and use it and try.
    Regs,
    VACHAN

Maybe you are looking for