My queries in Forms a very slow - why

Hi all,
I've created a data-block in Forms based on a view. The view based on a join between 2 tables and returns round about 1 Million entries.
When i press my button:
go_block('v_talrep_re_positionen');
execute_query
... and a WHERE-Statement.... to reduce the amount of records...
then i want Oracle to execute the query and to show the result.
When I execute this query with SQLPlus or TOAD then I get a result within 5 Minutes. When I execute this query with my forms-application then I must wait 20 Minutes and more.
Which possibilities do I have to optimize Forms for executing queries fast and faster...
Do you have any idea?
bye
Florian

Hi Florian,
try to use hints in the view;
e.g. select /*+ RULE */ name
from emp
Sometimes it helps.
Regards,
Monica

Similar Messages

  • Oracle Forms Performance very slow on the internet

    Hi ,
    We have developed a form application with forms Developer 10g and deployed it on a ORACLE 10g AS. If the user runs our application over intranet there is no any network problem or not any performance decrease occurs. However if we deploy our application over WAN or internet, the startup time of the forms become Very Slow.
    What we can use to make it faster , is there any other tools we have to learn like APEX or JDeveloper , what is the best solution , should we forget the Developer for ever and starting with other tools with fast performance on the internet , if so , what we have to learn , please help us , its common problem .
    any help please ,

    Interesting thread....
    You asked whether "Forms" is the right product for the job. Well, the answer to that question will depend entirely on exactly what functionality you need and your skill-set. One advantage of using Forms over other Oracle products is that, in my opinion, Forms allows you to create simple or complex applications very quickly, with limited development experience. The downside to using Forms however, is that it does use a fairly thick client making startup slower than other applications. Generally, Forms is not very well suited for Internet deployments although it can and has been done. If your goal is to use a product which is easy to work with and is appropriate for Internet deployment, you may want to consider Apex. The downside to Apex is that unlike Forms, Apex generates what I like to call static html pages. Meaning once a page is displayed for the end-user, the data on it remains the same until the user forces interaction with the server again, but in this case the entire page would be refreshed in order to realize the changes. In the case of Forms, any content displayed to the end-user can be change without completely refreshing their view. I like to refer to Forms as a living application because unlike Apex, it can easily respond to most user inputs and/or server side changes almost in real-time. If you want this "live" experience, Forms might be the way to go, although at the cost of some startup performance. Alternatively, Oracle ADF can also give you a similar live-like experience. However, ADF will require a broader skill-set (pl/sql, java, html, etc), whereas with Forms you could get away with only knowing pl/sql although java knowledge would be helpful.
    The views expressed in this thread are my own and do not necessarily reflect the views of Oracle.

  • I using 4s and upgrade new version IOS8 but my unit is very slow why?

    I using 4s and upgrade new version IOS8 but my unit is very slow why?

    And how I can get lower version. I need to be lowerversion because IOS7 is very smooth on my unit.

  • Opening ADOBE forms is very slow.

    Lately, once I enter my username and password, opening ADOBE forms is very slow.

    Hi,
    try on the icon of SAP on desktop go to properties and on the compatibility check disable desktop composition.
    hope it helps
    Petr

  • Opening of form is very slow

    Hello,
    I've installed SAP 2005A on a Vista computer.
    My problem is the opening of the forms is very slow.
    Does anyone knows the reason of that.
    Thanks.

    Hi,
    try on the icon of SAP on desktop go to properties and on the compatibility check disable desktop composition.
    hope it helps
    Petr

  • Oracle 10gr2 Master/detail form running very slow when you navigate to the detail record.

    Hi All, I have a master detail  form, running in webserver, when I navigate to the detail block, the form start buffering and buttering for about 2 min. There is a trigger when-new-record instance that is firing when you navigate to  a new record : The select part of this stament is taken a long time to execute. I modified this in toad and what used to take 25 seconds to run is taken less than a second now, but the slowness still persists in the form.
    for rec in (select wrrh_col
                      wpbh_col_lvd,
                       wpbh_col_doc_no
          from wh_col,
               wkpl_col,
               wh_col
         where wrrh_col_no = :block.wreh_wrrh_col_no
           and wrrh_col_no = wreh_wrrh_col_no
             and wrrh_col_no = wpbh_col_no
           and wrrh_col_proj    = wpbh_col_proj
           and wrrh_proj_no     = wpbh_proj_no) loop
       if fun_name(rec.wpbh_col_lvd) = 'Y' then                      
        do something,
       end if;
      end loop;
    The select staement that used to run for 23 seconds is running in less than one second, but the form is still running very slow when I navigate to the detail record.
    Please advise.
    Thanks.

    Thanks Andrea for your prompt response, the problem is the select statement and like I stated, I tuned the select statement in toad and what normally takes 23 secs is taking less than 1 sec to run. If I comment out the call to the function, it is still slow. The select stament will returned null and it will still be slow. When I comment out the for loop, it run very fast. I dont know what else to do than tuned the select statement.

  • Code of conduct application form opening very slow

    Dear Friends,
    we have enable code of conduct application by implementing zform so when i click on code of conduct service in portal it is opening very slowly .
    My client is complaining that is is opening very slow how can i make the form to appear quickly .
    What can be the reason for the form to open very slow it is takign almost 3 min . How can i reduce this time.
    Kindly suggest .
    Best Regards

    Hi Siddharth,
    This is the problem with everuser and after some time it is showing the error as 500 internal server error with exception:java.net.Sockettimesout.Exception:Timedout
    We have even taken the trace from OS level the following is the details of default trace file:
    #1.#0021282821A600B8000000000000588F0004B80B81935B7A#1328259464911#com.adobe.document.PDFManipulation#com.adobe/AdobeDocumentServices#com.adobe.document.PDFManipulation#J2EE_GUEST#0##n/a##2342b5f04e4511e1946a0021282821a6#Thread[PDFManipulation.exe Error Reader,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###Service PDFManipulation: Native process (PID=24370) /usr/sap/TTD/DVEBMGS00/j2ee/os_libs/adssap/PDFManipulation/bin/PDFManipulation.exe terminated abnormally with error code 2#
    Can you please let me know what could be the problem.
    In the last week atleast we are able to open the form eventhough it is opened slowly not it is showing the error instead of form.
    Regards.

  • TS4002 icloud mail appears to be very slow.why?

    icloud mail appears to be very slow today,why?

    I spoke to Apple also.  They confirmed that the problem is on their end.  They put my account into "trouleshooting mode", issued me with a temp. password and told me it should be fixed by Wednesday of next week.  I did not hold back on expressing my disastisfaction with how long it would take them to fix - email being critical to my business.

  • The contribution form load very slow in Site Studio

    We have created a site on ucm with Site Studio 10.1.4.5.0 and the contribution form load is very slow and. When we puch Ctrl + Shift + F5 the page delay 20 seconds on loading.
    Any idea?
    Thanks a lot.

    catch all answers #2,3,4
    2. repair disk permissions / verify disk
    3. run diskwarrior to verify directory structures on all disks
    4. reinstall QT7 - people have noted very odd behavior from 7.0
    x

  • On opening up PSE9 it runs very slow, Why?

    When I open up my recently installed PSE9 program it runs very slow. all photos etc load up and are visable but it almost feels  like there is a program running in the background. The cursor moves very slow and in a delayed way. I mostly have photos and very few videos, projects etc but just in case I go to view and uncheck vidoes, PDF, projects etc just in case this is what is slowing everything down but it doesn"t change anything. Nothing else is running while I am in PSE. Previuosly I was working with version 8 and I did not have this problem. Can someone help me with this this annoying problem that is keeping me from using PSE 9. Thanks  Rey

    You really don't provide enough information for anyone to help
    How to ask a question http://forums.adobe.com/thread/416679
    Some specific information that is needed...
    Brand/Model Computer (or Brand/Model Motherboard if self-built)
    How much system memory you have installed, such as 2Gig or ???
    Operating System version, such as Win7 64bit Pro... or whatevevr
    -including your security settings, such as are YOU the Administrator
    -and have you tried to RIGHT click the program Icon and then select
    -the Run as Administrator option (for Windows, not sure about Mac)
    Your Firewall settings and brand of anti-virus are you running
    Brand/Model graphics card, sush as ATI "xxxx" or nVidia "xxxx"
    -or the brand/model graphics chip if on the motherboard
    -and the exact driver version for the above graphics card/chip
    -and how much video memory you have on your graphics card
    Size(s) and configuration of your hard drive(s)... example below
    -and how much FREE space is available on each drive (in Windows
    -you RIGHT click the drive letter while using Windows Explorer
    -and then select the Properties option to see used/free space)
    While in Properties, be sure you have drive indexing set OFF
    -for the drive, and for all directories, to improve performance
    My 3 hard drives are configured as... (WD = Western Digital)
    1 - 320G WD Win7 64bit Pro and all programs
    2 - 320G WD Win7 swap file and video projects
    3 - 1T WD all video files... read and write
    Some/Much of the above are available by going to the Windows
    Control Panel and then the Hardware option (Win7 option name)
    OR Control Panel--System--Hardware Tab--Device Manager for WinXP
    And, finally, the EXACT type and size of file that is causing you problems
    -for pictures, that includes the camera used and the pixel dimensions

  • 10g forms applet very slow

    I've just converted a couple of 6i client server forms to 10g.
    I'm using the Developer suite 10gR2, with its own built-in oc4j server.
    It all works fine, after some fiddling to get icons loaded etc.
    But the form is 10 times slower than in client-server. This is a total show-stopper for us. A form that took 2-3 seconds to load before can now take nearly a minute to come up.
    Even our very simple login form is slow, many seconds instead of a fraction of a second.
    I've tested on the workstation thats running the OC4J, This is a Dual-Xeon 2.4Ghz with 2G of memory, so its NOT the hardware. Its running XP-Pro.
    Then I tested on a workstation, using a dummy html page to launch Jinitiator and get the form up. JInitiator installed itself perfectly, but erformance is exactly the same even though its a P-III-800 with only 256M of memory.
    The strange thing that we notice is that the performance monitor on the oc4j server machine shows it as almost idle (3% cpu, almost no network traffic and idle disk).
    But on the workstation the cpu is at 80-90% all the time, even when the form is just sat there waiting for user input!
    So we think we have some sort of applet mismatch or configuration problem. Is there a newer (or older?) applet version thats quicker, or doesn't nail the cpu this way?
    My next step is to download just the forms-and-reports services for linux and put that up on a second identical box that has Redhat-ES.
    Has anyone else seen this sort of applet behaviour? if so any suggestions would be a great help because we're stumped at the moment.

    Good feedback folks, but I still don't see any explanations of whats happening, or why it should be slow.
    I'll agree that putting the icons in a single file, one jar archive per form, is definitely more efficient. Putting all your icons in one file strikes me as silly since then you have to download all the icons, even if you never bring up forms that use some of them.
    BUT gentlemen, it does not explain why we had the problem I described. I see no reason to suspect that the jar file would fix my problem, (of course I'll try anyway).
    The point here is that the form was slow to start, OK, maybe that was because it was individually fetching 15 or 20 icon files.
    BUT WHY SHOULD IT THEN BE SLOW AFTER THAT!
    Sorry to shout but no-one seems to be hearing what I'm saying here:
    1) the applet has the CPU locked-up at over 90% all the time
    2) the cpu is at 90% when the form is idle waiting for input.
    3) the form has completed painting the user interface just fine, I can see everying,
    including all the icons, it all works right, its just slow.
    4) its not surprising that its slow since the applet has the cpu pegged
    5) we get the same pattern of behaviour on a form that has exactly one icon,
    for a download of one file, a total of 232 bytes.
    Now there is no way you can claim that a jar archive is significantly faster
    than a single gif file download, they are both cached and the sizes are both so small that any difference is insignificant.
    It looks to me like a bug in the applet, or some sort of configuration or set-up error on my part. But I can't find any documentation on how to control that. The applet itself appears to be very much a black-box with no visibility into whats going on inside it. No trace file, no log file, no debug options.
    I mean debugging the applet itself here, not the form that the applet is presenting to the user.
    I'm going to work on bringing it up on Linux today, for now I'll just run without icons while I get the forms/reports integration running. Then I'll come back to the icon issue next week. Maybe if I switch to jpegs the problem'll go away. SO I'll post a follow-up sometime next week.

  • Forms fetching very slow

    Dear all,
    Our development team trying to execute a Query from a 6i forms, but its takes much time to execute, the same SQL script runs takes very few seconds from execute from SQL prompt. why the forms getting this much time to execute,,
    from where i have to tune and solve this issue, Where i have to check first ,, from database side or from forms side ..??
    They using Forms 6i with 9i database..
    Regards
    Hamid

    Hi;
    For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Application Development in PL/SQL » Forms which you can get more quick response
    Also see:
    Master Note: SQL Query Performance Overview [ID 199083.1]
    Regard
    Helios

  • Contacts app is very very slow; why?

    With my Z1, searching for contacts was very fast. It was real-time as I type the characters.
    With my Z2, it is unacceptably slow. It can be a few minutes to search for contacts. Even when I go to Favouites where I have only eight contacts, the page takes a while to load. When I go to Contacts and search for a contact it can take a few minutes for the contact to be found. Then, when I select that contact, it can take a few minutes again to display the content.
    Why is that?
    Yes, I have many contacts (maybe 4,000+) and many are duplicates linked from Exchange and LinkedIn. But even when I turn off Auto-Sync, it can still be unacceptably slow.
    And I don't keep many apps open at the same time.
    What are the possible things I can try?
    Thanks,
    CWL88

    I'm afraid it's not possible to disable the online search. Even if you disable synchronization of contacts it will still search against the server. I will forward this as feedback internally but currently you would need to remove the ActiveSync account to stop online search. A workaround may be to use another client instead like Moxier, RoadSync or Nitrodesk.
    The more contacts you have the longer it will take to load all contacts if it's no longer stored in RAM. You can force contacts to stay in RAM but to avoid it being closed, close other apps when you're not using them by pressing the lower right icon and swipe them away. But Z2 has 3GB RAM so usually this is not needed but it depends on what other apps you have any how much RAM they use.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • When is Apple going to fix the problems with IOS8 Safari either won't work or is very slow.why can't you contact Apple themselves rather than this method?

    ssince updating my IPad to IOS8 Safari does not work properly ie Marriott website it tells me no server is available yet Google works and other web search have the same problem when is Apple going to get fixes out soon I hope.Also why can't we contact Apple direct on this matter ?

    Try some basic troubleshooting steps. Clear Safari, force close the app and reset the iPad.
    Go to Settings>Safari>Clear History, Cookies and Data.
    In order to close apps in iOS 8, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Reset 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 if it appears on the screen - let go of the buttons. Let the iPad start up.
    There re are ways to contact Apple directly. Look here for help.
    Contact Apple for support and service

  • SSAS ProcessAdd: ProcessAdd only one row to a big dimension(100 minion records) is very slow, Why?

    I'm using the xmla to add a custom dsv to doing processadd, in my testing, only process add 1 row to a big dimension(already has more than 100minion rows) will cost more than 10 mins. bellow is the test enviorement:
    DimensionTable: TestDimension with only one column PKey, which is the identity key, type is int.
    Test machine: Vitual Machine, Windows Server 2012+SSAS 2012. the machine has 64G Memory and 8 cores CPU. 
    Does anyone can tell me why processadd only 1 row cost so much time? what does the SSAS do when processadd a dimension. i want internal explanations. Using profiler tool, i found many read data, is this a bug with SSAS? does it need read all the dimension
    data to rebuild the dimension structure or level or index?

    Hi Hong,
    According to your description, you want to know why processadd only 1 row cost 10 minutes, right? ProcessAdd sound like a useful option (faster than ProcessUpdate, less impact than ProcessFull etc) but when you try and use it you will find it is not as straightforward
    as the others. Here is a blog which explain the ProcessAdd option deeply, please refer to the link below.
    SSAS - ProcessAdd explained
    Regards,
    Charlie Liao
    TechNet Community Support

Maybe you are looking for

  • Anonymous Access Sharepoint Foundation 2013

    Is it possible to allow anonymous access in Sharepoint Foundation 2013?  I've enabled anonymous access at the site level as well as via central administration but users are still prompted for login when browsing to the site anonymously.  I'm more cur

  • Payment processing fees

    Can anyone tell me how BT can charge a "payment processing fee" when there is no payment due?  I queried this last month and was promised a refund by none other than one of these forum moderators. True to form, despite the promise being made in writi

  • LabVIEW coding using wnaspi32.dll

    Hi to all, here I need you guys help in LV coding with wnaspi32.dll for I have no experience in doing that at all! I will appreciate if any of you can tell me what the equivalent in lv code for 1) typedef struct BYTE SRB_Cmd; // ASPI command code = S

  • Error installing Mavericks - try the application again?

    Hi all, I have finally managed to download Mavericks through a fairly slow connection. The Install Application opens perfectly and runs you through the steps to install the program right up until it is trying to restart the machine. At this point I g

  • How to get mac to recognize thumb drive?

    how to get mac to recognize thumb drive?