Elapsed time in sql developer
HelloFor the script below how do we get the execution time for package below in sql developer
set SERVEROUTPUT on
set timing on
VARIABLE OND REFCURSOR;
execute PKG_ISR_CAF_CDNG_ORG_STRUCT.PROC_GETORGNODES_NEW_3959(10005543,'MANAGE', 10006746, :OND);
PRINT OND;
Hello
This seems to be one of those cases where sheet SQL and SQL Developer * more behavior differ. Use of the "timing" on value in SQL * Plus will provide time for both execution of the procedure of a package, but also a call refcursor impression. A SQL Developer worksheet won't display any elapsed time for a SQL * more the print command, but if you replace your run with the following:
VARIABLE OND REFCURSOR;
BEGIN
PKG_ISR_CAF_CDNG_ORG_STRUCT.PROC_GETORGNODES_NEW_3959(10005543,'MANAGE', 10006746, :OND);
END;
/
PRINT OND;
an elapsed time is then displayed for anonymous block.
You want to maybe visit the SQL Developer Exchange and add a feature request for this feature if a request does not already exist.
Kind regards
Gary
SQL development team
Published by: Gary Graham on April 24, 2012 15:19
Or go to additional lengths as JB is done in the following post:
Re: Execute a Package/procedure - takes time to answer (3.1)
Tags: Database
Similar Questions
-
How to messure time CPU elapsed for a sql on ten times
Hello
I want to messure CPU time of SQL to Timesten,
Could you help me messuring CPU elapsed time for sqls,
How to messure sql time CPU elapsed TT DB, is there no way in sql trace that what we are doing for Oracle Tkprof.
Thank you
-AK
Published by: AK08 on June 1st, 2010 22:43Another thought...
If you have access to the o/s level or the compiler profiling tools, you could build a version profiled the application and observe the proportion of time spent in the ODBC calls. Maybe it's a different approach.
Chris
-
create a new user with password expire - problem SQL Developer
Hi people,
I use RDBMS 11.2.x on Solaris and Linux, and in the face of a problem that I hope someone can help me with.
Our policy is to create a new account with a temporary password and force them to reset the password at the first login.
Therefore, I use: "create user < username > identified by < user > password expire...» »
The problem is that many users use Oracle SQL Developer and do not have access to SQL * more.
When I user logs in the database for the first time in SQL Developer, he just tells them that the account is locked.
It does not say the password is expired, and it does not give them a way to change this (that I can find it).
I'm not familiar with SQL Developer and hoped for someone who has had a similar problem can offer some suggestions.
Thank you.
Jim
Change password dialog is no longer Pop Up after ORA-28001 (password expired) (Doc ID 811736.1)
-
Elapsed time in developer sql query
Hello
How is it, we know that the following query to run the number of seconds in sql developer.
*
SELECT the LABEL label
node_id AS node_id,
SYS_CONNECT_BY_PATH(label, '^') AS hierarchical_node,
(NVL (ret_paper_n_size, 0) + NVL (ret_online_n_size, 0)) AS Nsize,
org_level AS org_level,
CASE
WHEN node_id IN
(Node_id SELECT FROM hist_org_node_map WHERE is_deleted = 0
)
THEN 1
0 OTHERWISE
END Historical_mapping,
has_child AS has_children
coding_value_id coding_value_id
of ORG_NODE
WHERE org_struct_id = 10005121 - p_orgstructid
AND is_deleted = 0
Start LABEL like '% '.
|| 'r' - p_searchtext
|| '%'
CONNECT BY PRIOR parent_node_id = node_id nocycle
ORDER OF ORG_LEVEL,
PARENT_NODE_ID,
DISPLAY_ORDER;
*
After "set"timing"on" it shows the time for the first 50records. I want to know how many dry will be taken for all records in the query above.Hi Samurai.
A few options...
1 use the instruction execution (Ctrl + Enter). Click a cell in the results of the query tab, and then Ctrl-end. When you are finished, the time is displayed in the toolbar.
2 save your query in a file (something like \mypath\myfile.sql), then run it using run the Script (F5) on this...spool \mypath\myfile.lst set timing on @\mypath\myfile.sql spool off
Kind regards
Gary
SQL development team -
import time timestamp with timezone data in sql developer
Hi all
I'm trying to import a csv file into a table in sql developer, but cannot be granted. The reason is that a column of the csv file contains temporal data in this kind of format
"2010-10-20 22:00:00 UTC. I tried timestamp with or without time zone format in sql developer without success. Can someone please point a way to solve the problem?
Thank you very much in advance.
You define the format of stamp on this step:
http://thatjeffsmith.wpengine.com/wp-content/uploads/2012/04/excel_copy9.PNG
While respecting the advice to bring data from that date as a varchar2 'string' - Please don't do that. Storing dates as strings of dates (or stamps), as strings.
-
SQL Developer Cart deployment wasting time on Date columns
I tried to use the basket of SQL Developer functionality to migrate Oracle Cloud of AWS and I found that the time of all the date attributes element is not migrated. I checked the content of the deployment file and found that both the SQL * Loader control and the data file (ldr) ignore time information in an attribute table date.
Anyone encountered this problem and knows how to get SQL Developer to pick up time when he pulls date attribute values?Hello
There is no particular preference control the date format in the database. Public services | Basket, so the behavior has to be automatic or according to the definition of NLS.
You might check if tools | Preferences | Database | NLS | Date format already contains an element of time format. If the cart unfurl dates does not work even with the right NLS format, then this it can be tapped. Perhaps an improvement has been made for the next version. Please let us know. I ping the developer about this.
Kind regards
Gary
SQL development team -
Time display to date in SQL Developer columns
When I click on a picture to view it in SQL Developer (when it appears in a tab on the right side), if a column is the date format, it displays the date only and it still lacks the time.
Is it possible to set it so that the time will also be displayed?
I currently write SELECT statements to get around that and display the time, using TO_CHAR (timestamp, ' MON DD YYYY hh) to get the date display, which is annoying because I have a lot of tables I'm flicking between.In the Tools menu / Preferences / Database / NLS settings, you will be able to choose all the NLS settings you want, including date format
-
SQL * more the 'timing' in SQL Developer command
I installed SQL Developer version 4.1.1.19. In the sql worksheet, how can I use SQL * more order 'timing' in a script to see a time elapsed SQL? The "Timing" on 'set' did not return any info after running SQL, and 'calendar beginning mon_timer' back 'command Timing is obsolete. Help, please.
Thank you
- As you can see, there is no calendar information in the script output log.
- Then I tried on the discussion forum, found it can be enabled in "tool > preference > Database > startup script" and set as startup script:
Set serveroutput on
set timing on
- However, 2 questions are:
- the calendar that he returned is NOT the elapsed time of my stored procedure to run. He simply choose the 2 time points its time, before and not after MS point run. Set timing on is therefore not a solution for me.
- He did not follow the instructions in the startup script. After that I put the calendar in the startup script, stop & restart SQL Developer, same laptop charging, timing still on. The only way to turn off now is to configure it to NOT use
any startup script.
- Then I developed my own coding as a solution:
3. control of the COIL
VAR bv_start_ts VARCHAR2 (30)
VAR bv_end_ts VARCHAR2 (30)
VAR bv_elps_ts VARCHAR2 (30)
DECLARE
v_start_ts VARCHAR2 (30);
BEGIN
SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_start_ts FROM DUAL;
: bv_start_ts: = v_start_ts;
END;
/
IMPRESSION bv_start_ts
EXEC pmsmmi.rpt.rpt_ethncty_race_smry (15);
DECLARE
v_end_ts VARCHAR2 (30);
BEGIN
SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_end_ts FROM DUAL;
: bv_end_ts: = v_end_ts;
END;
/
IMPRESSION bv_end_ts
EXEC: bv_elps_ts: = TO_CHAR (TO_TIMESTAMP (: bv_end_ts, 'yyyymmddfxDyhh24miss.ff6')-TO_TIMESTAMP (: bv_start_ts, 'yyyymmddfxDyhh24miss.ff6'), 'hh:mi:ss.ff6');
IMPRESSION bv_elps_ts
SPOOL OFF
- Then I got what I want, the answer is in the 'PRINT ': bv_elps_ts
SQL > VAR bv_start_ts VARCHAR2 (30)
SQL > VAR bv_end_ts VARCHAR2 (30)
SQL > VAR bv_elps_ts VARCHAR2 (30)
SQL > DECLARE
v_start_ts VARCHAR2 (30);
BEGIN
SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_start_ts FROM DUAL;
: bv_start_ts: = v_start_ts;
END;
/
PL/SQL procedure successfully completed.
Elapsed time: 00:00:00.031
SQL > PRINT bv_start_ts
BV_START_TS
-----------
20150702Thu112617.775545
SQL > EXEC pmsmmi.rpt.rpt_ethncty_race_smry (15)
PL/SQL procedure successfully completed.
SQL > DECLARE
v_end_ts VARCHAR2 (30);
BEGIN
SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_end_ts FROM DUAL;
: bv_end_ts: = v_end_ts;
END;
/
PL/SQL procedure successfully completed.
Elapsed time: 00:00:00.062
SQL > PRINT bv_end_ts
BV_END_TS
---------
20150702Thu112630.805786
SQL > EXEC: bv_elps_ts: = TO_CHAR (TO_TIMESTAMP (: bv_end_ts, 'yyyymmddfxDyhh24miss.ff6')-TO_TIMESTAMP (: bv_start_ts, 'yyyymmddfxDyhh24miss.ff6'), 'hh:mi:ss.ff6')
PL/SQL procedure successfully completed.
SQL > PRINT bv_elps_ts
BV_ELPS_TS
----------
+ 00:00:13.030241000 000000
SQL > SPOOL OFF
-
SQL Developer to crash at startup.
I made several attempts using different versions of SQL Developer and different versions of Java on the machine with Microsoft Windows 8.1 Build Enterprise (x 64) 9600.
sqldeveloper - 4.0.1.14.48 - no - jre.zip 235,385,812
sqldeveloper - 4.1.2.20.64 - no - jre.zip 329,066,864
sqldeveloper - 4.1.2.20.64 - x 64.zip 399,957,535
sqldeveloper64 - 3.0.04.34 - no - jre.zip 154,645,086
sqldeveloper64 - 3.2.20.09.87 - no - jre.zip 182,052,469
sqldeveloper - 4.1.3.20.78 - no - jre.zip 331,401,110
Example of process:
(1) files extracted to sqldeveloper - 4.1.2.20.64 - no - jre.zip
(2) run sqldeveloper
(3) window appears asking you to JDK home - click 'Browse '.
(4) access to the Java/jdk1.8.0_65 - click on "select a folder.
(5) confirm the path with "OK".
(6) beginning of the program - the start screen flashes on the screen, but for a short period of time (tenths of a second).
(7) nothing else is happening.
(8) for execution sqldeveloper again not questions about the JDK. All splash screen (once again just flash).
(9) in the Manager of tasks (details) I see for about a half second the process 'sqldeveloper64W.exe '.
I've tried combinations of different JDK and version of the SQL Developer - some versions display warning on the supported Java versions.
The latest version I managed to run (ignoring warning) 3.2.20.09 has been building hand - 09.87 using java jdk1.8.0_65.
No luck with all versions 4 +.
I also tried to collect debugging information as described in http://www.thatjeffsmith.com/archive/2012/06/how-to-collect-debug-info-for-oracle-sql-developer/
First attempt was unsuccessful - screen displayed for the second half and then again in line with command prompt is displayed in the CMD window.
I tried several times and finally was fast enough to press ctr + pause/break in this short time.
I tried it with versions 4.1.2.20.64 and 4.1.3.20.78. The latest is here:
2016-01-14 15:01:18 Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.65-b01 mixed mode): "AWT-EventQueue-0" #15 prio=6 os_prio=0 tid=0x00000000160e7800 nid=0x66c runnabl e [0x0000000016d7e000] java.lang.Thread.State: RUNNABLE at com.sun.imageio.spi.FileImageInputStreamSpi.createInputStreamInstance (FileImageInputStreamSpi.java:55) at javax.imageio.ImageIO.createImageInputStream(ImageIO.java:357) at javax.imageio.ImageIO.read(ImageIO.java:1304) at oracle.ide.osgi.boot.SplashScreenImpl$ImagePanel.<init>(SplashScreenI mpl.java:273) at oracle.ide.osgi.boot.SplashScreenImpl.jbInit(SplashScreenImpl.java:18 7) at oracle.ide.osgi.boot.SplashScreenImpl.<init>(SplashScreenImpl.java:15 2) at oracle.ide.osgi.boot.api.SplashScreen$1.run(SplashScreen.java:62) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP rivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) ^ at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) C at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) "AWT-Windows" #13 daemon prio=6 os_prio=0 tid=0x00000000160e6800 nid=0x26a8 runn able [0x0000000016c7f000] java.lang.Thread.State: RUNNABLE at sun.awt.windows.WToolkit.eventLoop(Native Method) at sun.awt.windows.WToolkit.run(WToolkit.java:306) at java.lang.Thread.run(Thread.java:745) "AWT-Shutdown" #12 prio=5 os_prio=0 tid=0x00000000160e4000 nid=0x278 in Object.w ait() [0x0000000016b7f000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000efa047d0> (a java.lang.Object) at java.lang.Object.wait(Object.java:502) at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:295) - locked <0x00000000efa047d0> (a java.lang.Object) at java.lang.Thread.run(Thread.java:745) "Java2D Disposer" #11 daemon prio=10 os_prio=2 tid=0x00000000160e3000 nid=0x60 i n Object.wait() [0x0000000016a7f000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000ef9ff4b0> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) - locked <0x00000000ef9ff4b0> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164) at sun.java2d.Disposer.run(Disposer.java:148) at java.lang.Thread.run(Thread.java:745) "Service Thread" #9 daemon prio=9 os_prio=0 tid=0x0000000015ac0800 nid=0x80c run nable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "C1 CompilerThread2" #8 daemon prio=9 os_prio=2 tid=0x000000001414d800 nid=0x149 c waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "C2 CompilerThread1" #7 daemon prio=9 os_prio=2 tid=0x000000001414b000 nid=0x1f9 4 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "C2 CompilerThread0" #6 daemon prio=9 os_prio=2 tid=0x0000000014146800 nid=0x254 0 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Attach Listener" #5 daemon prio=5 os_prio=2 tid=0x0000000014144800 nid=0xde0 ru nnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Signal Dispatcher" #4 daemon prio=9 os_prio=2 tid=0x0000000014143000 nid=0x1130 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Finalizer" #3 daemon prio=8 os_prio=1 tid=0x000000000229b800 nid=0x13bc in Obje ct.wait() [0x00000000154af000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000ef5870b8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) - locked <0x00000000ef5870b8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209) "Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x0000000014108800 nid=0xd8c in Object.wait() [0x00000000153af000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000ef586af8> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:502) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:157) - locked <0x00000000ef586af8> (a java.lang.ref.Reference$Lock) "main" #1 prio=5 os_prio=0 tid=0x00000000021a3800 nid=0x2274 in Object.wait() [0 x000000000013e000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000efa09b08> (a java.awt.EventQueue$1AWTInvocationL ock) at java.lang.Object.wait(Object.java:502) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1313) - locked <0x00000000efa09b08> (a java.awt.EventQueue$1AWTInvocationLock) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1294) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348) at oracle.ide.osgi.boot.SplashScreenImpl.SynchronizeWithEdt(SplashScreen Impl.java:539) at oracle.ide.osgi.boot.api.SplashScreen.createInstance(SplashScreen.jav a:66) - locked <0x00000000ef9b5698> (a java.lang.Object) at oracle.ide.osgi.boot.OracleIdeLauncher.showSplashScreen(OracleIdeLaun cher.java:821) at oracle.ide.osgi.boot.OracleIdeLauncher.main(OracleIdeLauncher.java:11 3) "VM Thread" os_prio=2 tid=0x0000000014107800 nid=0x24fc runnable "GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00000000021bb000 nid=0x201c runn able "GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00000000021bd800 nid=0xfb4 runna ble "GC task thread#2 (ParallelGC)" os_prio=0 tid=0x00000000021bf000 nid=0x1f48 runn able "GC task thread#3 (ParallelGC)" os_prio=0 tid=0x00000000021c0800 nid=0x1b4c runn able "VM Periodic Task Thread" os_prio=2 tid=0x0000000015af8800 nid=0x408 waiting on condition JNI global references: 341 Heap PSYoungGen total 38400K, used 6704K [0x00000000ef580000, 0x00000000f200000 0, 0x0000000100000000) eden space 33280K, 20% used [0x00000000ef580000,0x00000000efc0c0a0,0x00000000f 1600000) from space 5120K, 0% used [0x00000000f1b00000,0x00000000f1b00000,0x00000000f20 00000) to space 5120K, 0% used [0x00000000f1600000,0x00000000f1600000,0x00000000f1b 00000) ParOldGen total 87552K, used 0K [0x00000000ce000000, 0x00000000d3580000, 0x00000000ef580000) object space 87552K, 0% used [0x00000000ce000000,0x00000000ce000000,0x00000000 d3580000) Metaspace used 7621K, capacity 7854K, committed 7936K, reserved 1056768K class space used 879K, capacity 968K, committed 1024K, reserved 1048576K
Please let me know if all the config files or additional information would help
Concerning
Location of these files can cause problems? It does not prevent SQL Developer 3.2 work.
Apparently. Director of the company may shed some light on why this is true. In practice, you can try to force the SQL Developer user settings in a local folder that is writable, discutΘ in: problem starting sql developer 4.1.1.19.59
For convenience, here's an excerpt. Use your 4.1.3.20.78x64 installation. Choose a path to a local folder, even one on a flash drive. Should work.
Add something like this line to the file sqldeveloper.conf to your installation:
AddVMOption - Dide.user.dir =
-
SQL Developer Exchange (partly) broken
Sorry for the brutal grip, but I tried to address this for quite a long time: "Public reports" part of SQL Developer Exchange (https://apex.oracle.com/pls/apex/f?p=43135:24:NO:RP:) seems to be at a standstill for 2011 (sic!). There is nothing to do with a younger timestamp, nor can I publish reports autodéfinies.
Another strange thing is that there is no contact information on the site SQLDev Xchange. That's why I'm posting here instead of posting an admin directly.
I've marked it as a question so here goes: this part of the site will never be fixed?
Care to come shamelessly:
I would like to share my reports user-defined somewhere central and well known, but for the moment I put in place a public on GitHub repository to fill the void. You are welcome.
See you soon,.
Uwe
We built a new Exchange, we just need to activate it
It will not start with a mechanism for sharing of reports/snippets originally... we could also build in a mechanism to pull things like this down directly from github
contact information for the Exchange
-
After...
- installing Oracle 12 c
- decompression SQL development 4.1.2
- by clicking on "sqldeveloper.exe".
... I am able to create a new connection:
Then, I'm supposed to create a new user. (Just FYI: it comes from an old assignment which I finally finished by using MS SQL Server.) But I'm still confused what I did wrong here...) My instructions everything first, run me the following command (as far as I can tell to create the user in the corresponding container):
Problem: After having successfully performed this command, other actions involving the connection causes the following error message:
After spending hours reinstalling Oracle and try different things (inspired by manuals and online forums) that never significantly improved situation, any kind of help are much appreciated!
The exception is indicative that the PDB is NOT open.
A "start" command does NOT open all of the default Database. When you first installed 12 c and created a sample DB installation process open. You likely judgment of the DB and pc - then you started the pc and the DB started automatically but then ONLY the root/CBD is started.
You logged in as SYS to the root/CBD and together the container to the PDB but the PDB is not open.
Multitenant has MANY differences from earlier versions and you just stumbled upon one of them. You have two options
1. create a trigger AFTER STARTING that opens the PDB files to automatically open
2 open the PDB manually - "ALTER PLUGGABLE DATABASE ALL OPEN;"
I answered SEVERAL times in the multitenant forum answering the same basic issue. See for example my answers in this thread
Re: creating new users in oracle 12 c
Now for the advice, that no one ever seems 1) want to hear, 2) take seriously or 3) actually do.
RTFM - with 12 multitenant c, that you will continue to have similar problems, until you read and understand the multi-tenant architecture.
I recommend you first read chapters 17 and 18 of the doc of Concepts on the new 12 c multitenancy.
http://docs.Oracle.com/CD/E16655_01/server.121/e17633/part_consol.htm#CHDGDBHJ
There are 3 or 4 relevant threads in the forum shared that have chunks of that info. So if you want you can read these threads, my answers and links I provide still other threads:
12 c: ORA-65049: creating local user or role is not permitted in the CBD$ ROOT
-
New installation of SQL Developer 4.0.3 is not Java 1.7
Just got a new computer and the Java is 1.7.0_85 so I will try to install the 4.0.3.16.84 SQL Developer because it says it's compatible with Java 1.7 version. So I run the sqldeveloper/sqldeveloper.exe, and he invites me to the path of Java. I enter the path to Java.exe (C:\Program Files\Java\jre7\bin) it fails with the error: could not find an If Java SDK installed to the path: C:\Program Files\Java\jre7\bin\.
What Miss me?
The message says that you need a software Java SE development kit. It's C:\Program Files\Java\jdk1.7.0_85 in your case,. If it (or some other recent jdk 1.7.0_xx) is not already there, you better download the 4.1.2 latest version.
If your machine and the OS is 64-bit, you can download the zip file with JDK 8 (abbreviated to 1.8) already included instead of separately download the JDK and SQL Developer. Otherwise, if yours is a 32 bit (probably unlikely at that time) OS, download a 32-bit jdk1.8
-
Oracle Sql Developer is very slow
Hello
I ' have a big problem with SQL developer. We have a lot of databases on the connections.xml (about 1600 databases Oracle) file. When we start SQL developer, it took about 10 minutes to open. Can what solutions we use to open this application more quickly?
We have already tried to add this line to the sqldeveloper.conf file:
AddVMOption - Sqldev.tnsping = false
But we see no change.
We must have a solution to fix this problem because 10 minutes is much much time to work properly.
What makes it truly Developer SQL in start up to put so much time?
Best regards.
A bug has been noted, as stated in the post 15 of this discussion. That's the good news, because there was no prior bug in the system for that matter.
There is a performance problem, of course, since the additional startup due to connections time more seems to increase exponentially, rather than (at most) linearly as could be expected. In other words, on my system...
1. 23 connections takes no extra time measurable.
2. 575 connections takes 13 seconds.
3. 1150 connections takes 53 seconds.
4. you claim that 1600 connections on your system takes about 10 minutes.
The bug will be reviewed by the developer and probably a better algorithm can be used, or the treatment in question may be delayed or run lazily so it won't slow down the startup. I don't know when this will happen, however. If you need urgently, you can follow up with Oracle Support to get a bug associated client id, track progress and present evidence for why it should have priority.
Kind regards
GarySQL development team
-
Hi I use version 11.2.0.3.0 of oracle.
We have an executed query last night for around ~ 21hrs and then finished. I check sql execution history in OEM section monitored sql and and I saw the DB time is around 27 ~ dry only, while the elapsed time is ~ 21hrs, unable to understand why. Also when I went through the sql, it seems simple and here the main table contains ~ 600000 (6 Lakes) records and Refrence table contains 4 records. Also when I checked the gv$ active_session_history I don't have much expectation for this sql query event log, there was minimum queue of events as presence "SQL * Net more data to the client', 'direct path read temp'.» So I was wondering if the DB time is in seconds so why time is so high and what exact thing sql did during this time.
I think even the stats for the main tables seems bland, but then also the operation should not last for the amount of time (~ 21 hours). Please help me understand the scenario and the action we should take.
This is the execution plan.
SELECT master.createtimestmp FROM master master, Refrence WHERE master.Refrence_id = Refrence.Refrence_id AND ( (Refrence.Refrence_cd = 'A' AND master.createtimestmp <= (:1)) OR (Refrence.Refrence_cd = 'B' AND master.createtimestmp <= :2) OR ( ( Refrence.Refrence_cd = 'D' AND master.createtimestmp <= :4 AND master.master_dltd_in = 0) OR (TRUNC (master.createtimestmp) = TRUNC(:5) AND master.master_dltd_in = 1) )) ORDER BY master.createtimestmp --------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | --------------------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | | 2017K| | (1)| 00:04:06 | | 1 | SORT ORDER BY | | 844K | 2017K| 302M | 50482 (1)| 00:04:06 | |* 2 | HASH JOIN | | 844K | 2017K| | 13678 (1)| 00:03:59 | | 3 | TABLE ACCESS FULL| Refrence | 4 | 24 | | 2 (0)| 00:00:01 | |* 4 | TABLE ACCESS FULL| Master | 2M | 1966K| | 13668 (1)| 00:03:59 | ---------------------------------------------------------------------------------------------
It's classic based on demand for time for reflection (or network), for example:
1. open the cursor
2. remove n lines
3 do something side app with the retrieved lines
4 remove n lines more
5. repeat 3 & 4
6 complete execution / close the cursor
Thus, the query can be opened for a number of hours, but in terms of time to database, it is a few seconds.
The rest is all somewhere between the network and request but no database.
-
How to create Spatial indexes in SQL Developer Data Modeler 4
Hello
What is the procedure to create a Spatial index in SDDM v4? I found myself at an impasse because of the following problems:
(1) retro-engineering rate the spatial index, then I need to add them manually.
(2) adding an index does not allow me to check the 'spatial', and does not allow me to add the sdo_geometry column in the index definition.
(3) for the registration of the spatial properties for a table, I can not choose the name of the Spatial Index.
I came across an old post (Data Modeler - cannot create a spatial index), but this post is no longer valid because SDDM V4 does not allow me to create an index without columns (definition of the incomplete index).
Help is appreciated,
Kind regards
Richard.
Hi Richard,
Thanks for your update. I'm scared, I was assuming you were using the stand alone rather than SQL Developer Data Modeler.
I tried using SQL Developer 4.1.0.18.37 (ai2) using a thin connection and got the ClassCastException you have found.
But when I used ai2 autonomous, maker of data using the same login details 'Advanced', it worked OK and imported from the spatial index.
(I'm puzzled as to why these two seem to behave differently, as this is the version ai2 data integrated with SQL Developer ai2 maker).
I then plugged and reverse engineering the same tables (yet) in a new model.
Funny is that there is no error in the external journal this time, but the spatial properties are still not retroconcues correctly.
Is it possible that you have not set the option to import the spatial properties? I expect that the spatial properties would be imported or that the error should be registered.
SQL Developer ai2 imported properly the spatial properties and the spatial index, when I used a basic connection and specified host, port, and SID or Service name.
Another issue: SQL Developer relies on a certain JDK / JDBC library?
Any Java JDK 1.8 should be good.
David
Maybe you are looking for
-
Cannot be used on Qosmio G30 recovery CD
Hello I'm doing a recovery on my G30 and have recovery G30 dvd but when I insert the disc all get them is a message saying - this recovery and applications cd is not configured to work with this machine (laptop). This cd is for: Qosmio G30... Please
-
Re: Satellite L500 - 19 X - start the Webcam with Windows application
I lost my webcam on the Desktop Application. Can I bring back by accessing the Web camera Application / Program (86) / Toshiba / Web camera Application and clicking on the Web Camera Application .exe. But it do not reappear when I boot. I have the Au
-
Two iPhones different rings when we're called
I have two iPhones, one for me and one for my wife. When I set up his phone, I used my account Apple ID and iCloud. Now when someone calls him or me, both phones ring, and we both get each and other texts. How can I completely remove my iCloud accoun
-
XP Pro key validates the AOC but no cd... What can I do?
XP Pro key validates the AOC but no cd... What can I do? Had a reconstructed virus so a system of 2005. Have no HP recovery without cd XP Pro but who have a valid key and coa... what I can do. I have read this and other forums and it may be that i
-
missing network controller drivers
My acer aspire 5253 is ' % s ' it driver for network controller the strange thing is that the controller has no name, so I don't know who did it, can anyone help?