SQL Developer is very slow...

I'm having performance issues with Oracle SQL Developer. I tried both and 1.5.4 and 2.1.0 (installed in Windows XP Professional) and both work very slow. When I connect to the same database in Apex or just the webconsole, performance is OK, so I think it's SQL Developer that's slow, not the database.
The problem is that the "Connected To Database..." screen with the "knightrider-bar" appears for some seconds for almost every action I want to perform (retrieving all views, showing constraints, triggers, etc...). Always the waiting screen appears for 3 - 5 seconds, which is very annoying.
Anybody knows what could be the problem? Working through the SQL Console in APEX is much more performant at this moment, but SQL Developer is more handy (if it would work faster).

thefurryone wrote:
Tom,
As well as the ide/bin folder, there is a sqldeveloper/bin folder, which has a sqldeveloper.exe as well as the one in the root folder.
Just as another thought - where is SQL Developer installed? Is it local on your PC or on a network drive? Especially when using the version with the included JDK, running off a network drive can be much slower.
theFurryOneOK, found it now. I opened SQLDeveloper there and the console didn't show any messages. When I connect to the database I got this message in the console:
Finished parsing = 15+
UsersCache.fillIn() time = 0  ret==null?: true+
I don't run SQLDeveloper from a network drive, it's installed locally on my C:\ drive. The database however is on a server, but I have a gigabit connection to it and applications don't have performance issues. So I suppose it's actually SQLDeveloper that's slow. Are there any tools in SQLDeveloper that could cause the bad performance, and that I could switch off?

Similar Messages

  • SQL Developer starting very slow

    Im using SQL Developer 1.5.4 on Windows XP pro service pack 3
    It had been working fine for a long time. Then suddenly starting take a very long time to start.
    It is taking about 1 minute to load the splash screen, then about 1 more minute for the progress bar to display and start, then a while to actually show the window. All together its taking 2 to 4 minutes to load.
    Could this be something with reading TNSNames? I find it strange that it is taking so long to show the splash screen. This is also happening on other computers in my office. They all started doing this at the same time.
    And ideas or suggestions will be greatly appreciated.
    thanks in advance!

    Have your systems recently had new Microsoft applications, updates, or patches installed? That happened here last weekend and one of the new items caused a noticeable slowdown (things were taking about twice as long). Once I totally disabled the offending item (Microsoft Desktop Search) and re-booted, things were back to normal.
    HTH.
    Ed. H.

  • SQL apply is very slow on Logical Standby..!!

    Hello all,
    We are having Data Guard setup in our environment where we are having Primary, Physical Standby as well as logical standby databases..
    DB Version : 10.2.0.1 in all databases (Pri, Phy and Logical)
    OS : RHEL4
    Only Oracle is running on this Box..
    Since last month we are facing problems in Logical Standby database where it seems SQL apply has become very slow..
    Archive log files are successfully transferring from Primary but since SQL apply has become slow logical standby is lagging behind primary by two days..
    How do i speed up this SQL apply..?? Any ideas and suggestions are most welcome..
    I checked TOP command to find out which oracle processes are consuming maximum CPU and i have found ora_p000_oracle, ora_p001_oracle, ora_p002_oracle, ora_p003_oracle, ora_p004_oracle, ora_p005_oracle, etc processes are consuming highest CPU and Load Average has always been above 1..
    Any help would be greatly appreciated..
    Thanks - HP

    Hello;
    These Oracle notes might help :
    Slow Performance In Logical Standby Database Due To Lots Of Activity On Sys.Aud$ [ID 862173.1]
    Oracle10g Data Guard SQL Apply Troubleshooting [ID 312434.1]
    Developer and DBA Tips to Optimize SQL Apply [ID 603361.1]
    Best Regards
    mseberg

  • SQL Query Report Very slow

    Hi I have a sql query report that is taking very long to render.The query on sql developer comes back in less than a second.Any ideas on what could be wrong?

    Hi
    When posting code on the forum, put {noformat}{noformat} (with the curly brackets and the word code in lowercase) above and below your code like this...
    {noformat}{noformat}
    SELECT *
    FROM emp
    {noformat}{noformat}
    It will then appear like this, preserving formatting...SELECT *
    FROM emp
    Next, how many rows are returned in total, it may be that you have SQL Developer set up to fetch only the first x number of rows?
    Why have you put a CHOOSE hint in there?
    Is it a classic report or an interactive report?
    It looks like you're going over a database link, you really need to provide an explain plan (formatted as I have detailed above), a DRIVING_SITE hint may help you but it's impossible to know without seeing the plan...
    Cheers
    Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Lightroom Develop Mode very slow in responding to commands

    When I am trying to get a photo ready to print and am in the Develop window, the response time when I try to make adjustments to the phots are not acceptable. Very, very slow and almost impossible to accomplish what I need to do in order to get the photo into the print mode. I have a hang up somewhere but I am at a loss to know how to correct this problem. Any help greatly appreciated

    I've got this exact same problem and I've tried a list of things to do. I've been on the internet researching this out for two days and nothing has worked.  I have 3 sessions I need to get done and this slowness is unacceptable.  LR used to run very smooth and fast and with in the past week its been a dog.  It has to be something related in the catalog area.   I have 13000 and the catalog is a mess.  I don't understand the catalog one bit, I'd rather just have access to folders and upload that way instead of messing with the headache of a dang catalog.........did I say I hate the catalog?
    Things I've tried with no results:
    optimized catalog
    moving RAW cache from external to internal drive
    increasing RAW cache from 2G to 20G
    preview rendering 1:1 (I really don't understand the purpose of this at all....after waiting for an hours to render 500 photos it did nothing to improve)
    Moved a session of photos that I have been trying to work on from my external drive to my desktop (500 photos 10G worth) internal drive
    reboot PC
    reboot LR3
    disabled unused startup programs
    my PC is scheduled to defrag once a month
    attempt to update Intel graphics driver but there was no new update to download
    close all programs and run LR3 by itself
    I may have failed to list something but I think thats it.  I'm running Win7, Intell Duo Core 2 T6500 2.10Ghz processor, 320HD with about 70% free.  I only use my HD to run programs and a external 320HD for image storage and retrieving. This particular drive has about 30% free, maybe less, but like I said before I've disconnected the drive and tried developing from my internal drive with the same results.
    I'm out of things to try.........shoot to them over to me and I'll try it.  I'm desperate.  I'd love to dump the entire catalog and start over.  Its so unorganized and I never can find what I'm looking for anyways......I hate that catalog with a passion but I love everything else about LR when its working.

  • Sql is running very slow

    hello everyone
    here is my procedure
    in procedure select statement is running very slow it takes 20min
    DECLARE
    y10_pad_sd_1 number;
    y10_sad_sd_1 number;
    y10_sad_oe_1 number;
    y10_she18_avg_1 number;
    y10_she_avg_1 number;
    y10_o_pad_sd_1 number;
    y10_e_pad_sd_1 number;
    y10_o_sad_sd_1 number;
    y10_e_sad_sd_1 number;
    y15_pad_sd_1 number;
    y15_sad_sd_1 number;
    y15_sad_oe_1 number;
    y15_she18_avg_1 number;
    y15_she_avg_1 number;
    y15_o_pad_sd_1 number;
    y15_e_pad_sd_1 number;
    y15_o_sad_sd_1 number;
    y15_e_sad_sd_1 number;
    y20_pad_sd_1 number;
    y20_sad_sd_1 number;
    y20_sad_oe_1 number;
    y20_she18_avg_1 number;
    y20_she_avg_1 number;
    y20_o_pad_sd_1 number;
    y20_e_pad_sd_1 number;
    y20_o_sad_sd_1 number;
    y20_e_sad_sd_1 number;
    CURSOR c_pn IS
    SELECT
    pn_id pn_id
    ,pn_dm pn_dm
    ,arch_id arch_id
    ,o_ink o_ink
    ,o_color o_color
    ,e_ink e_ink
    ,e_color e_color
    FROM pn_list_iqp_95cl;
    type c7 is table of c_pn%rowtype;
    c8 c7;
    BEGIN
    open c_pn;
    fetch c_pn bulk collect into c8;
    close c_pn;
    for i in 1..c8.last loop
    SELECT /*+ use_hash(pmo pme) */
    LEAST(MAX ( pmo.y10_pad_sd ), MAX ( pme.y10_pad_sd ))
    ,LEAST(MAX ( pmo.y10_sad_sd ), MAX ( pme.y10_sad_sd ))
    ,LEAST(MAX ( pmo.y10_sad_oe ), MAX ( pme.y10_sad_oe ))
    ,LEAST(MAX ( pmo.y10_she18_avg), MAX ( pme.y10_she18_avg ))
    ,LEAST(MAX ( pmo.y10_she_avg ), MAX ( pme.y10_she_avg ))
    ,LEAST(MAX ( pmo.y10_o_pad_sd ), MAX ( pme.y10_o_pad_sd ))
    ,LEAST(MAX ( pmo.y10_e_pad_sd ), MAX ( pme.y10_e_pad_sd ))
    ,LEAST(MAX ( pmo.y10_o_sad_sd ), MAX ( pme.y10_o_sad_sd ))
    ,LEAST(MAX ( pmo.y10_e_sad_sd ), MAX ( pme.y10_e_sad_sd ))
    ,LEAST(MAX ( pmo.y15_pad_sd ), MAX ( pme.y15_pad_sd ))
    ,LEAST(MAX ( pmo.y15_sad_sd ), MAX ( pme.y15_sad_sd ))
    ,LEAST(MAX ( pmo.y15_sad_oe ), MAX ( pme.y15_sad_oe ))
    ,LEAST(MAX ( pmo.y15_she18_avg), MAX ( pme.y15_she18_avg ))
    ,LEAST(MAX ( pmo.y15_she_avg ), MAX ( pme.y15_she_avg ))
    ,LEAST(MAX ( pmo.y15_o_pad_sd ), MAX ( pme.y15_o_pad_sd ))
    ,LEAST(MAX ( pmo.y15_e_pad_sd ), MAX ( pme.y15_e_pad_sd ))
    ,LEAST(MAX ( pmo.y15_o_sad_sd ), MAX ( pme.y15_o_sad_sd ))
    ,LEAST(MAX ( pmo.y15_e_sad_sd ), MAX ( pme.y15_e_sad_sd ))
    ,LEAST(MAX ( pmo.y20_pad_sd ), MAX ( pme.y20_pad_sd ))
    ,LEAST(MAX ( pmo.y20_sad_sd ), MAX ( pme.y20_sad_sd ))
    ,LEAST(MAX ( pmo.y20_sad_oe ), MAX ( pme.y20_sad_oe ))
    ,LEAST(MAX ( pmo.y20_she18_avg), MAX ( pme.y20_she18_avg ))
    ,LEAST(MAX ( pmo.y20_she_avg ), MAX ( pme.y20_she_avg ))
    ,LEAST(MAX ( pmo.y20_o_pad_sd ), MAX ( pme.y20_o_pad_sd ))
    ,LEAST(MAX ( pmo.y20_e_pad_sd ), MAX ( pme.y20_e_pad_sd ))
    ,LEAST(MAX ( pmo.y20_o_sad_sd ), MAX ( pme.y20_o_sad_sd ))
    ,LEAST(MAX ( pmo.y20_e_sad_sd ), MAX ( pme.y20_e_sad_sd ))
    INTO
    y10_pad_sd_1
    ,y10_sad_sd_1
    ,y10_sad_oe_1
    ,y10_she18_avg_1
    ,y10_she_avg_1
    ,y10_o_pad_sd_1
    ,y10_e_pad_sd_1
    ,y10_o_sad_sd_1
    ,y10_e_sad_sd_1
    ,y15_pad_sd_1
    ,y15_sad_sd_1
    ,y15_sad_oe_1
    ,y15_she18_avg_1
    ,y15_she_avg_1
    ,y15_o_pad_sd_1
    ,y15_e_pad_sd_1
    ,y15_o_sad_sd_1
    ,y15_e_sad_sd_1
    ,y20_pad_sd_1
    ,y20_sad_sd_1
    ,y20_sad_oe_1
    ,y20_she18_avg_1
    ,y20_she_avg_1
    ,y20_o_pad_sd_1
    ,y20_e_pad_sd_1
    ,y20_o_sad_sd_1
    ,y20_e_sad_sd_1
    FROM pm_list_iqp_95cl pmo ,pm_list_iqp_95cl pme
    WHERE pmo.pn_id = pme.pn_id
    AND pme.pn_id = c8(i).pn_id
    AND pmo.slot_cd = 'O'
    AND pme.slot_cd = 'E';
    END LOOP;
    END;

    EXPLAIN PLAN FOR THIS QUERY
    cached plan :cost all rows(cost:4)
    step name step cost rows
    select statement 6 4
    sort(aggregate) 5 1
    merge join(cartesian) 4 4 1
    tellatel.pm_list_iqp_95cl table access(full) 1 2 1
    buffer(sort) 3 2 1
    tellatel.pm_list_iqp_95cl_table access(full) 2 2 1

  • Sql statment is VERY slow

    Hi all
    I am facing a very big problem in my database.
    when I execute the below select statement, it takes to much time to finish.
    The value of cust_no is equal to 10.
    SELECT fname, lname, pcode
    FROM cust
    WHERE id = :cust_no;
    And I execute the same statement as shown below,it does NOT take too much time
    SELECT fname, lname, pcode
    FROM cust
    WHERE id = 10;
    the differnce between the above statements are WHERE id = :cust_no; and
    WHERE id = 10;
    Do you think that there is somethink change in the oracle optimizer behavior or in sql parsing?
    recently I've done an analyze for all table accept sys and system users.
    please could anyone help me?
    by.
    Edited by: user1089169 on Nov 13, 2012 11:45 AM

    Hi,
    while we cannot be 100% without seeing the execution plan, the most likely explanation for your problem is that the id column is skewed, i.e. some of the values in it are far more popular than others. Because of that, there is no one optimal plan: for popular values, a full table scan would be preferred (because it's good for handling large volumes of data), for less popular values, index access becomes a better choice.
    When you are using a literal, the optimizer has enough information to come up with a good plan. When you're using a bind variable, the optimizer has to guess (in one way or another -- depending on your settings, it may rely on built-in defaults or use so-called bind peeking), so there is a good chance that it would pick a bad plan.
    Best regards,
    Nikolay

  • SQL in statement very slow any help please

    Hi guys forgive me if i dont give enough information we dont normally have many problems with slow queries as our data does not usually get to a level that is effected by speed.
    I have a query that does a search of a view with approx 30k records. I then use a connect by to find all the relevent records that apply to this scenerio and place the results into an oracle form.
    I have hard coded an example ('ACT' and 6089) into this code, but usually the numbers/code will be a parameter thats passed in.
    Individually the select itemcode,notes from v_allitems takes approx 0.1 seconds to run
    and the IN statement takes approx 0.007 seconds to run.
    Together they take over 6 seconds which is a little too slow. So i assume its the IN thats causing me the problem as i am returning over 100 records to search IN. Is there an alternate way other than IN that anyone can think of to achieve the desired result?
    Thanks in advance
    select ITEMCODE, notes from v_allitems
    where ITEMCODE = ( 'ACT'||','||6089) OR ITEMCODE IN
        (SELECT pcchildcode
          ||','
          || pcchild item
           FROM afpc
          CONNECT BY pcparent = prior pcchild
        AND pcparentcode        = prior pcchildcode START
        WITH pcparent           = 6089
        AND pcparentcode        = 'ACT'
      UNION ALL
         SELECT pcparentcode
          ||','
          || pcparent item
           FROM afpc
          CONNECT BY pcchild = prior pcparent
        AND pcchildcode        = prior pcparentcode START
        WITH pcchild           = 6089
        AND pcchildcode        = 'ACT'
        )

    I have just found another thread talking about the EXISTS condition, ill look into whether this will speed it up

  • SQL Query is very slow

    Hello ,
    I have a table like employee having more than 80 Lakhs records .
    In the table there is a country column (country_name) having 234 distinct countries .
    I have created index on Country_name column to make it fast .
    I have created a view (employee_country) which is having distinct countries . The view is populating the country_name from employee table .
    So , in the view (employee_country) have 234 distinct countries .
    Now if I run select count(*) from employee_country ; then the query is taking ( 320.391 seconds ) time to show result ..
    I am using one query which is taking the country_name from this view and comparing to another table with the country names .
    like for example :
    select ec.country_name from employee_country ec where ec.country_name not in (select cdf.country_name from country_dnb_full cdf)
    I am using this query in APEX page to get the country name . But this query is very samll and taking 350.725 seconds to show the result . Therefore the APEX page when we run is showing time out error because the query is taking too much time .
    I don't know why this problem is ?? I already created a index on country_name column to speed up the result . But still its not happening .
    Please some one guide me where the problem is .??
    Thanks
    Prashant Dwivedi

    Hi Prashant
    First thing the view does not store any data. Its just a definition and the select query gets excuted on the original table whenever the view is referred.
    Probabaly you can check for Materialized View.
    Alternatively you can have a Look Up table if you think the values for the country_name is constant.
    Regards
    Arun

  • Slow typing in SQL Developer Worksheet

    I've seen Oracle SQL Developer 2.1 - Slow SQL Worksheet while typing and my setting for >Tools >Preferences >Database >Worksheet >Select default to look for scripts is, and always has been, blank.
    But as soon as I connect to a database the resultant worksheet is showing what Ive typed about 10 seconds after I've typed it. Is there any update on this issue since the post above (I searched but found nothing)?
    I'm on:
    SQL Developer 2.1.1.64.39
    MS Windows XP (Build 2600) Service Pack 3
    Oracle Client Version : 10.2.0.1.0
    Oracle Client DLL : C:\apps\Oracle\product\10.2.0\Client_1\BIN\oci.dll
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    Solaris server (SunOS 5.10)

    "Timer queue for AWT thread" daemon prio=6 tid=0x34d39800 nid=0xdf4 in Object.wa
    it() [0x353df000..0x353dfa94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x074854f0> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at ice.util.awt.TimedAWTExecutor.nextElem(TimedAWTExecutor.java:108)
    - locked <0x074854f0> (a java.lang.Object)
    at ice.util.awt.TimedAWTExecutor.runScheduler(TimedAWTExecutor.java:130)
    at ice.util.awt.TimedAWTExecutor$1.run(TimedAWTExecutor.java:19)
    "pool-2-thread-1" prio=6 tid=0x349df800 nid=0xb48 waiting on condition [0x35f7f0
    00..0x35f7fc14]
    java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x06940d00> (a java.util.concurrent.SynchronousQ
    ueue$TransferStack)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
    at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Sync
    hronousQueue.java:422)
    at java.util.concurrent.SynchronousQueue$TransferStack.transfer(Synchron
    ousQueue.java:323)
    at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:857)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.ja
    va:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:907)
    at java.lang.Thread.run(Thread.java:619)
    "BaseTreeExplorer.NodeOpeningExecutor" prio=6 tid=0x34c03000 nid=0x948 waiting o
    n condition [0x35e7f000..0x35e7fc94]
    java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x06876558> (a java.util.concurrent.locks.Abstra
    ctQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
    .await(AbstractQueuedSynchronizer.java:1925)
    at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.jav
    a:358)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.ja
    va:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:907)
    at java.lang.Thread.run(Thread.java:619)
    "Scheduler" daemon prio=6 tid=0x34c1b000 nid=0xffc in Object.wait() [0x35d7f000.
    .0x35d7fd14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x068766b0> (a oracle.dbtools.raptor.backgroundTask.TaskLi
    nkedList)
    at java.lang.Object.wait(Object.java:485)
    at oracle.dbtools.raptor.backgroundTask.TaskLinkedList.takeNextTask(Task
    LinkedList.java:47)
    - locked <0x068766b0> (a oracle.dbtools.raptor.backgroundTask.TaskLinked
    List)
    at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$SchedulerThrea
    d.run(RaptorTaskManager.java:422)
    "TimerQueue" daemon prio=6 tid=0x34b95c00 nid=0x5a0 in Object.wait() [0x35c7f000
    ..0x35c7fd94]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x06876740> (a javax.swing.TimerQueue)
    at javax.swing.TimerQueue.run(TimerQueue.java:236)
    - locked <0x06876740> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:619)
    "ChangeSetService" prio=2 tid=0x34ac9800 nid=0x2e8 in Object.wait() [0x35a7f000.
    .0x35a7fa94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x067f35c0> (a oracle.jdevimpl.vcs.changeset.ChangeSetServ
    ice)
    at java.lang.Object.wait(Object.java:485)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.awaitEvents(ChangeSetS
    ervice.java:178)
    - locked <0x067f35c0> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.eventLoop(ChangeSetSer
    vice.java:199)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.access$200(ChangeSetSe
    rvice.java:56)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService$2.run(ChangeSetService
    .java:138)
    at java.lang.Thread.run(Thread.java:619)
    "TimedCache-Timer" daemon prio=6 tid=0x33aa8000 nid=0x2e0 in Object.wait() [0x34
    62f000..0x3462fc94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x062eed60> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x062eed60> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "JarIndex Timer" daemon prio=6 tid=0x33a5c800 nid=0x48c in Object.wait() [0x3412
    f000..0x3412fd14]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x0626f338> (a java.util.TaskQueue)
    at java.util.TimerThread.mainLoop(Timer.java:509)
    - locked <0x0626f338> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "AWT-EventQueue-0" prio=6 tid=0x33a39000 nid=0x298 runnable [0x33fbf000..0x33fbf
    d94]
    java.lang.Thread.State: RUNNABLE
    at java.io.WinNTFileSystem.getBooleanAttributes(Native Method)
    at java.io.File.exists(File.java:733)
    at oracle.ide.net.FileURLFileSystemHelper.exists(FileURLFileSystemHelper
    .java:326)
    at oracle.ide.net.URLFileSystemHelperDecorator.exists(URLFileSystemHelpe
    rDecorator.java:139)
    at oracle.ide.net.VirtualFileSystemHelper.exists(VirtualFileSystemHelper
    .java:504)
    at oracle.ide.net.URLFileSystemHelperDecorator.exists(URLFileSystemHelpe
    rDecorator.java:139)
    at oracle.ide.net.URLFileSystem.exists(URLFileSystem.java:551)
    at oracle.ide.net.URLFileSystem.isBound(URLFileSystem.java:875)
    at oracle.ide.net.URLFactory.newUniqueURL(URLFactory.java:185)
    at oracle.dbtools.worksheet.editor.Worksheet.getNewURL(Worksheet.java:80
    0)
    at oracle.dbtools.worksheet.editor.Worksheet.getContext(Worksheet.java:7
    90)
    - locked <0x07ea6588> (a oracle.dbtools.worksheet.editor.Worksheet)
    at oracle.ide.view.View.getContext(View.java:149)
    at oracle.ide.controller.IdeAction.updateAction(IdeAction.java:570)
    at oracle.ide.view.View.updateAction(View.java:390)
    at oracle.ide.view.View.updateToolbarActions(View.java:384)
    at oracle.dbtools.worksheet.editor.WorksheetGUI$1.insertUpdate(Worksheet
    GUI.java:521)
    at oracle.javatools.editor.BasicDocument.fireEvent(BasicDocument.java:12
    14)
    at oracle.javatools.editor.BasicDocument.insertUpdate(BasicDocument.java
    :1116)
    at oracle.ide.model.TextNode$FacadeTextBufferListener.insertUpdate(TextN
    ode.java:1540)
    at oracle.javatools.buffer.AbstractTextBuffer.fireInsertUpdate(AbstractT
    extBuffer.java:641)
    at oracle.javatools.buffer.AbstractTextBuffer.normalizedInsert(AbstractT
    extBuffer.java:497)
    at oracle.javatools.buffer.AbstractTextBuffer.insert(AbstractTextBuffer.
    java:405)
    at oracle.ide.model.TextNode$FacadeTextBuffer.insert(TextNode.java:1166)
    at oracle.javatools.editor.BasicDocument.insertString(BasicDocument.java
    :679)
    at oracle.javatools.editor.BasicEditorPane.insertString(BasicEditorPane.
    java:1737)
    at oracle.javatools.editor.BasicEditorKit$DefaultKeyTypedAction.actionPe
    rformed(BasicEditorKit.java:1092)
    at oracle.javatools.editor.BasicAction.actionPerformed(BasicAction.java:
    78)
    at oracle.javatools.editor.BasicWriteAction.actionPerformed(BasicWriteAc
    tion.java:33)
    at oracle.javatools.editor.BasicEditorKit$DefaultKeyTypedAction.actionPe
    rformed(BasicEditorKit.java:967)
    at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
    at javax.swing.JComponent.processKeyBinding(JComponent.java:2849)
    at javax.swing.JComponent.processKeyBindings(JComponent.java:2884)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2812)
    at java.awt.Component.processEvent(Component.java:5911)
    at java.awt.Container.processEvent(Container.java:2023)
    at java.awt.Component.dispatchEventImpl(Component.java:4501)
    at java.awt.Container.dispatchEventImpl(Container.java:2081)
    at java.awt.Component.dispatchEvent(Component.java:4331)
    at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.ja
    va:1848)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboard
    FocusManager.java:704)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeybo
    ardFocusManager.java:969)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeybo
    ardFocusManager.java:841)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFoc
    usManager.java:668)
    at java.awt.Component.dispatchEventImpl(Component.java:4373)
    at java.awt.Container.dispatchEventImpl(Container.java:2081)
    at java.awt.Window.dispatchEventImpl(Window.java:2458)
    at java.awt.Component.dispatchEvent(Component.java:4331)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    "AWT-Windows" daemon prio=6 tid=0x33a41c00 nid=0x778 runnable [0x33dbf000..0x33d
    bfa94]
    java.lang.Thread.State: RUNNABLE
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(WToolkit.java:291)
    at java.lang.Thread.run(Thread.java:619)
    "AWT-Shutdown" prio=6 tid=0x33a40800 nid=0x894 in Object.wait() [0x33cbf000..0x3
    3cbfb14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x0626f528> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
    - locked <0x0626f528> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:619)
    "Java2D Disposer" daemon prio=10 tid=0x33a47c00 nid=0x364 in Object.wait() [0x33
    bbf000..0x33bbfb94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x0626f5b8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x0626f5b8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at sun.java2d.Disposer.run(Disposer.java:125)
    at java.lang.Thread.run(Thread.java:619)
    "Low Memory Detector" daemon prio=6 tid=0x00f65c00 nid=0xa1c runnable [0x0000000
    0..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "CompilerThread0" daemon prio=10 tid=0x00f5f400 nid=0xea0 waiting on condition [
    0x00000000..0x336bf6bc]
    java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=10 tid=0x00f5dc00 nid=0x78c runnable [0x00000000..
    0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x00f5c800 nid=0x278 waiting on condition
    [0x00000000..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x00f4cc00 nid=0xfe8 in Object.wait() [0x333bf000.
    .0x333bfa94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x061f0298> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x061f0298> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=10 tid=0x00f48400 nid=0x590 in Object.wait() [0x
    332bf000..0x332bfb14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x061f0320> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:485)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x061f0320> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x00937400 nid=0xee4 waiting on condition [0x00000000..0x0012f
    ae8]
    java.lang.Thread.State: RUNNABLE
    "VM Thread" prio=10 tid=0x00f44c00 nid=0x550 runnable
    "VM Periodic Task Thread" prio=10 tid=0x00f67400 nid=0x288 waiting on condition
    JNI global references: 1780
    Heap
    def new generation total 9216K, used 3020K [0x030c0000, 0x03ab0000, 0x061f000
    0)
    eden space 8256K, 26% used [0x030c0000, 0x032e2710, 0x038d0000)
    from space 960K, 86% used [0x039c0000, 0x03a90b98, 0x03ab0000)
    to space 960K, 0% used [0x038d0000, 0x038d0000, 0x039c0000)
    tenured generation total 121024K, used 30110K [0x061f0000, 0x0d820000, 0x2b0c
    0000)
    the space 121024K, 24% used [0x061f0000, 0x07f57bd8, 0x07f57c00, 0x0d820000)
    compacting perm gen total 48384K, used 48290K [0x2b0c0000, 0x2e000000, 0x330c0
    000)
    the space 48384K, 99% used [0x2b0c0000, 0x2dfe8ac0, 0x2dfe8c00, 0x2e000000)
    No shared spaces configured.
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0
    Finished parsing = 0

  • SQL Developer running slow, possibly caused by Java Virtual Machine

    Dear all
    I am currently working with SQL Developer 1.5.1, connecting to an Oracle database 10.2.0.2 and it is taking about 10 minutes for SQL Developer to load. I believe the problem may be due to the Java Development kit. I upgraded to the latest version last week.
    The versions running according to Java settings is:
    1.6 1.6.0_15 http://java.sun.com/products/autodl/j2se C:\Program Files\Java\jre6\bin\javaw.exe  true
    1.6 1.6.0_07 http://java.sun.com/products/autodl/j2se C:\Program Files\Java\jre1.6.0_07\bin\javaw.exe  true
    1.4 1.4.2 http://java.sun.com/products/autodl/j2se C:\Program Files\Java\j2re1.4.2\bin\javaw.exe  trueHaving looked at other posts on here I have run SQL Developer with the console and the messages in that are as follows:
    Exception initializing 'oracle.ideimpl.searchbar.SearchBarAddin' in extension 'S
    earch Bar': java.lang.NullPointerException
            at oracle.ideimpl.searchbar.ColorProvider.isFusionLAF(ColorProvider.java
    :29)
            at oracle.ideimpl.searchbar.ColorProvider.updateUIManager(ColorProvider.
    java:35)
            at oracle.ideimpl.searchbar.SearchBarAddin.initialize(SearchBarAddin.jav
    a:37)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:405)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:214)
            at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:128)
            at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1804)
            at oracle.ide.IdeCore.startupImpl(IdeCore.java:1481)
            at oracle.ide.Ide.startup(Ide.java:662)
            at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
            at oracle.ideimpl.Main.start(Main.java:110)
            at oracle.ideimpl.Main.main(Main.java:72)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
            at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
            at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    190)
            at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
            at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
            at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
            at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
            at oracle.ide.boot.Launcher.launch(Launcher.java:68)
            at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Load: C:\Program Files\sqldeveloper\sqldeveloper\bin\jdev\extensions\GeoRaptorLi
    bs\Settings.xml
    java.io.FileNotFoundException: C:\Program Files\sqldeveloper\sqldeveloper\bin\jd
    ev\extensions\GeoRaptorLibs\Settings.xml (The system cannot find the path specif
    ied)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
            at java.io.FileInputStream.<init>(FileInputStream.java:66)
            at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
    .java:70)
            at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
    nection.java:161)
            at java.net.URL.openStream(URL.java:1007)
            at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2590)
            at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:236)
            at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:208)
            at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
            at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172)
            at org.GeoRaptor.MainSettings.load(Unknown Source)
            at org.GeoRaptor.PreferenceAddin.initialize(Unknown Source)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:405)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:214)
            at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:128)
            at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1804)
            at oracle.ide.IdeCore.startupImpl(IdeCore.java:1481)
            at oracle.ide.Ide.startup(Ide.java:662)
            at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
            at oracle.ideimpl.Main.start(Main.java:110)
            at oracle.ideimpl.Main.main(Main.java:72)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
            at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
            at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    190)
            at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
            at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
            at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
            at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
            at oracle.ide.boot.Launcher.launch(Launcher.java:68)
            at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Exception initializing 'org.GeoRaptor.MenuControler' in extension 'GeoRaptor': o
    racle.classloader.util.AnnotatedNoClassDefFoundError:
              Missing class: oracle.jdeveloper.cm.dt.browser.jdbc.TableNode
            Dependent class: org.GeoRaptor.MenuControler
                     Loader: main:11.0
                Code-Source: /C:/Program Files/sqldeveloper/sqldeveloper/extensions/
    org.GeoRaptor.jar
              Configuration: system property C:\Program Files\sqldeveloper\sqldevelo
    per\extensions\org.GeoRaptor.jar
    The missing class is not available from any code-source or loader in the system.
            at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClass
    Loader.java:2176) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by su
    n.misc.Launcher$AppClassLoader@9627532]
            at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLo
    ader.java:1729) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.
    misc.Launcher$AppClassLoader@9627532]
            at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.ja
    va:143) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@9627532]
            at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClass
    Loader.java:331) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun
    .misc.Launcher$AppClassLoader@9627532]
            at java.security.AccessController.doPrivileged (Native method) [unknown,
    by unknown]
            at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1688) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@9627532]
            at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1670) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@9627532]
            at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre b
    ootstrap, by jre.bootstrap:1.5.0_06]
            at org.GeoRaptor.MenuControler.initialize (Unknown source file) [/C:/Pro
    gram Files/sqldeveloper/sqldeveloper/extensions/org.GeoRaptor.jar (from system p
    roperty C:\Program Files\sqldeveloper\sqldeveloper\extensions\org.GeoRaptor.jar)
    , by main:11.0]
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin (AddinManag
    erImpl.java:405) [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (from syste
    m property PCLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins (AddinMana
    gerImpl.java:214) [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (from syst
    em property PCLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins (A
    ddinManagerImpl.java:128) [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (f
    rom system property PCLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ide.IdeCore.initProductAndUserAddins (IdeCore.java:1804) [/C:/
    Program Files/sqldeveloper/ide/extensions/oracle.ide.jar (from system property P
    CLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ide.IdeCore.startupImpl (IdeCore.java:1481) [/C:/Program Files
    /sqldeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.create
    ExtensionManagerLoader()), by main:11.0]
            at oracle.ide.Ide.startup (Ide.java:662) [/C:/Program Files/sqldeveloper
    /ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionMana
    gerLoader()), by main:11.0]
            at oracle.ideimpl.DefaultIdeStarter.startIde (DefaultIdeStarter.java:35)
    [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMa
    in.createExtensionManagerLoader()), by main:11.0]
            at oracle.ideimpl.Main.start (Main.java:110) [/C:/Program Files/sqldevel
    oper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoa
    der()), by main:11.0]
            at oracle.ideimpl.Main.main (Main.java:72) [/C:/Program Files/sqldevelop
    er/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoade
    r()), by main:11.0]
            at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
            at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
            at java.lang.reflect.Method.invoke (Method.java:585) [unknown, by unknow
    n]
            at oracle.ide.boot.PCLMain.callMain (PCLMain.java:66) [/C:/Program%20Fil
    es/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@962753
    2]
            at oracle.ide.boot.PCLMain.main (PCLMain.java:58) [/C:/Program%20Files/s
    qldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@9627532]
            at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
            at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
            at java.lang.reflect.Method.invoke (Method.java:585) [unknown, by unknow
    n]
            at oracle.classloader.util.MainClass.invoke (MainClass.java:128) [/C:/Pr
    ogram%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassL
    oader@9627532]
            at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain (IdeLauncher.java
    :190) [/C:/Program%20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launch
    er$AppClassLoader@9627532]
            at oracle.ide.boot.IdeLauncher.launchImpl (IdeLauncher.java:90) [/C:/Pro
    gram%20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoa
    der@9627532]
            at oracle.ide.boot.IdeLauncher.launch (IdeLauncher.java:66) [/C:/Program
    %20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@
    9627532]
            at oracle.ide.boot.IdeLauncher.main (IdeLauncher.java:55) [/C:/Program%2
    0Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@96
    27532]
            at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
            at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
            at java.lang.reflect.Method.invoke (Method.java:585) [unknown, by unknow
    n]
            at oracle.ide.boot.Launcher.invokeMain (Launcher.java:729) [/C:/Program%
    20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@9
    627532]
            at oracle.ide.boot.Launcher.launchImpl (Launcher.java:115) [/C:/Program%
    20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@9
    627532]
            at oracle.ide.boot.Launcher.launch (Launcher.java:68) [/C:/Program%20Fil
    es/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@962753
    2]
            at oracle.ide.boot.Launcher.main (Launcher.java:57) [/C:/Program%20Files
    /sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@9627532]I also use a photo Web Site, which is unrelated to my Oracle work but for it's photo uploader also uses Java, and that is running slow, which is why I think the problem is Java based. I would say the problem occurred within the last couple of months but has got much worse in recently weeks. SQL Developer is also slow at times, mainly when I've used another application and it is just in the background.
    Kind regards
    Tim

    Hi there
    Thank you for taking the time to reply. I use GeoRaptor and for what I use it for, I have not come across any errors whilst using it.
    I had no reference to the JDK in my SQL Developer configuration file. I did a search on my system and could not located a copy of JDK, or one in my programs installed control panel, so I installed it again. However I then found a copy in the sqldeveloper folder. However that wasn't referenced in my control panel.
    However having added a reference to the JDK in my SQL Developer configuration file, pointing to C:\Program Files\Java\jdk1.6.0_16, it seems to be taken even longer to load.
    SQL Developer is using 98,608k once loaded and my system has 1.25GB of memory. Whilst loading I was using 1.38GB. For about a year I've had slightly less memory than I sometimes use. The reason for not having 2GB is due to a previous memory failure. However this did not cause a problem for SQL developer until more recently.
    Would it be worth reinstalling GeoRapter?
    Kind regards
    Tim
    Exception initializing 'oracle.ideimpl.searchbar.SearchBarAddin' in extension 'S
    earch Bar': java.lang.NullPointerException
            at oracle.ideimpl.searchbar.ColorProvider.isFusionLAF(ColorProvider.java
    :29)
            at oracle.ideimpl.searchbar.ColorProvider.updateUIManager(ColorProvider.
    java:35)
            at oracle.ideimpl.searchbar.SearchBarAddin.initialize(SearchBarAddin.jav
    a:37)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:405)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:214)
            at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:128)
            at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1804)
            at oracle.ide.IdeCore.startupImpl(IdeCore.java:1481)
            at oracle.ide.Ide.startup(Ide.java:662)
            at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
            at oracle.ideimpl.Main.start(Main.java:110)
            at oracle.ideimpl.Main.main(Main.java:72)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
            at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
            at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    190)
            at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
            at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
            at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
            at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
            at oracle.ide.boot.Launcher.launch(Launcher.java:68)
            at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Load: C:\Program Files\sqldeveloper\sqldeveloper\bin\jdev\extensions\GeoRaptorLi
    bs\Settings.xml
    java.io.FileNotFoundException: C:\Program Files\sqldeveloper\sqldeveloper\bin\jd
    ev\extensions\GeoRaptorLibs\Settings.xml (The system cannot find the path specif
    ied)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
            at java.io.FileInputStream.<init>(FileInputStream.java:66)
            at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
    .java:70)
            at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
    nection.java:161)
            at java.net.URL.openStream(URL.java:1010)
            at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2590)
            at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:236)
            at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:208)
            at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
            at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
            at org.GeoRaptor.MainSettings.load(Unknown Source)
            at org.GeoRaptor.PreferenceAddin.initialize(Unknown Source)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:405)
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:214)
            at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:128)
            at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1804)
            at oracle.ide.IdeCore.startupImpl(IdeCore.java:1481)
            at oracle.ide.Ide.startup(Ide.java:662)
            at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
            at oracle.ideimpl.Main.start(Main.java:110)
            at oracle.ideimpl.Main.main(Main.java:72)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
            at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
            at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    190)
            at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
            at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
            at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
            at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
            at oracle.ide.boot.Launcher.launch(Launcher.java:68)
            at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Exception initializing 'org.GeoRaptor.MenuControler' in extension 'GeoRaptor': o
    racle.classloader.util.AnnotatedNoClassDefFoundError:
              Missing class: oracle.jdeveloper.cm.dt.browser.jdbc.TableNode
            Dependent class: org.GeoRaptor.MenuControler
                     Loader: main:11.0
                Code-Source: /C:/Program Files/sqldeveloper/sqldeveloper/extensions/
    org.GeoRaptor.jar
              Configuration: system property C:\Program Files\sqldeveloper\sqldevelo
    per\extensions\org.GeoRaptor.jar
    The missing class is not available from any code-source or loader in the system.
            at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClass
    Loader.java:2176) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by su
    n.misc.Launcher$AppClassLoader@4687246]
            at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLo
    ader.java:1729) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.
    misc.Launcher$AppClassLoader@4687246]
            at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.ja
    va:143) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@4687246]
            at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClass
    Loader.java:331) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun
    .misc.Launcher$AppClassLoader@4687246]
            at java.security.AccessController.doPrivileged (Native method) [unknown,
    by unknown]
            at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1688) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@4687246]
            at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1670) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@4687246]
            at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:320) [jre b
    ootstrap, by jre.bootstrap:1.6.0_16]
            at org.GeoRaptor.MenuControler.initialize (Unknown source file) [/C:/Pro
    gram Files/sqldeveloper/sqldeveloper/extensions/org.GeoRaptor.jar (from system p
    roperty C:\Program Files\sqldeveloper\sqldeveloper\extensions\org.GeoRaptor.jar)
    , by main:11.0]
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin (AddinManag
    erImpl.java:405) [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (from syste
    m property PCLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins (AddinMana
    gerImpl.java:214) [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (from syst
    em property PCLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins (A
    ddinManagerImpl.java:128) [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (f
    rom system property PCLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ide.IdeCore.initProductAndUserAddins (IdeCore.java:1804) [/C:/
    Program Files/sqldeveloper/ide/extensions/oracle.ide.jar (from system property P
    CLMain.createExtensionManagerLoader()), by main:11.0]
            at oracle.ide.IdeCore.startupImpl (IdeCore.java:1481) [/C:/Program Files
    /sqldeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.create
    ExtensionManagerLoader()), by main:11.0]
            at oracle.ide.Ide.startup (Ide.java:662) [/C:/Program Files/sqldeveloper
    /ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionMana
    gerLoader()), by main:11.0]
            at oracle.ideimpl.DefaultIdeStarter.startIde (DefaultIdeStarter.java:35)
    [/C:/Program Files/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMa
    in.createExtensionManagerLoader()), by main:11.0]
            at oracle.ideimpl.Main.start (Main.java:110) [/C:/Program Files/sqldevel
    oper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoa
    der()), by main:11.0]
            at oracle.ideimpl.Main.main (Main.java:72) [/C:/Program Files/sqldevelop
    er/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoade
    r()), by main:11.0]
            at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
            at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
            at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknow
    n]
            at oracle.ide.boot.PCLMain.callMain (PCLMain.java:66) [/C:/Program%20Fil
    es/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@468724
    6]
            at oracle.ide.boot.PCLMain.main (PCLMain.java:58) [/C:/Program%20Files/s
    qldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@4687246]
            at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
            at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
            at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknow
    n]
            at oracle.classloader.util.MainClass.invoke (MainClass.java:128) [/C:/Pr
    ogram%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Launcher$AppClassL
    oader@4687246]
            at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain (IdeLauncher.java
    :190) [/C:/Program%20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launch
    er$AppClassLoader@4687246]
            at oracle.ide.boot.IdeLauncher.launchImpl (IdeLauncher.java:90) [/C:/Pro
    gram%20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoa
    der@4687246]
            at oracle.ide.boot.IdeLauncher.launch (IdeLauncher.java:66) [/C:/Program
    %20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@
    4687246]
            at oracle.ide.boot.IdeLauncher.main (IdeLauncher.java:55) [/C:/Program%2
    0Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@46
    87246]
            at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
            at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
            at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknow
    n]
            at oracle.ide.boot.Launcher.invokeMain (Launcher.java:729) [/C:/Program%
    20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@4
    687246]
            at oracle.ide.boot.Launcher.launchImpl (Launcher.java:115) [/C:/Program%
    20Files/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@4
    687246]
            at oracle.ide.boot.Launcher.launch (Launcher.java:68) [/C:/Program%20Fil
    es/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@468724
    6]
            at oracle.ide.boot.Launcher.main (Launcher.java:57) [/C:/Program%20Files
    /sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@4687246]

  • SQL Developer 2.1 working too slow

    Hi All,
    I am working on SQL Developer 2.1 after 3 years previously I used version 1.2. Comparatively so many changes came in 2.1 version but it is too slow and while debugging variable values not shows in Tooltip we need to depend on Smartdata tab. If any settings or patches available for following problem than please provide me.
    1.     Too slow
    2.     Variable values in Tooltip
    By
    Srinivas M. P.

    SQL Developer using 127232 KB, Free 1.32 GB
    Is there any setting is SQL Developer or you talking about my system memory.
    If you talking about my system memory than I am using 2 GB RAM in my system and system working well
    If I do anything in TOAD than TOAD is working fine but SQL Developer working too slow.
    Edited by: SrinivasMP on Feb 5, 2010 3:34 PM

  • PL/SQL procedure is 10x slower when running from weblogic

    Hi everyone,
    we've developed a PL/SQL procedure performing reporting - the original solution was written in Java but due to performance problems we've decided to switch this particular piece to PL/SQL. Everything works fine as long as we execute the procedure from SQL Developer - the batch processing 20000 items finishes in about 80 seconds, which is a serious improvement compared to the previous solution.
    But once we call the very same procedure (on exactly the same data) from weblogic, the performance seriously drops - instead of 80 seconds it suddenly runs for about 23 minutes, which is 10x slower. And we don't know why this happens :-(
    We've profiled the procedure (in both environments) using DBMS_PROFILER, and we've found that if the procedure is executed from Weblogic, one of the SQL statements runs noticeably slower and consumes about 800 seconds (90% of the total run time) instead of 0.9 second (2% of the total run time), but we're not sure why - in both cases this query is executed 32742-times, giving 24ms vs. 0.03ms in average.
    The SQL is
    SELECT personId INTO v_personId FROM (            
            SELECT personId FROM PersonRelations
            WHERE extPersonId LIKE v_person_prefix || '%'
    ) WHERE rownum = 1;Basically it returns an ID of the person according to some external ID (or the prefix of the ID). I do understand why this query might be a performance problem (LIKE operator etc.), but I don't understand why this runs quite fast when executed from SQL Developer and 10x slower when executed from Weblogic (exactly the same data, etc.).
    Ve're using Oracle 10gR2 with Weblogic 10, running on a separate machine - there are no other intensive tasks, so there's nothing that could interfere with the oracle process. According to the 'top' command, the wait time is below 0.5%, so there should be no serious I/O problems. We've even checked JDBC connection pool settings in Weblogic, but I doubt this issue is related to JDBC (and everything looks fine anyway). The statistics are fresh and the results are quite consistent.
    Edited by: user6510516 on 17.7.2009 13:46

    The setup is quite simple - the database is running on a dedicated database server (development only). Generally there are no 'intensive' tasks running on this machine, especially not when the procedure I'm talking about was executed. The application server (weblogic 10) is running on different machine so it does not interfere with the database (in this case it was my own workstation).
    No, the procedure is not called 20000x - we have a table with batch of records we need to process, with a given flag (say processed=0). The procedure reads them using a cursor and processes the records one-by-one. By 'processing' I mean computing some sums, updating other table, etc. and finally switching the record to processed=1. I.e. the procedure looks like this:
    CREATE PROCEDURE process_records IS
        v_record records_to_process%ROWTYPE;
    BEGIN
         OPEN records_to_process;
         LOOP
              FETCH records_to_process INTO v_record;
              EXIT WHEN records_to_process%NOTFOUND;
              -- process the record (update table A, insert a record into B, delete from C, query table D ....)
              -- and finally mark the row as 'processed=1'
         END LOOP;
         CLOSE records_to_process;
    END process_records;The procedure is actually part of a package and the cursor 'records_to_process' is defined in the body. One of the queries executed in the procedure is the SELECT mentioned above (the one that jumps from 2% to 90%).
    So the only thing we actually do in Weblogic is
    CallableStatement cstmt = connection.prepareCall("{call ProcessPkg.process_records}");
    cstmt.execute();and that's it - there is only one call to the JDBC, so the network overhead shouldn't be a problem.
    There are 20000 rows we use for testing - we just update them to 'processed=0' (and clear some of the other tables). So actually each run uses exactly the same data, same code paths and produces the very same results. Yet when executed from SQL developer it takes 80 seconds and when executed from Weblogic it takes 800 seconds :-(
    The only difference I've just noticed is that when using SQL Developer, we're using PL/SQL notation, i.e. "BEGIN ProcessPkg.process_records; END;" instead of "{call }" but I guess that's irrelevant. And yet another difference - weblogic uses JDBC from 10gR2, while the SQL Developer is bundled with JDBC from 11g.

  • Sql developer 3.0 EA 1 & Oracel server on OpenVMS

    For Developers!
    We have:
    Oracle server on OpenVMS. SQL Developer on Windows XP.
    In DBA we have a problem with file names on openvms -
    It says about file name like 'DISK$1111:[oracle10g.oradata.db]system.dbf' - not valid.
    You must change this bug! Please!
    SQL Developer is very good.

    Hi,
    I see this is your first posting on this forum. Welcome.
    When reporting Early Adopter problems or queries, it's much easier for us if you tell us exactly what you are doing when you encounter issues. I can guess broadly where you encounter this error, but more detail means that we get to the exact problem you are encountering. What are you doing when you encounter the error, what is the version of the database and do you have the same issue when connecting to other databases?
    Sue

  • Sql Developer 3.0 Notes

    Overall, the new SQL Developer looks very good! I am very excited that you have added a spatial viewer! Bravo!!!
    I've noticed the followign issues:
    1. If you use the new "password" functionality (taken from SQL Plus, of course) more than once during a user session, it seems to lock up the SQL Developer application. Sometimes, in fact, it will lock it up even with the first.
    2. In the Map View, the Show Geometry Context tool does not seem to work for point geometries, and a bit inconsistently for polygons.
    3. In the Map View, it would be nice to be able to increase the display size of point geometries.
    Thanks,
    - Dave Caglarcan

    David,
    Regarding the MapViewer:
    2. In the Map View, the Show Geometry Context tool does not seem to work for point geometries, and a bit inconsistently for polygons.Since the point geometries are small you can always zoom (+) your view to see the points become small circles. You can then easily see context of the point geometries.
    Regarding the polygons please provide us with more details ... Usually spatial data is dense therefore please make sure that the data is valid.
    3. In the Map View, it would be nice to be able to increase the display size of point geometries.Just zoom (+) and pan around. You can use the Marquee Zoom tool to select your area.
    Hope this helps.
    Thanks
    Shounak

Maybe you are looking for

  • Unable to print HTML pages

    After a good bit of reading, I found that printing HTML directly to the printer doesn't work for many printers. I don't want to print the code. I want the actual HTML page. I have some code here that reads the HTML file into a JEditorPane and then is

  • When I update a cell in one file folder I want that same cell

    When I update a cell in one file folder called (X)  I want that same cell to updated in a different file folder called (Y).  Can this be done?

  • Multiple Desktops (Spaces)

    How are they supposed to work ? I have a problem with "This Desktop" setting, so after I restart OS X, some apps just lose that. Also desktop numbering is not constant (desktop shuffling).

  • Laptop Hinge is cracking

    I'm very angry that my HP M6-1045dx has a left hinge crack that has resulted from normal wear and tear. This computer is only a year and a half old and this should not be happening. I am a poor college student and it is unfair that this happened to s

  • Submit via Job

    Hello all I m creating a program to delete old entries from tables.This can be done 1. Foreground 2. Background I have created 2 reports Report A - MAin report Report B -has the following stmts REPORT b. DATA: i_JOBCOUNT LIKE TBTCJOB-JOBCOUNT,