Excute Plan in Oracle SQL Develper

Hi ,
I am using Oracle SQL Developer , 1.5.3 version .
I have written , a basic query like select * from Trans_Master , and on to the IDE of SQL Developer when i used
Excute Explain Plan F6
It displayed results as
OPERATION as SELECT STATEMENT
OBJECT_NAME as TRANS_MASTER
OPTIONS as FULL
COST as *44*
Could anybody please tell me what does this mean ??
Please help , thanks in advance .

Actually I think your question is a little too dark to be effective, if I'm not mistaken you are asking what the Explain plan and Autotrace functions in SQL Developer do.
If this is the case the answer is quite simple, the two functions provide you with a graphical way to display the operations the database will do internally when executing your query, with this information you can do tuning operations on your query to make it run faster or consume less database resources or the like.
In your example the information provided by SQL Developer is telling you that you are executing a select statement, and this statement is using the object TRANS_MASTER and doing a full table scan on it (natural since you provided no filters), when you start writing more complex queries with filters and joins you will see the plan change and evolve and you may want to modify your original query to get a better plan.
When you actually need to tune a particular query then you are indeed better of asking in the SQL And PL/SQL forum, since the guys there will undoubtedly answer your tuning questions faster and maybe even better.

Similar Messages

  • "Explain Plan" in Oracle SQL Developer is greyed out

    Hi all,
    I know this is not the right place to post this, but I have look around and do not know where to post question about Oracle SQL Developer - I presume this tool is also discussed here in this forum.
    My question is very simple (I presume):
    1. I installed Oracle SQL Developer 3.0.04.
    2. I added a new DB connection to a DB hosted in one of my servers in the LAN.
    3. However, when I am writing some SQL queries, I intend to use the "Explain Plan" feature, but it is being greyed out (disabled).
    4. How can I enable it back?

    Hello,
    {forum:id=260}
    Regards
    Marcus

  • Oracle SQL Developer Data Modeler start up error

    Hi All,
    I just downloaded Oracle SQL Developer Data Modeler (2.0.0.57.0) [Released 1 July 2009] by selecting the option "Oracle SQL Developer Data Modeler for Windows (This zip file includes the JRE)"
    After I installed the same and tried to run it by clicking datamodeler.exe, I get the following error message
    "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll"
    On the same machine I can successfuly run the Oracle SQL Develper with no errors. My machine is having Windows XP Professional SP3.
    Any ideas? If there was a problem with Java, than the Oracle SQL Developer should also not run. But as stated it runs with out any error but the Oracle SQL Developer Data Modeler gives the above error.
    Regards,
    JAA149

    1 - The above problem has nothing to do with the memmory. I tried on a 400 MB RAM, 900 MB RAM, 1.5 MB RAM & 2 MB RAM with the same arror.
    "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll"
    http://i30.tinypic.com/9vkwf6.jpg
    2 - There are two "datamodeler.exe: files
    One is at D:\datamodeler\datamodeler.exe
    2nd is at D:\datamodeler\bin\datamodeler.exe
    The same error occurs with both the files.
    3 - The Oracle SQL Developer Data Modeler version is "Oracle SQL Developer Data Modeler (2.0.0.57.0) [Released 1 July 2009]" and the file I downloaded is "Oracle SQL Developer Data Modeler for Windows (This zip file includes the JRE) - (57M)"
    If I look in "D:\datamodeler\jdk\jre\README.txt" I find
    "Java(TM) Platform, Standard Edition Runtime Environment Version 6"
    If I run "D:\datamodeler\jdk\jre\bin\javacpl.exe" I get
    http://i30.tinypic.com/mt8ocn.jpg
    If I run "D:\datamodeler\jdk\jre\bin\jureg.exe" I get
    http://i28.tinypic.com/30boiyo.jpg
    If i check at the control panle add/remove program
    http://i30.tinypic.com/1428tba.jpg
    If I go to "http://www.java.com/en/download/manual.jsp" and download "jre-6u16-windows-i586-s.exe" and run it.
    If I go to "C:\Program Files\Java\jre6" I find the same files as in "D:\datamodeler\jdk\jre"
    I am able to run Oracle SQL Developer with out any kind of error let alone the above one. But with Oracle SQL Developer Data Modeler I get the above mentioned error no matter what I try.
    As the error states "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll". The file "jvm.dll" is located at two places. One at "D:\datamodeler\jdk\jre\bin\client\jvm.dll" and the second at "D:\datamodeler\jdk\jre\bin\server\jvm.dll"
    A similiar problem occurs with JDeveloper with the fllowing solution
    http://forums.oracle.com/forums/thread.jspa?threadID=506339&start=0&tstart=0
    Which states the following
    "hello!
    in the problem with JDeveloper i have a solution. The jdk have a file jvm.dll in the path: jdk/jre/bin/client/jvm.dll this is the problem ... now in the path:jdk/jre/bin/client/ojvm has a file with the same name if you copy and paste this file to the another path, now its works fine your Jdeveloper.
    Jdeveloper use two files to jvm.dll to work one in the folder /client and other in /server copy the same file to the two locations for precaution
    for me work fine thanks..."
    I tried to do the same (Copy from client folder to server folder)
    D:\datamodeler\jdk\jre\bin\client\jvm.dll
    COPIED THIS FILE TO
    D:\datamodeler\jdk\jre\bin\server\jvm.dll
    Nada. So I reversed it (copied from server folder to client folder)
    D:\datamodeler\jdk\jre\bin\server\jvm.dll
    COPIED THIS FILE TO
    D:\datamodeler\jdk\jre\bin\client\jvm.dll
    Does not work. So I tried another solution stated at the same forum entry
    "Well,
    i solved the problem by this way :
    <SQLDEVELOPER>/jdev/bin/ide.conf
    In this file, change this line :
    AddVMOption -Xmx512M
    by
    AddVMOption -Xmx256M
    Now, the executable is lauching correctly. No more errors with Java Virtual Machine.
    But is it a good thing to solve it like that ?"
    But the ide.conf file is only at "D:\sqldeveloper\ide\bin\ide.conf" which is for the SQL Developer and not the SQl Developer Data Modeler
    Correct me if I am wrong but
    JRE = Java Run Time Envoirment
    JDK = Java Development Kit
    And Oracle SQL Developer Data Modeler needs JRE and not JDK. In any case I download JDK
    jdk-6u14-javafx-1_2-windows-i586.exe (121,306 KB) and installed it but no succcess.
    I tried every thing except completely re-install my whole PC.
    Any help will be much appreciated.
    Cordially,
    Jawad

  • Can users see the query plan of a SQL query in Oracle?

    Hi,
    I wonder for a given sql query, after the system optimization, can I see the query plan in oracle? If yes, how to do that? thank you.
    Xing

    You can use explain plan in SQLPlus
    SQL>  explain plan for select * from user_tables;
    Explained.
    Elapsed: 00:00:01.63
    SQL> select * from table(dbms_xplan.display());
    PLAN_TABLE_OUTPUT
    Plan hash value: 806004009
    | Id  | Operation                       | Name     | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                |          |  2014 |  1123K|   507   (6)| 00:00:07 |
    |*  1 |  HASH JOIN RIGHT OUTER          |          |  2014 |  1123K|   507   (6)| 00:00:07 |
    |   2 |   TABLE ACCESS FULL             | SEG$     |  4809 |   206K|    34   (3)| 00:00:01 |
    |*  3 |   HASH JOIN RIGHT OUTER         |          |  1697 |   873K|   472   (6)| 00:00:06 |
    |   4 |    TABLE ACCESS FULL            | USER$    |    74 |  1036 |     3   (0)| 00:00:01 |
    |*  5 |    HASH JOIN OUTER              |          |  1697 |   850K|   468   (6)| 00:00:06 |
    |   6 |     NESTED LOOPS OUTER          |          |  1697 |   836K|   315   (6)| 00:00:04 |
    |*  7 |      HASH JOIN                  |          |  1697 |   787K|   226   (8)| 00:00:03 |
    |   8 |       TABLE ACCESS FULL         | TS$      |    13 |   221 |     5   (0)| 00:00:01 |
    |   9 |       NESTED LOOPS              |          |  1697 |   759K|   221   (8)| 00:00:03 |
    |  10 |        MERGE JOIN CARTESIAN     |          |  1697 |   599K|   162  (10)| 00:00:02 |
    |* 11 |         HASH JOIN               |          |     1 |   326 |     1 (100)| 00:00:01 |
    |* 12 |          FIXED TABLE FULL       | X$KSPPI  |     1 |    55 |     0   (0)| 00:00:01 |
    |  13 |          FIXED TABLE FULL       | X$KSPPCV |   100 | 27100 |     0   (0)| 00:00:01 |
    |  14 |         BUFFER SORT             |          |  1697 | 61092 |   162  (10)| 00:00:02 |
    |* 15 |          TABLE ACCESS FULL      | OBJ$     |  1697 | 61092 |   161  (10)| 00:00:02 |
    |* 16 |        TABLE ACCESS CLUSTER     | TAB$     |     1 |    96 |     1   (0)| 00:00:01 |
    |* 17 |         INDEX UNIQUE SCAN       | I_OBJ#   |     1 |       |     0   (0)| 00:00:01 |
    |  18 |      TABLE ACCESS BY INDEX ROWID| OBJ$     |     1 |    30 |     1   (0)| 00:00:01 |
    |* 19 |       INDEX UNIQUE SCAN         | I_OBJ1   |     1 |       |     0   (0)| 00:00:01 |
    |  20 |     TABLE ACCESS FULL           | OBJ$     | 52728 |   411K|   151   (4)| 00:00:02 |
    Predicate Information (identified by operation id):
       1 - access("T"."FILE#"="S"."FILE#"(+) AND "T"."BLOCK#"="S"."BLOCK#"(+) AND
                  "T"."TS#"="S"."TS#"(+))
       3 - access("CX"."OWNER#"="CU"."USER#"(+))
       5 - access("T"."DATAOBJ#"="CX"."OBJ#"(+))
       7 - access("T"."TS#"="TS"."TS#")
      11 - access("KSPPI"."INDX"="KSPPCV"."INDX")
      12 - filter("KSPPI"."KSPPINM"='_dml_monitoring_enabled')
      15 - filter("O"."OWNER#"=USERENV('SCHEMAID') AND BITAND("O"."FLAGS",128)=0)
      16 - filter(BITAND("T"."PROPERTY",1)=0)
      17 - access("O"."OBJ#"="T"."OBJ#")
      19 - access("T"."BOBJ#"="CO"."OBJ#"(+))
    42 rows selected.
    Elapsed: 00:00:03.61
    SQL> If your plan table does not exist, execute the script $ORACLE_HOME/RDBMS/ADMIN/utlxplan.sql to create the table.

  • Extraction of data from Planning and load it into Oracle/SQL server (RDBMS)

    Hi All,
    ODI can extract data from Oracle/SQL server RDBMS and load it into Hyperion planning, but I wanted to know if it is possible to extract data from Hyperion Planning through ODI and load it into Oracle or SQL server RDMBS i.e the other way round.
    Kindly let me know if that is possible or not,If yes then please let me know what is the exact process to achieve this through ODI.
    Thanks & Regrads,
    Gurpreet

    Yes this can be done. Remember that Planning data is actually stored in Essbase so the Knowledge module you will need to use is LKM Essbase to SQL (DATA)

  • Excution plan

    hi
    yesterday i have run one query its excuted normally,but today the query taking more time ,i want to check yesterday excution plan and current excution plan .How can i check before excutuion plan where it wil store ?

    Whenever you read or write data in Oracle, you do so by issuing an SQL statement. One of Oracle's task when it receives such a statement is to build a query execution plan. An execution plan defines how Oracle finds or writes the data. For example, an important decision that Oracle has to take is if it uses indexes or not. And if there are more indexes, which of these is used. All this is contained in an execution plan.
    If one wants to explore such an execution plan, Oracle provides the SQL statement EXPLAIN PLAN to determine this.
    refer this link, surely it will helps you. try it
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/ex_plan.htm

  • How to resolve most of the Oracle SQL , PL/SQL Performance issues with help of quick Checklist/guidelines ?

    Please go thru below important checklist/guidelines to identify issue in any Perforamnce issue and resolution in no time.
    Checklist for Quick Performance  problem Resolution
    ·         get trace, code and other information for given PE case
              - Latest Code from Production env
              - Trace (sql queries, statistics, row source operations with row count, explain plan, all wait events)
              - Program parameters & their frequently used values
              - Run Frequency of the program
              - existing Run-time/response time in Production
              - Business Purpose
    ·         Identify most time consuming SQL taking more than 60 % of program time using Trace & Code analysis
    ·         Check all mandatory parameters/bind variables are directly mapped to index columns of large transaction tables without any functions
    ·         Identify most time consuming operation(s) using Row Source Operation section
    ·         Study program parameter input directly mapped to SQL
    ·         Identify all Input bind parameters being used to SQL
    ·         Is SQL query returning large records for given inputs
    ·         what are the large tables and their respective columns being used to mapped with input parameters
    ·         which operation is scanning highest number of records in Row Source operation/Explain Plan
    ·         Is Oracle Cost Based Optimizer using right Driving table for given SQL ?
    ·         Check the time consuming index on large table and measure Index Selectivity
    ·         Study Where clause for input parameters mapped to tables and their columns to find the correct/optimal usage of index
    ·         Is correct index being used for all large tables?
    ·         Is there any Full Table Scan on Large tables ?
    ·         Is there any unwanted Table being used in SQL ?
    ·         Evaluate Join condition on Large tables and their columns
    ·         Is FTS on large table b'cos of usage of non index columns
    ·         Is there any implicit or explicit conversion causing index not getting used ?
    ·         Statistics of all large tables are upto date ?
    Quick Resolution tips
    1) Use Bulk Processing feature BULK COLLECT with LIMIT and FOR ALL for DML instead of row by row processing
    2) Use Data Caching Technique/Options to cache static data
    3) Use Pipe Line Table Functions whenever possible
    4) Use Global Temporary Table, Materialized view to process complex records
    5) Try avoiding multiple network trips for every row between two database using dblink, Use Global temporary table or set operator to reduce network trip
    6) Use EXTERNAL Table to build interface rather then creating custom table and program to Load and validate the data
    7) Understand Oracle's Cost based Optimizer and Tune most expensive SQL queries with help of Explain plan
    8) Follow Oracle PL/SQL Best Practices
    9) Review tables and their indexes being used in the SQL queries and avoid unnecessary Table scanning
    10) Avoid costly Full Table Scan on Big Transaction tables with Huge data volume,
    11) Use appropriate filtration condition on index columns of seeded Oracle tables directly mapped to program parameters
    12) Review Join condition on existing query explain plan
    13) Use Oracle hint to guide Oracle Cost based optimizer to choose best plan for your custom queries
    14) Avoid applying SQL functions on index columns
    15) Use appropriate hint to guide Oracle CBO to choose best plan to reduce response time
    Thanks
    Praful

    I understand you were trying to post something helpful to people, but sorry, this list is appalling.
    1) Use Bulk Processing feature BULK COLLECT with LIMIT and FOR ALL for DML instead of row by row processing
    No, use pure SQL.
    2) Use Data Caching Technique/Options to cache static data
    No, use pure SQL, and the database and operating system will handle caching.
    3) Use Pipe Line Table Functions whenever possible
    No, use pure SQL
    4) Use Global Temporary Table, Materialized view to process complex records
    No, use pure SQL
    5) Try avoiding multiple network trips for every row between two database using dblink, Use Global temporary table or set operator to reduce network trip
    No, use pure SQL
    6) Use EXTERNAL Table to build interface rather then creating custom table and program to Load and validate the data
    Makes no sense.
    7) Understand Oracle's Cost based Optimizer and Tune most expensive SQL queries with help of Explain plan
    What about using the execution trace?
    8) Follow Oracle PL/SQL Best Practices
    Which are?
    9) Review tables and their indexes being used in the SQL queries and avoid unnecessary Table scanning
    You mean design your database and queries properly?  And table scanning is not always bad.
    10) Avoid costly Full Table Scan on Big Transaction tables with Huge data volume,
    It depends if that is necessary or not.
    11) Use appropriate filtration condition on index columns of seeded Oracle tables directly mapped to program parameters
    No, consider that too many indexes can have an impact on overall performance and can prevent the CBO from picking the best plan.  There's far more to creating indexes than just picking every column that people are likely to search on; you have to consider the cardinality and selectivity of data, as well as the volumes of data being searched and the most common search requirements.
    12) Review Join condition on existing query explain plan
    Well, if you don't have your join conditions right then your query won't work, so that's obvious.
    13) Use Oracle hint to guide Oracle Cost based optimizer to choose best plan for your custom queries
    No.  Oracle recommends you do not use hints for query optimization (it says so in the documentation).  Only certain hints such as APPEND etc. which are more related to certain operations such as inserting data etc. are acceptable in general.  Oracle recommends you use the query optimization tools to help optimize your queries rather than use hints.
    14) Avoid applying SQL functions on index columns
    Why?  If there's a need for a function based index, then it should be used.
    15) Use appropriate hint to guide Oracle CBO to choose best plan to reduce response time
    See 13.
    In short, there are no silver bullets for dealing with performance.  Each situation is different and needs to be evaluated on its own merits.

  • Oracle SQL Developer 2.1 EA1 and 1.5.5 not working on MacOS X Snow Leopard

    Currently, the Oracle SQL Developer 2.1 EA1 and 1.5.5 are not working on MacOS X Snow Leopard. Is there a plan to support the actual version of OS X?
    When I try to start the MacOS X-Download I always get the following errors using MacOS X 10.6.1:
    ./sqldeveloper.sh oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.ide.Version
         Dependent class: oracle.ide.IdeCore
         Loader: main:11.0
         Code-Source: /Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/extensions/oracle.ide.jar
         Configuration: system property PCLMain.createExtensionManagerLoader()
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2176) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1729) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1685) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1670) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:399) [jre bootstrap, by jre.bootstrap:1.6.0_15]
         at oracle.ide.IdeCore.$init$ (IdeCore.java:169) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ide.IdeCore.<init> (IdeCore.java:176) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.DefaultIdeCore.<init> (DefaultIdeCore.java:64) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.DefaultIdeCore.<init> (DefaultIdeCore.java:69) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.Main.start (Main.java:109) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.Main.main (Main.java:72) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), 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 (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
         at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknown]
         at oracle.ide.boot.PCLMain.callMain (PCLMain.java:66) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.PCLMain.main (PCLMain.java:58) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         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 (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
         at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknown]
         at oracle.classloader.util.MainClass.invoke (MainClass.java:128) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain (IdeLauncher.java:190) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.IdeLauncher.launchImpl (IdeLauncher.java:90) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.IdeLauncher.launch (IdeLauncher.java:66) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.IdeLauncher.main (IdeLauncher.java:55) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         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 (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
         at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknown]
         at oracle.ide.boot.Launcher.invokeMain (Launcher.java:729) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.Launcher.launchImpl (Launcher.java:115) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.Launcher.launch (Launcher.java:68) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]
         at oracle.ide.boot.Launcher.main (Launcher.java:57) [Users/dus/Downloads/sqldeveloper-1.5.5.59.69-macosx/SQLDeveloper.app/Contents/Resources/sqldeveloper/ide/lib/ide-boot.jar, by sun.misc.Launcher$AppClassLoader@2039559412]

    You have started this annoying discussion.
    I don't have any problems with my OS instead of you.
    I have already told you what to do, if you have no idea how to do that just go and buy yourself another support subscription from your mac support.
    The missing class is not available from any code-source or loader in the system. check that.
    what version of JAVA do you have in your fancy OS? most of the time upgrade java to the latest version will fix the issues.
    Update java from sun website not from another mac tore.

  • Debugging in Oracle SQL Developer

    I would like to know how to debug my PL / SQL programs in the Oracle SQL Developer program using breakpoints and such. I've never known how to use debugging tools like this and since this program provides this kind of feature, I was wondering if anyone on here might be able to shine some light on this for me. How are these used? How could I use them to say, figure out what the value of a given variable might be on line whatever? Etc.
    One reason I'm setting out to learn this is because I'm tired of typing DBMS_OUTPUT.PUT_LINE all the time. I would think that there must be a better way than this.
    Lastly (and while we're on that subject), what would cause SQL Developer to not output a DBMS_OUTPUT.PUT_LINE line? I've given this a string of text to output to the monitor and it's not working. It's in the DECLARE section (thinking I could place these almost anywhere my tiny little heart desired, but apparently, I'm wrong?)
    Again, any insight is appreciated.

    - K - :
    Oh, I get it... We had another pesky drop-out fishing for homework cheats again, right?
    Here's a suggestion to make this forum (you know, a place where people come together who all think differently about things both deep and shallow) somewhat more accepting and useful a place for idiots like me who might happen to overlook an apparently obvious "Help" menu item with the glowing neon-colored label heading of "Table of Contents": instead of wasting your own time (let alone, others) by posting silly responses that serve arbitrary agendas for the sake of inflating one's ego and online rep points due to having a bad high school experience, why not just instead take a high road (all the real Oracle kings around here hopefully take) and either ignore the response altogether or post something at least 1% useful. Sound like a plan? Great! For instance, why not inquire about why someone posted something that might not make sense to you? It's an amazing concept...
    Because after all...
    "+I'm often perplexed about the "answers" we get. Seems like you never posted your suggestions.+"
    ...doesn't do a lot for people who come across this thread in similar straights or perspective I was in at the time of creating it.
    That said, something like...
    "+Since you're using Oracle SQL Developer, you should have a 'Help' menu item near the top of the window. Click on it and then click on 'Table of Contents'. Proceed to do as Jim suggested by locating the topic 'Running and Debugging Functions and Procedures'. In that section of the contents, you will find more information about debugging your program, tips and tricks, etc. If this doesn't help you or if you're unsure about something in general, feel free to post back and we'll try to help you further.+"
    ...is much more helpful and succinct. It's welcoming, objective, and very informative (not that Jim's response wasn't).
    On that note, Jim, I do appreciate your response. When I first read your suggestion, I had misinterpreted what you proposed in the heat of the moment. Above all else, I also had some things going on around me that were distracting me. Thanks again. I'm reading the topic right now...

  • Tool to find the execution plan of a SQL query

    Hi,
    I new to Oracle. I come from the SQL Server world.
    I would like to know what tool(s) should I use to identify the execution plan for a SQL statement and to see if a query is missing indices.
    Thanks,
    Paul

    Use SQL*PLUS.
    SQL> select dummy from dual;
    D
    X
    SQL> set autotrace on explain
    SQL> r
      1* select dummy from dual
    D
    X
    Execution Plan
       0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=2 Card=1 Bytes=2)
       1    0   TABLE ACCESS (FULL) OF 'DUAL' (TABLE) (Cost=2 Card=1 Bytes
              =2)
    SQL> set autot off
    SQL> explain plan for select dummy from dual;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 1157671242
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |     1 |     2 |     2   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS FULL| DUAL |     1 |     2 |     2   (0)| 00:00:01 |
    8 rows selected.
    SQL> disconnect
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining options
    SQL>

  • Sp2-0575: Use of oracle SQL feature  not in sql 92 entry level.

    Hi,
    While logging to sqlplus I'm getting the following message
    "sp2-0575: Use of oracle SQL feature not in sql 92 entry level."
    and login is successful, but I'm not able to generate next value from the sequence .
    t says no rows selected when i request
    for nextval a
    EX: select mySeq.nextval from dual; (mySeq is sequence)
    Thanx,
    Ravi.

    What has happened is that someone has enabled the Oracle feature called as FIPS flagger.
    This is a feature that Oracle provides to you if you plan to write SQL code that should be portable
    to other RDBMS systems. IF you enable this flagger and use a feature which is not in the SQL standard,
    Oracle will complain that use of this feature will make your application Oracle dependent, and you may not
    be able to run this application against any other RDBMS.
    To disable this for your SQL*Plus session do this:
    SQL> set flagger off
    SQL>
    Once you do this it will allow you to use all SQL commands including Oracle specific extensions.

  • Oracle SQL Developer vs Navicat Oracle vs Toad

    I've been using MySQL and planning to migrate it to Oracle, but, I'm looking for an admin tool for Oracle and heard that Navicat for MySQL is now available for Oracle. It can create, edit databases, import/ export data,etc, so many features, I tried Toad for Oracle too. It's good but very expensive.
    Navicat for Oracle and Oracle SQL Developer have a free version and I'm choosing between them. I am now in the dilemma :(

    SQLDeveloper, of course :>
    Kind of a biased answer, with this being a SQLDeveloper forum... but the cost, active forum, and cross-platform capability win the argument for me.
    I've used both the MySQL supplied tools (administrator, query browser) as well as SQLDeveloper for a while, and I'm now more at home with SQLDeveloper than the others. It feels "right" for me, so when I'm working with both databases, SQLDeveloper is the tool I use.
    Support for MySQL is limited compared to what it can do for Oracle (obviously, it's an Oracle tool), and if you want to do DDL on a MySQL database, you can't point and click (you've got to type the commands in the worksheet), but for most of my work, I can do what I need using it.
    Plus, there's always the backup of the MySQL tools for those tasks you can't do in SQLDeveloper.
    Regards,
    John

  • Inner Query is excuting properly in 10g SQL developer, but not in Form 6i

    Hi All,
    I am able to excute below query in Oracle SQL developer in 10g , but when I tried to excute it in Forms 6i on WHEN-NEW-FORM_INSTANCE trigger, it is giving me below error message
    SELECT okl2.line_number subline_number, okl2.sts_code subline_status,
    okl2.start_date subline_start_date, okl2.end_date subline_end_date,
    okl2.date_terminated,oks.cognomen line_ref,okl2.ID subline_id,okl2.lse_id,
    (SELECT orig_model_no
    FROM apps.emcoks_msh_subst_models sm
    WHERE okh.contract_number = sm.contract_number
    AND okl.line_number = record_line_id) orig_model_no,
    (SELECT orig_model_qty
    FROM apps.emcoks_msh_subst_models sm
    WHERE okh.contract_number = sm.contract_number
    AND okl.line_number = record_line_id) orig_model_qty
    FROM apps.okc_k_lines_b okl2,
    apps.okc_k_headers_b okh,
    apps.okc_k_lines_b okl,
    apps.okc_k_items oki ,
    apps.okc_k_lines_tl oks
    WHERE 1 = 1
    AND okl2.dnz_chr_id = okl.chr_id
    AND okl.lse_id = 1
    AND okl2.lse_id IN (7, 9)
    AND okl.ID = okl2.cle_id
    AND okl.ID = oki.cle_id
    AND okl2.ID = oks.ID
    AND okl.chr_id = okh.ID
    AND okl2.dnz_chr_id = okh.ID
    AND okl.ID = 130246066126590818122526020119476052469
    order by subline_id;
    Error 103 : Encountered the symbol "Select" when expecting one of the following
    ( - + mod not null others <an identifier>

    I am new to Oracle Forms. Could you please guide me, how to create this statement as a view in the database ?
    I have tried to rewrite it using OUTER JOIN, but I am not getting same results.
    SELECT okl.line_number subline_number, okl.sts_code subline_status,
    okl.start_date subline_start_date, okl.end_date subline_end_date,
    okl.date_terminated,oks.cognomen line_ref,okl.ID subline_id,okl.lse_id,
    sm.orig_model_no orig_model_no,
    sm.orig_model_qty orig_model_qty
    FROM apps.okc_k_lines_b okl2,
    apps.okc_k_headers_b okh,
    apps.okc_k_lines_b okl,
    apps.okc_k_items oki ,
         apps.okc_k_lines_tl oks
    , apps.emcoks_msh_subst_models sm
    WHERE 1 = 1
    AND okl2.dnz_chr_id = okl.chr_id
    AND okl.lse_id = 1
    AND okl2.lse_id IN (7, 9)
    AND okl.ID = okl2.cle_id
    AND okl.ID = oki.cle_id
    AND okl2.ID = oks.ID
    AND okl.chr_id = okh.ID
    AND okl2.dnz_chr_id = okh.ID
    AND okl.ID = 130246066126590818122526020119476052469
    AND okh.contract_number (+) = sm.contract_number
    AND okl.line_number (+) = sm.record_line_id
    order by subline_id;
    Edited by: Swarup_C on May 8, 2013 6:46 AM

  • Migration: Access 2003 to Oracle SQL

    Dear All
    I would like to perform a migration from Access 2003, to Oracle 10g. I am using SQL Developer for the task, and have reached the point of capturing the XML file that I exported from Access. I need to create a migration repository on the target database, and this is causing problems as I do not have all the necessary privileges.
    In the process, I have been advised that migrations from Access to Oracle are not easy to achieve, and in fact require careful planning before execution. My objective is not really to transfer the data stored within the database file. I only really want to convert Access logic into Oracle SQL code. I was wondering if anyone could advise on the typical odds of success in achieving this task.
    I migrated the same Access database to MS SQL Server some time ago and the process seemed to go smoothly. Would it be reasonable then to migrate from MS SQL to Oracle SQL if this is easier?
    Any feedback would be very much appreciated.
    Thank you.
    M

    Thanks for your response.
    I am not familiar with the intricacies of the process, I'm just following the instructions set out in the Oracle Migrating 3rd Party Databases white paper.
    In this document, a process is set out consisting of steps that export an Access database, and then capture it to an Oracle user area with appropriate privileges. The process is achieved through Oracle SQL Developer.
    I'd be very grateful if you could expand on your answer if there is a better way of translating Access queries into Oracle SQL. I am aware that an Access front-end is capable of connecting with an Oracle database to execute queries, however, there are considerable limitations in the use of Access that I would like to avoid - hence the migration.

  • What is the validity of Oracle SQL 1ZO-007 certification?

    Hi,
    I have done Oracle SQL 1ZO-007 certification in May 2006. However, I could not write the next level, PL/SQL 1ZO-047. Now I am planning to write it.
    My doubt is whether my SQL certification is till valid so that upon clearing 1ZO-047 I can get OCA.
    Also, is there an alternate way of getting developer's path OCA.
    Please clarify.
    Thanks,
    Natraj

    Don't worry. Its valid for ever
    And please post your Certification related questions in Certification topic. May be there you can find more information
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

Maybe you are looking for