Performance help please!

We have a problem with performance on production. As a lowly developer, I don't have much access to live but I do have a workspace separate to LIVE in which I've run some stats to try and ascertain the issue.
Running the following:
SELECT * FROM
(SELECT
sql_fulltext,
sql_id,
child_number,
disk_reads,
executions,
first_load_time,
last_load_time,
elapsed_time
FROM v$sql
ORDER BY elapsed_time DESC)
WHERE ROWNUM < 10
In a report region provides me with the top contender of:
declare rc__ number; start_time__ binary_integer; simple_list__ owa_util.vc_arr; complex_list__ owa_util.vc_arr; begin start_time__ := dbms_utility.get_time; owa.init_cgi_env(:n__,:nm__,:v__); htp.HTBUF_LEN := 63; null; null; simple_list__(1) := 'sys.%'; simple_list__(2) := 'dbms\_%'; simple_list__(3) := 'utl\_%'; simple_list__(4) := 'owa\_%'; simple_list__(5) := 'owa.%'; simple_list__(6) := 'htp.%'; simple_list__(7) := 'htf.%'; simple_list__(8) := 'wpg_docload.%'; if ((wwv_flow_epg_include_modules.authorize('f') = false) or (owa_match.match_pattern('f', simple_list__, complex_list__, true))) then rc__ := 2; else null; null; f(p=>:p); if (wpg_docload.is_file_download) then rc__ := 1; wpg_docload.get_download_file(:doc_info); null; null; null; commit; else rc__ := 0; null; null; null; commit; owa.get_page(:data__,:ndata__); end if; end if; :rc__ := rc__; :db_proc_time__ := dbms_utility.get_time - start_time__; end;
the above being the top culprit with 1,510,683 disk reads and 11,402 executions. I've looked in the forum and this looks like known behaviour when workspace references are used for image/JavaScript issues. We have none of these - they are all hard coded to the /i/ path on the app server.
Can someone please point me in the right direction to try and resolve this please? This is on Apex 3.2.1 on a Windows 10.2.0.1.0 Database. The DBA recently changed db_file_multiblock_read_count from 16 to 0 so the db would calculate the best value which has modified this to 128. He assures us this will not be the issue.
Thanks very much in advance!
Phil
Update: db_file_multiblock_read_count changed back to 16 again (without reboot)... so far no difference
Edited by: Phil UK on Nov 25, 2009 4:48 PM

The same SQL is shown when these are ordered afraid (ordered desc) and the results are here
Several aspects of the app have suddenly started taking 6 minutes which originally were executed in seconds. The majority seems to be working OK so it looks like the optimizer has changed the way the SQL is being parsed which is having a detrimental effect on performance. I may be barking up the wrong tree, but the thing that concerns me is that this SQL is part of Apex, not our app schema.
Thanks for looking into it for us
Phil

Similar Messages

  • Need help with premiere pro cs6 having performance issues please help

    need help with premiere pro cs6 having performance issues please help

    Welcome to the forum.
    First thing that I would do would be to look at this Adobe KB Article to see if it helps.
    Next, I would try the tips in this ARTICLE.
    If that does not help, a Repair Install would definitely be in order.
    Good luck,
    Hunt

  • I'm having problems with my app, plants vs. zombies 2. It'll open and stay open for a few seconds then shut down. Help please.

    I'm having problems with my app, plants vs. zombies 2. It'll open and stay open for a few seconds then shut down. Help please.

    Check to see if there are Updates available... If already up to date...
    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...

  • Unsatisfied link when callind dll from run method Help Please?

    Hi,
    I get an unsatisfied link error while trying to calling a dll at a certain time period in a run method. The same dll works fine called in another setup and even called in a loop.
    Can anyone help please?
    import java.util.Timer;
    import java.util.TimerTask;
    * Schedule a task that executes once every second.
    public class TimeRetrieve {
        Timer timer;
        public TimeRetrieve() {
                 timer = new Timer();
            timer.schedule(new RemindTask(),
                        0,        //initial delay
                        1*1000);  //subsequent rate
        class RemindTask extends TimerTask
           String string_A;
           double d1;
         double d2;
         double d3;
         double d4;
         double d5;
         double d6;
         double d7;
         double d8;
         int numIter = 3;
         int start = 1;
            public void run()
                  if (numIter > 0) {
                  cinterface(start, string_A, d1, d2, d3, d4, d5, d6, d7, d8 );
              System.out.println("In Java action performed start button, after call to dll  \n");
              System.out.println("   string_A =  :" +string_A );
              System.out.println("doubles , \t  d1  \t d2  \t  d3  \t d4 \t d5 \t d6 \t d7 \t d8");
              System.out.println(d1 +"\t" +d2+"\t"+d3+"\t"+d4+"\t"+d5+"\t"+d6+"\t"+d7+"\t"+d8);
              numIter--;
                 } else
                 System.out.println("End Looping!");
                    System.exit
                 System.exit(0);  
        public static void main(String args[]) {
                   System.out.println("Starting Data Retrieval.");
                 new TimeRetrieve();
    // Load shared library which contains implementation of native methods
                    public native void cinterface(int start, String string_A, double d1, double d2, double d3, double d4,
                    double d5, double d6, double d7, double d8 );
                    static
                          try
                               System.out.println ("load cinterface"); //unsatisfied link
                               System.loadLibrary("cinterface");
                          catch (UnsatisfiedLinkError ee)
                               System.out.println
                                    ("Caught unsatisfied link error for dlls" );
                               System.out.println
                                    ("get local msg = " + ee.getLocalizedMessage() );
                               System.out.println ("getMessage " + ee.getMessage() );
                                   // System.out.println ("print Stack Trace " +ee.printStackTrace() );

    My mistake! I found it. Had some wrong names.

  • Safari 5.1 in iMac OS X 10.6.8.Adding Bookmarks to "unsorted Bookmarks" folder puts them in a black hole.  I can't find the "UB" folder.  Where is it? Should I add it to the folder list somewhere on the left pane? OR? Help, please!

    Safari 5.1 in iMac OS X 10.6.8.Adding Bookmarks to "unsorted Bookmarks" folder puts them in a black hole.  I can't find the "UB" folder.  Where is it? Should I add it to the folder list somewhere on the left pane? OR? Help, please!

    It looks like that the installation process of one of the applications have caused some trouble. One of them may have changed or added kext files.
    For that, the Window server crashed if you try to open a non Apple application like Firefox
    Start the system in safe mode by holding the shift key on power on.
    If save mode is reached, perform a permissions repair with the Disk Utility.
    Don't bother about upcoming warnings like "could not repair file xy" as that occur cause you use the tool on a running system and opened files can not get touched by the tool.
    After repair is done reboot system to normal and try to open Firefox.
    If the problem persits, please report back here.
    Lupunus

  • Tried to upgrade and after uninstalling and reinstalling several times, keep getting "procedure entry point could not be located in dynamic link library" followed by "iTunes was not installed properly"  Error 7.....Help, please??

    Tried to upgrade as instructed and after uninstalling and reinstalling (even back to the former iTunes which I was happy with)several times, keep getting message "Procedure entry point could not be located in dynamic link library"  followed by "iTunes was not installed properly"  "Error 7".    Help, please??

    Entry point errors can usually be fixed by deleting the offending dll, then repairing the component it is part of from the programs and features control panel. Unfortunately you neglected to include the detail of which dll is mentioned.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • UIX DataObjects - some help please

    I'm doing some interesting things with DataObjects and don't understand why something's happening and would like some help please. An explanation is needed first. Rather than physically delete anything from our system and have all the problems of referential integrity we have a status associated with 'entities' either active or inactive. Some of the things which have this status are foreign keys in other entities my example is a Brand which has a BrandType. My problem is that by default when populating e.g. a choice list our services will only provide 'active items'. However, using my example, if I want to update a Brand that has a foreign key to an inactive BrandType, I want the inactive BrandType to appear in the list. I have an EJB service which provides the list of BrandTypes and whose interface allows for the specification of an 'id' to be included. I have a DataObject stored on the pageState (currentBrand below) which contains this id and I want to pass this 'id' as a parameter to another DataObject which actually returns the DataObjectList of BrandTypes to populate the choice list. With me so far? Hope so! This DataObject is also part of the 'currentBrand' DataObject stored on pageState (brandTypes@currentBrand).
    So to do this I have this data binding on my <messageChoice> element
    <messageChoice    name="brandType"
                      data:prompt="label@type@fields@pageResources"
                      data:shortDesc="shortDesc@type@fields@pageResources"
                      data:selectedValue="brandTypeId@brand@currentBrand">
      <contents data:childData="(brandTypeId@brand@currentBrand)@brandTypes@currentBrand">
        <option       data:text="name"
                      data:value="id"/>
      </contents>
    </messageChoice>And this is my selectValue in the 'brandTypes' DataObject which will get the 'id' from
    (brandType@brand@currentBrand) as its key
      public Object selectValue(RenderingContext pContext, Object pKey) {
        Long id = (Long)pKey;
        Long[] ids = new Long[1];
        ids[0] = id;
        HttpSession session = getSession(pContext);
        UserToken userToken = getUserToken(session);
        GetBrandTypeRequest request = new GetBrandTypeRequest();
        request.setUser(userToken);
        request.setOutputModeType(OutputMode.ENTRIES_ONLY);
        request.setActiveStatus(Status.ACTIVE);
        request.setSelectionType(SelectionType.ALL);
        request.setIds(ids);
        return BrandTypeCache.getBrandTypes(request).getBrandTypes();
      }The return value is actually an array of DataObjects (which will get converted to a DataObjectList). Now this actually works as far as rendering is concerned but in debugging I've found that the selectValue method is actually being called several times 10 in fact when I would have only expected it to be called once. I wondered if it was being called for every item in the list but there are only 9 of those. There's obviously a performance issue as I'm calling my EJB service each time selectValue is called.
    Hope this all makes sense - can anyone tell me what's going on here and what I can do to fix it?
    Thanks
    Ian

    Already answered in another thread.
    Is This a bibeans bug

  • HT201210 I,m trying to restore my phone but I keep getting Error code 21.... help please

    I,m trying to restore my phone but I keep getting Error code 21.... help please     iPhone 4S

    Take a look at this Apple doc -> iTunes: Specific update-and-restore error messages and advanced troubleshooting
    Error 20, 21, 23, 26, 28, 29, 34, 36, 37, 40
    These errors typically occur when security software interferes with the restore and update process. Follow Troubleshooting security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.
    Also, check your hosts file to verify that it's not blocking iTunes from communicating with the update server. See iTunes: Advanced iTunes Store troubleshooting—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store. If you have software used to perform unauthorized modifications to the iOS device, uninstall this software prior to editing the hosts file to prevent that software from automatically modifying the hosts file again on restart.
    You could just update or uninstall the security software on your computer and then test again.

  • Firefox frequently 'not responding' having auto-installed version 10 yesterday. No previous problems. Have disabled all plugins and uninstalled and then re-installed Firefox several times today. Problem persists. Can anyone help please?

    Firefox frequently 'not responding' having auto-installed version 10 yesterday. No previous problems. Have disabled all plugins and uninstalled and then re-installed Firefox several times today. Problem persists making continued use of this browser very unlikely unless a quick solution is found! Can anyone help please?

    Perform the suggestions mentioned in the following articles:
    * [[Firefox is already running but is not responding]]
    * [[Firefox hangs]]
    Check and tell if its working.

  • Hi, I have tried repetedly to install flash player on my mac mini with no luck..... help please !

    Hi, I have tried repetedly to install flash player on my mac mini with no luck..... help please !

    How to perform a "clean install" of Flash Player in Mac OS X

  • BB gone very slow ...help please

    I live in a rural area, am about 3 miles from the exchange, so I'm used to not having a fast service, however my speed often runs around 1.22Mb/s download and 0.38Mb/s upload. But yesterday it dropped to very slow. I just decided to leave it for 24 hours to see if it sorted itself out. Well it didn't and I'm here now looking for some help please!
    I have checked my local exchange, no problems reported.
    I have worked through the BT BB Speed Wizard thing.
    I did the Speedtester and these are the results
    FAQ
    Test1 comprises of Best Effort Test: -provides background information.
    Download  Speed
    107 Kbps
    0 Kbps
    250 Kbps
    Max Achievable Speed
     Download speedachieved during the test was - 107 Kbps
     For your connection, the acceptable range of speeds is 50-250 Kbps.
     Additional Information:
     Your DSL Connection Rate :1600 Kbps(DOWN-STREAM), 448 Kbps(UP-STREAM)
     IP Profile for your line is - 135 Kbps
    If you wish to discuss these results please contact your ISP.
    If you are experiencing problems with specific applications, servers or websites please contact your ISP for assistance.
    Your test has completed please close this window to exit the performance tester.
    I've changed all the filters and I reset the Home Hub a couple of hours ago. Nothing...
    THis is the info from my Home Hub:
    ADSL line status
    Connection Information
    Line state
    Connected
    Connection time
    0 days, 03:49:10
    Downstream
    1,600 Kbps
    Upstream
    448 Kbps
    ADSL Settings
    VPI/VCI
    0/38
    Type
    PPPoA
    Modulation
    G.992.1 Annex A
    Latency type
    Interleaved
    Noise margin (Down/Up)
    7.3 dB / 19.0 dB
    Line attenuation (Down/Up)
    62.9 dB / 31.5 dB
    Output power (Down/Up)
    2.5 dBm / 1.5 dBm
    Loss of Framing (Local/Remote)
    0 / 0
    Loss of Signal (Local/Remote)
    0 / 0
    Loss of Power (Local/Remote)
    0 / 0
    FEC Errors (Down/Up)
    245 / 7
    CRC Errors (Down/Up)
    324 / 11
    HEC Errors (Down/Up)
    4266 / 39
    Error Seconds (Local/Remote)
    23 / 7

    Noticed it was back to normal speed again just now, so I did another speed test.
    Results
    Test1 comprises of Best Effort Test: -provides background information.
    Download  Speed
    1130 Kbps
    0 Kbps
    2000 Kbps
    Max Achievable Speed
     Download speedachieved during the test was - 1130 Kbps
     For your connection, the acceptable range of speeds is 400-2000 Kbps.
     Additional Information:
     Your DSL Connection Rate :1600 Kbps(DOWN-STREAM), 448 Kbps(UP-STREAM)
     IP Profile for your line is - 1250 Kbps
    Obviously I'm pleased that it's back to normal but confused as to what caused the problem - 24 hours of extremely slow connection and then it's normal again. ANy ideas?

  • Unable to download Adobe Reader Help please

    I just started working at my new job as a receptionist and i am trying to download the adobe reader but after i click on the "RUN" button is asks me for a user name and a password. How can i go about fixing this problem, can anybody help Please?

    Your account on that computer is not a system administrator account. This is standard practice on workplace workstations. It saves a lot of headaches for companies. You need to get in touch with your I/T person or department and have them either: change your account to a system admin (which I don't think they'll do-but it's worth a shot) or have them perform the install.

  • My iMac 27 2010 vintage goes to sleep and won't wake up...I have to push the on off button and hold till it shuts down and then re start...This is not good..Help please

    My mac iMac 27 2010 vintage goes to sleep and won't wake up till I hold the on off power button....Then I have to restart as it is locked up....This it intermittent..
    Help Please
    Jim

    Ops I replied to myself in error.....
    Tom:
    I performed the steps indicated but this morning when I clicked the mouse and hit the space key and clicked the track pad again as before nothing happens.
    I hold the power button for a few seconds and the screen fills as if the computer was normally awakened but it is locked up.
    Then I have to shut it down with the power button  and then power it up as a reboot.
    Not good...SMC reset didn't work....Throughout the day yesterday I put the computer to sleep and woke it up normally.  It seems to be a overnight problem.
    Am I going to have to shut it down everynight?
    Jim

  • IPad stops responding, showing the Apple logo only,i tried to place into recovery mode and attempted to restore again but brings error in downloading s/w message.can anyone help please.Thanks

    iPad stops responding, showing the Apple logo only,i tried to place into recovery mode and attempted to restore again but after downloading the software, it brings error in downloading s/w message.can anyone help please.Thanks

    http://support.apple.com/kb/TS3694#error14
    These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting.
    Put a USB 2.0 hub between the device and the computer.
    Try a different USB 30-pin dock-connector cable.
    Eliminate third-party security software conflicts.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online.
    Try to restore from another known-good computer and network.

  • I updated my iphone  to ios 6. now i can not charge my phone with any cable. it says charging do not support this accessory. what should i do now? can anyone help please!!!!!!!1

    i updated my iphone  to ios 6. now i can not charge my phone with any cable. it says charging do not support this accessory. what should i do now? can anyone help please!!!!!!!

    I upgraded my iPhone 4 last evening to iOS 6, the upgrade completed and the device was usable. Then in the morning I went to the device to check E-mail, Voice Messages, Test Messages, etc... and the phone was dead. I tried plugging the device into a charger (for a couple of hours) - still dead. Plugged into computer with iTunes, device not recognized or discovered, and iPhone was still dead... Took the iPhone into an Apple Store and the Technician looked it over for any visible signs of defect/malfunction, then performed various tasks to breathe life into the phone - nothing... His suggestion, at this point, was to replace the phone. He speculated that the iOS upgrade possibly corrupted the iPhone's charging firmware, and that this device was now a BRICK. Keep in mind that the phone and it's charging abilities were perfectly fine prior to the iOS Upgrade. I hate to go through the replacement hassle and the cost ($159.00) when the iOS upgrade caused the problem. Any suggestions? Thanks!

Maybe you are looking for

  • Failure to Install Adode Player

    He guys I have been trying to install the Adobe Flash Player in the windows xp.When I install from the adobe.com the process does not go up to the end. I have tried to download through other facilities and install, but when I doubleclick to install t

  • Flash is causing all my browsers to hang up or crash

    Firefox freezes on most websites once flash apps start to play Chrome will work on the sites Firefox crashes on Explorer 64 bit gives me the following error: "Windows Data Execution Prevention detected an add-on trying to use system memory incorrectl

  • R9600PRO white lines after Omega drivers

    Hias, I installed a Radeon9600PRO on folling config: -KT3 U2 -2x256MB DDR400 -AMD XP 2000+ -Win XP pro SP1 straight of cd, no updates -Eizo 17" F56 CRT -Catalyst 4.11 -Fastwrites is on -AGP apenture size is 128MB -AGP speed is 4x When I tried Aquamar

  • Quality manager QMQU0003 The audio file is invalid and cannot be played

    Hi, I've client using Cisco QM 8.5. There is a recording dated 21st November, 2011 for one agent which he is not able to play back. The agent took many calls that day and all the recording are getting played back except one. The duration of call in q

  • Shared or dedicated connections on RAC

    Hello, We have Oracle9i RAC on Unix Tru64, with 2x2CPU, 2x2GB RAM and about 3000 clients. What is better : dedicated or shared mode ? We plan to add new memory, is 10GB enough? Thanks, Goran