Cannot run explain plan with sqldeveloper 1.5.1 against a 9.2 database

Hello
When I try to run explain plan in sqldeveloper, I get this message:

"Invalid column name cannot the plan_table query."

on my laptop, I have a 10g XE database and it works perfectly

Is this due to the fact that the plan_table structures are different in 10g and 9i?

Is there a solution or a workaround to make the explain command plan to work with the 9.2 database?

Thank you for helping me.

Concerning
Jean-Yves

Versions:

SqlDeveloper:
CV Version inside Oracle SQL Developer (client only)
Java (TM) Platform 1.5.0_06
Oracle IDE 1.5.1.54.40
Support versioning 1.5.1.54.40

database:
Oracle9i Release 9.2.0.6.0 - Production
PL/SQL Release 9.2.0.6.0 - Production
"CORE 9.2.0.6.0 Production."
AMT for Linux: release 9.2.0.6.0 - Production
NLSRTL Version 9.2.0.6.0 - Production

Hello..

Why, you can't recreate it... you need not additional privileges to do that, yo just need privilege to create the table.

It comes to my table plan 9i structure...

9i> desc PLAN_TABLE ;
 Name                                                  Null?    Type
 ----------------------------------------------------- -------- ------------------------------------
 STATEMENT_ID                                                   VARCHAR2(30)
 TIMESTAMP                                                      DATE
 REMARKS                                                        VARCHAR2(80)
 OPERATION                                                      VARCHAR2(30)
 OPTIONS                                                        VARCHAR2(255)
 OBJECT_NODE                                                    VARCHAR2(128)
 OBJECT_OWNER                                                   VARCHAR2(30)
 OBJECT_NAME                                                    VARCHAR2(30)
 OBJECT_INSTANCE                                                NUMBER(38)
 OBJECT_TYPE                                                    VARCHAR2(30)
 OPTIMIZER                                                      VARCHAR2(255)
 SEARCH_COLUMNS                                                 NUMBER
 ID                                                             NUMBER(38)
 PARENT_ID                                                      NUMBER(38)
 POSITION                                                       NUMBER(38)
 COST                                                           NUMBER(38)
 CARDINALITY                                                    NUMBER(38)
 BYTES                                                          NUMBER(38)
 OTHER_TAG                                                      VARCHAR2(255)
 PARTITION_START                                                VARCHAR2(255)
 PARTITION_STOP                                                 VARCHAR2(255)
 PARTITION_ID                                                   NUMBER(38)
 OTHER                                                          LONG
 DISTRIBUTION                                                   VARCHAR2(30)
 CPU_COST                                                       NUMBER(38)
 IO_COST                                                        NUMBER(38)
 TEMP_SPACE                                                     NUMBER(38)
 ACCESS_PREDICATES                                              VARCHAR2(4000)
 FILTER_PREDICATES                                              VARCHAR2(4000)

There is the script utlxplan.sql to 9i

create table PLAN_TABLE (
        statement_id    varchar2(30),
        timestamp       date,
        remarks         varchar2(80),
        operation       varchar2(30),
        options         varchar2(255),
        object_node     varchar2(128),
        object_owner    varchar2(30),
        object_name     varchar2(30),
        object_instance numeric,
        object_type     varchar2(30),
        optimizer       varchar2(255),
        search_columns  number,
        id              numeric,
        parent_id       numeric,
        position        numeric,
        cost            numeric,
        cardinality     numeric,
        bytes           numeric,
        other_tag       varchar2(255),
        partition_start varchar2(255),
        partition_stop  varchar2(255),
        partition_id    numeric,
        other           long,
        distribution    varchar2(30),
        cpu_cost        numeric,
        io_cost         numeric,
        temp_space      numeric,
        access_predicates varchar2(4000),
        filter_predicates varchar2(4000));

Tags: Database

Similar Questions

  • Able to run a query into a TOAD, but cannot create explain plan

    Hello

    I can run a query into a FROG that uses the table to the other schema. I created the synonym and given rights over it.
    But when I try to explain the plan using TOAD: I get Ora - 00942:Table or view does not exist.
    Any suggestions...

    Thank you...

    user8941550 wrote:
    Hello

    He asks me the password for the DBA. I don't have that.
    Is there another way...

    If you do not have access to create the necessary objects on the database, you will not be able to use TOAD explain plan function, you will need to stick with the SQL * more to explain the method of diet (which to be honest is a better plan to explain anyway).

    If you need create these objects, you'll have to ask your DBA to get approval, or get the DBA to create.

  • Black screen - cannot run Explorer.exe with Task Manager

    Hi guys

    I've been Googling the answer to that for the last day and nothing seemed to work.

    Basically, my portable was working fine until this morning, when I restarted. After the home screen, just a rear screen with the mouse. CTRL ALT DEL and everything still works normally. I can run programs with the Task Manager, but can not run explorer.exe. He returned in the process for about 10 seconds then disappears. I think that it is the cause of the black screen. I tried downloading an own explorer.exe and replace the explorer.exe in C:\Windows\. My computer it did not as he said I need the permission of the administrator, but of course, I am the Admin so I don't know what that's all.
    I tried to restart in Mode safe and that works very well, still, I can't replace the explorer.exe in the C:\Windows\ because I do not have the administrative authorization. I tried to change it in the Security tab of the properties, or impossible.
    I also tried to update the driver software graphics cards, checked the Shell in the registry value and made sure it's explorer.exe, used the difficulty of black of Pevx screen, used HitmanPro and Windows Malicious Software Removal Tool to scan and remove malware. I even did a scf/scannow, checked driver C a mistake (which took 3 hours!), let Windows Startup Repair to fix things, tried a system restore but failed. He says that the anti-virus (Sophos) prevented the restoration of the system, so I've temporarily disabled its access scanning on but still unable to restore to a previous (11/01). Program changes that recent such as listed in the system restore is Google + Auto BackUp who came when set Picasa to date there 3 days and a more recent version of Facebook video call I've ever used. I am now running a scan with Sophos, not too promising.
    So yes, I tried everything. I think that now, there are only three options:

    1 somehow replace the explorer.exe in C:\Windows\ with this new cool explorer.exe, which I downloaded, with the permission of the administrator
    2. try another restore of the system, but I'm sure that nothing will happen, already tried three times.
    3 reinstall Windows 7 Edition Home Premium. It will be a real pain.

    So please help me! I have courses of due on Monday and this portable do not let me what that be done. Thank you!!!

    Please ignore the other my long answer. The problem has now been resolved.

    After trying all kind of scans, drinking and sobbing, I came across TDSS Killer from Kaspersky, who managed to catch a 1 latest unique malicious software (that I was too stupid and really looked hopeless and remember the name of), it cures the problem after reboot. Now, the laptop works well like you wouldn't believe. I'm still confused but way too happy now to care. Thanks a lot for your help nevertheless!
  • Surprise! Cannot run an update with the new assembled - and your application.

    Dear forum,

    A few days ago Microsoft released a KB update for developers, update the runtime (from 8.0.50727.762 to 8.0.50727.4053) assemblies.

    Who caused all that we have built in the last days to require these new libraries, do not perform if they did not exist.
    This caused a disorder and confusion, since without notice - our QA (not to receive automatic update) and the developers who have yet to receive the update - could not run our products.

    Only after some frantic research, the problem has been diagnosed and corrected by providing all non-developers the new package of redistribution that contains the new revisions by the runtime assemblies.

    Now, putting aside frustration, I would really like to know what is the "Microsoft suggested way" to provide information on these cases. As most of our developers receive automatic updates 'silent', there was absolutely no way to guess what was about to happen. Even our engineer of deployment has not received the redistributable InstallShield appropriate.

     
    Please advise!
     
    Thank you
    Gil Moses
    Waves Audio Ltd.

    It is recommended that all customers get updated to the latest version and there are several tools such as WSUS and System Center Configuration Manager that helps you manage the updates. It is also recommended in some cases you are running the update in the test environment and so that caused no problem then distribute and you could either block or allow the update using these software.

    Updates are being tested before release to ensure that they work properly, but it is not possible to test all because you're a developer, you know. And when such cases happened you can contact Microsoft Support and open a support case to help solve this problem as soon as possible.

  • cannot run palm tx with stylus

    This weekend I received my new Palm TX. The installation goes oke. After that I put on the screen of the protextion, my pen did not work properly more. I can't use my Palm TX with the stylus as if the row is larger than the screen. It is not possible to fix this with the touch screen in the menu preference of. I hope someone can help me.

    Hello.. Welcome to the forums of Palm.  If I understand you correctly, your new TX worked great with a pen until you put the protector of screen on it.  I would recommend that you remove the screen protector and test.  Most likely, the screen protector got a piece of it under the rim of the screen providing pressure to the screen and making it unusable with a stylus.  After removing the screen protector try to use a thin business card or other flexible thin material to clean the edge of the screen to remove all the pieces left.  If working now try to replace the screen carefully protector ensuring nothing gets under the rim.

    Message relates to: Centro (Sprint)

  • Explain plan for select distinct

    I got 1 of the online test and there the question has been asked. I have already answered but curious to cross-check my response with your advice...

    Question

    Explain what information plan if the show room in SQL indicates that a separate select statement is made in the SQL.


    The choices are:

    Sort by a join

    b sort by

    c single fate

    d sort aggregate

    group e - sort by

    My answer

    I gave aggregates of SORT but it seems that his unique kind, because when I run explain plan then I see (unique) hash. Please guide


    SEPARATE will identify unique rows. So in the given choice it would be KIND of UNIQUE. But oracle could go other plans as UNIQUE HASH or same INDEX FULL SCAN.

    Look at the oracle does not SORT.

    SQL> select distinct ename from emp;
    ENAME
    ------
    SMITH
    BLAKE
    CLARK
    KING
    ADAMS
    TURNER
    ALLEN
    SCOTT
    JONES
    MARTIN
    WARD
    11 rows selected.
    SQL> select * from table(dbms_xplan.display_cursor);
    PLAN_TABLE_OUTPUT
    ---------------------------------------------------------------------------------
    SQL_ID  6b32yqumjmp9b, child number 0
    -------------------------------------
    select distinct ename from emp
    Plan hash value: 984151148
    ---------------------------------------------------------------------------
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------
    |   0 | SELECT STATEMENT   |      |       |       |     3 (100)|          |
    |   1 |  HASH UNIQUE       |      |    11 |    66 |     3  (34)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| EMP  |    11 |    66 |     2   (0)| 00:00:01 |
    ---------------------------------------------------------------------------
    
    14 rows selected.
    

    Let me make an explicit ORDER BY for her to performa SORT.

    SQL> select distinct ename from emp order by 1;
    ENAME
    ------
    ADAMS
    ALLEN
    BLAKE
    CLARK
    JONES
    KING
    MARTIN
    SCOTT
    SMITH
    TURNER
    WARD
    11 rows selected.
    SQL> select * from table(dbms_xplan.display_cursor);
    PLAN_TABLE_OUTPUT
    -------------------------------------------------------------------------------
    SQL_ID  f72vjx5rmm0z4, child number 0
    -------------------------------------
    select distinct ename from emp order by 1
    Plan hash value: 725351111
    ---------------------------------------------------------------------------
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------
    |   0 | SELECT STATEMENT   |      |       |       |     4 (100)|          |
    |   1 |  SORT UNIQUE       |      |    11 |    66 |     3  (34)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| EMP  |    11 |    66 |     2   (0)| 00:00:01 |
    ---------------------------------------------------------------------------
    
    14 rows selected.
    SQL>
    

    Version - 10.2.0.5.0

  • Cannot run the screen saver because it requires a newer video card or one that is compataible with Direct3D.

    Hello

    I recently rebooted my computer; (Packard Bell) and now cannot run games or screen savers because it does not start. I think my problem has something to do with a Direct3D card? When I run screensavers, I get this message:
    Cannot run the screen saver because it requires a newer video card or one that is compataible with Direct3D.
    I have the impression that sound when I run the 3D games, such as minecraft or GMOD.
    I run on Windows Vista Edition Home Premium and does not do anything but re - install my computer because it wouldn't start.
    It is not as if the graphics card is not there, so I'm really confused!
    Please help me, like playing games is my favorite thing. ;)
    Charlie
    I also ran minecraft to double check and I got this error code:
    Bad video card drivers!
    -----------------------
    Minecraft could not start because it did not find an accelerated OpenGL mode.
    Generally, this can be corrected by updating the video card drivers.
    -BEGIN 7fe0271 error REPORT-
    Generated 10/10/12 21:04
    -Minecraft Version: 1.3.2
    -Operating system: Windows Vista (x 86) version 6.0
    -Java Version: 1.7.0_07, Oracle Corporation
    -Version Java VM: Java hotspot Client VM (mixed mode), Oracle Corporation
    -Memory: 422585352 bytes (403 MB) / 518979584 bytes (494 MB) up to 1037959168 bytes (989 MB)
    -JVM Flags: 2 total; Xms512m-Xmx1024m
    -LWJGL: 2.4.2
    -OpenGL: ~ ERROR ~ NullPointerException: null
    -Is Modded: Probably not
    -Type: customer
    -Texture Pack: ~ ERROR ~ NullPointerException: null
    -Position profile: N/A (disabled) [can't get system (java.lang.NullPointerException) properties]
    org.lwjgl.LWJGLException: Pixel format not accelerated
    at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat (Native Method)
    at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
    at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:185)
    at org.lwjgl.opengl.Display.createWindow(Display.java:311)
    at org.lwjgl.opengl.Display.create(Display.java:856)
    at org.lwjgl.opengl.Display.create(Display.java:784)
    at org.lwjgl.opengl.Display.create(Display.java:765)
    at net.minecraft.client.Minecraft.a(SourceFile:233)
    at net.minecraft.client.Minecraft.run(SourceFile:516)
    at java.lang.Thread.run (unknown Source)
    -REPORT of ERROR END bb61788b-

    Hello

    After you reinstall the operating system, you should also go to the website of your computer manufacturer > drivers download section > put your computer model number > search for your operating system and drivers (graphics, audio, etc.) > download and install.

    See you soon.

  • SSH session with QNX momentics-> cannot run - permission denied

    Hello everyone I am new to this world to develop a blackberry and I have a question about ssh, it can be quite simple, but a simple tip could save me from going crazy.

    When I open an ssh session with my blackberry and try to execute statements such as ping, it is said:

    Ping $
    SH: ping: cannot run - permission denied

    So my question is: is there a way to access these permissions and run the command?

    I use qnx momentics, a real device and access the ssh by qnx momentics option launch a ssh session.

    I'd appreciate any advice or tips or whatever it is that one can say to help me, thanks in advance

    When you connect via SSH, logged as "devuser". This user has limited permissions... basically these permissions that would be a regular application.

    To run the 'ping', you need a higher level of access. (Check permissions and ownership with "ls-l/usr/bin/ping") This isn't an option, so the answer is no, there is no way to do it.

  • I have a plan with adobe photoshop and lightroom.  The lightroom works fine, but I can't get the photoshop to run.  I have to go back to an old copy of photoshop to do the work.  All thoughts

    I have a plan with adobe photoshop and lightroom.  The lightroom works fine, but I can't get the photoshop to run.  I have to go back to an old copy of photoshop to do the work.  All thoughts

    Thank you for your help.  I just downloaded the Photoshop CC2015 for the 7th time and it now seems to work fine.  Sorry to have bothered you... It is good to know that there are people like you who will help if necessary.

    Thanks again.

  • in vCenter 6.0 'Run Stimulus Plan' failed with the following error.

    Hello

    I am new to this forum and sorry for the mistakes

    I have two site, a vcenter-hq (HQ) and another vcenter-dr (disaster).

    I use SRM, almost everything works fine except one thing.

    When I try the vcenter-TA to execute the recovery plan I get error (recovery rest also works very well):

    'Run stimulus plan' failed with the following error message.

    faultCode:Server.Processing faultString:'

    An error has occurred during serialization server response (s).' faultDetail: 'null '.

    However, vcenter-Dominican Republic to vcenter-hq it works fine

    (See pictures attached)

    01.PNG

    02.png

    03.PNG

    04.PNG

    05.PNG

    reinstalling the recovery helped Sire Manager!

  • Cannot open Photoshop app error - this cannot run on your PC"'to find a version for your PC, check with the software publisher.

    I had a update to my Photoshop CC this morning, after having updated, I now have the following Windows message: "this application cannot run on your PC" 'to find a version of your PC, check with the software publisher. No error code not nothing. Anyone else is and you know what?

    No doubt sounds like something went kablooey; I updated my copy of CC PS this morning without any problems on Windows 10. Try a complete uninstall/reinstall again?

  • Need help with understanding explain plan

    Hi all

    I'm trying to understand the subject of the explain Plan, and while I was reading a document and from there I found one of the query that is below:

    Query

    SELECT A.customer_name,

    Count (distinct b.invoice_id) 'open invoices. "

    Count (c.invoice_id) "open invoice".

    Clients has,

    b invoices,

    c invoices_items

    WHERE b.invoice_status = 'OPEN'

    AND A.customer_id = b.customer_id

    AND c.invoice_id (+) = b.invoice_id

    A.customer_name GROUP

    Explain Plan

    See attached file...

    explain_plan.JPG

    I appreciate if someone explain this attached plan really explain in detail for my purpose of learning. Thanks in advance

    Concerning

    Muzz

    I'm trying to understand the subject of the explain Plan

    Excellent!

    I suggest you just started reading the book of Maria Colgan white "Explain the explain Plan".

    http://www.Oracle.com/technetwork/database/bi-Datawarehousing/TWP-explain-the-explain-plan-052011-393674.PDF

    This white paper examines the different lines, you will see in a plan and what they mean.

  • Cannot run the script generated with export Clip.

    I use AE CS6 and FCPX 10.0.7. I have imported the images in this way successfully before and have not changed or updated either of these programs since. Exporter of clip is up to date.

    Today, I created an XML of my calendar and trying to run the script generated from it, I get the error 'cannot run the script on line 22. WHEREAS"}

    I opened to the top of the script and 22 bed line editor ' comp [0] = {name: "Scenes of Kyle", w: 1920, h:1080, pasp:1.0000, hard: 39.7063, fps:23.9760, departure: 0.00001};

    Any help would be appreciated.

    The default is here:

    name: "Scenes of Kyle.

    For a shell script that reads as

    Kyle, scenes of s

    or be interpreted as noise and move the successive data so it would be interpreted wrongly. This is simply sloppy programming. It will have to be properly "escaped" to avoid the error:

    "Scenes of Kyle\".

    Contact the creator to fix his script and for the time being to use folder names that go without apostrophes...

    Mylenium

  • ASP - function Remote - error: cannot run the trigger

    Hello

    I tried to get my macros being run by a remote server.

    It's my function file remote named "remote_test_pc.asp":

    framework integrated; then

    conf t

    interface $INTERFACE

    Description macro $TRIGGER

    PC-VoIP-Port Description

    switchport access vlan $ACCESS_VLAN

    switchport mode access

    switchport vlan voice $VOICE_VLAN

    broadcast storm control level 1 k pps

    multicast storm-control level 2 k pps

    Storm-control action trap

    no event log status link

    bandwidth share SRR-queue 10 10 5 75

    form of bandwidth SRR-queue 10 0 0 0

    priority queue

    MLS qos trust dscp

    no link-status of snmp trap

    spanning tree portfast

    spanning tree enable bpduguard

    service-policy input PO_TRUST-PHONE

    output

    end

    FI

    framework integrated; then

    conf t

    interface $INTERFACE

    No description of macro

    Description by DEFAULT-CONFIG

    switchport mode access

    switchport access vlan 999

    broadcast storm control level 1 k pps

    multicast storm-control level 2 k pps

    Storm-control action trap

    spanning tree portfast

    No switchport voice vlan $VOICE_VLAN

    bandwidth share SRR-queue 10 10 5 75

    form of bandwidth SRR-queue 10 0 0 0

    priority queue

    MLS qos trust dscp

    no service-policy input PO_TRUST-PHONE

    FI

    output

    end

    FI

    And this is my config on the switch to mac-group and the macro:

    !

    macro auto Test group address-mac-PC

    Mac 0019.9990.5509 address list

    !

    comprehensive treatment of the auto macro

    macro auto control global detection mac address

    !

    automatic macro execution Test-PC remote ftp://192.168.1.11/remote_test_pc.asp ACCESS_VLAN = 123 VOICE_VLAN = 127

    !

    When I plug this workstation for the following syslog messages:

    Switch #.

    Remote_test_pc.asp loading!

    [OK - 1702/4096 bytes]

    Enter configuration commands, one per line.  End with CNTL/Z.

    Switch con0 is now available

    Press RETURN to get started.

    Error: Cannot run the trigger Test-PC, please check trigger exists and corresponds to the valid function

    26 September 11:45:37.755: % SYS-5-CONFIG_I: configured from console by console

    26 September 11:45:37.772: % AUTOSMARTPORT-5-INSERT: tty0(user id:): dispositif avec adresse mac 0019.9990.5509 détectées sur l'interface FastEthernet0/3, exécuté le Test-PC) Message

    Switch #.

    The port works as it should, but I wonder about the error message.

    The switch is 2960 with IOS 12.2 (58) SE2.

    Can someone explain what this means?

    Thank you very much!

    Sven

    Hi Sven,

    I think that you are not constantly getting this message... Ignore it for now... That have no functional impact... This has been supported in 15.0 (1) SE.

    Thank you

    Ankur-

  • Explain the explain plan

    decide to move to optimization soon. Book says join faster that the subquery in this example because the analyses involved. The "cost" to the subquery appears lower than the cost for the join. So it is confusing to me - aka How should I be interpreting this.

    Plan of subquery:

    image2.png.jpg

    join plan

    image2.png.jpg

    as you can see that the plan for the subquery has less than a cost. Could someone explain these outputs as to which application is more effective. I need to start somewhere.

    Thank you!

    The BEST way to get help when you ask questions is:

    1 ask questions on SPECIFIC things

    2. tell us EXACTLY what term, value, etc. ask abaout

    Book says join faster that the subquery in this example because the analyses involved. The "cost" to the subquery appears lower than the cost for the join. So it is confusing to me - aka How should I be interpreting this.

    OK - what BOOK are you talking about? There is not much interest to mention a book if you're not going to tell us which book it and provide a link to it and even a page number. This gives us the SCOPE of your question.

    This "cost for the subquery" are you talking about? Be specifc. It is in one of the plans that you posted? What plan? Whose cost is it? For example, you could say:

    I have a question for the foreground below. Why is the cost to the xx line lower than the cost of the second plan on line AA?

    This question refers CLEARLY to the info we're talking. The way in which you stating the question, we try to guess what plan and the lines you want to say.

    subquery plan:
    
    
    join plan
    
    
    as you can see the subquery plan has less of a cost. Could someone explain from these outputs as to which query is more efficient. I need to start from somewhere.
    

    Are you talking about line #1 in each of these plans?

    Please edit your post and tell us EXACTLY what you ask in the topic and refer to values and SPECIFIC lines. Also post a link to the book and a reference to a page number you got the information from.

    The optimizer generally chooses the REAL implementation with the lowest cost plan. It is not clear whether the plans that you have posted are ACTUAL spending plans that Oracle really determined and used or just explain plans.for what Oracle thought it might use.

    If the statistics are not up-to-date these plans do not yet reflect the reality of the data.

    And if the amount of data is a small number of blocks or other of these plans can run better than the other in reality.

    You can find this Oracle white paper "Explain the Plan explaining" useful

    http://www.Oracle.com/technetwork/database/bi-Datawarehousing/TWP-explain-the-explain-plan-052011-393674.PDF

Maybe you are looking for