Explain plan not working

When I run the explain plan by pressing F6 or the execute explain plan button I get the message "Failed to query plan_table" "invalid column name".
However I can do a select * from plan_table
I'm using version 1.5.4 with the latest patch set.
Any ideas?

Getting an invalid column name when performing an explain plan suggests that you have an old plan table structure, compared to what SQL Developer is expecting for your DB version. This can easily happen where your DB has been upgrade without keeping the plan table up to date.
Do you get any "old plan table" messages if you execute the "select * from table(dbms_xplan.display_cursor);"?
theFurryOne

Similar Messages

  • Explain Plan not working with 919, was working with 804

    Hi,
    Explain Plan (F6) was working cprrectly with Raptor 804 and is not working any more on 919. This is the same query exactly (select * from mytable). The server is 9.2.0.5.0. The result with 919 is "Invalid Column Name".
    Regards
    Eric

    I get this too.
    The plan table structure is
    CREATE TABLE "ELX"."PLAN_TABLE"
       (     "STATEMENT_ID" VARCHAR2(30),
         "TIMESTAMP" DATE,
         "REMARKS" VARCHAR2(80),
         "OPERATION" VARCHAR2(30),
         "OPTIONS" VARCHAR2(30),
         "OBJECT_NODE" VARCHAR2(128),
         "OBJECT_OWNER" VARCHAR2(30),
         "OBJECT_NAME" VARCHAR2(30),
         "OBJECT_INSTANCE" NUMBER,
         "OBJECT_TYPE" VARCHAR2(30),
         "OPTIMIZER" VARCHAR2(255),
         "SEARCH_COLUMNS" NUMBER,
         "ID" NUMBER,
         "PARENT_ID" NUMBER,
         "POSITION" NUMBER,
         "COST" NUMBER,
         "CARDINALITY" NUMBER,
         "BYTES" NUMBER,
         "OTHER_TAG" VARCHAR2(255),
         "PARTITION_START" VARCHAR2(255),
         "PARTITION_STOP" VARCHAR2(255),
         "PARTITION_ID" NUMBER,
         "OTHER" LONG,
         "DISTRIBUTION" VARCHAR2(30)And raptor seems to be issuing this
    PARSING IN CURSOR #2 len=82 dep=0 uid=80 oct=50 lid=80 tim=3808125826 hv=1796199517 ad='17ebc98c'
    EXPLAIN PLAN SET STATEMENT_ID ='4363' INTO PLAN_TABLE FOR select * from collection
    END OF STMT
    PARSE #2:c=0,e=742,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=4,tim=3808125815
    BINDS #2:
    =====================
    PARSE ERROR #3:len=480 dep=1 uid=80 oct=2 lid=80 tim=3808128369 err=904
    insert into "PLAN_TABLE" (statement_id, timestamp, operation, options,object_node, object_owner, object_name, object_instance, object_type,search_columns, id, parent_id, position, other,optimizer, cost, cardinality, bytes, other_tag, partition_start, partition_stop, partition_id, distribution, cpu_cost, io_cost, temp_space, access_predicates, filter_predicates ) values(:1,SYSDATE,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18,:19,:20,:21,:22,:23,:24,:25,:26,:27)
    =====================cpu_cost, io_cost, temp_space, access_predicates, filter_predicates seem to be invalid
    Message was edited by:
    smitjb

  • Explain plan not available in dba studio

    Hi, guys,
    Why the explain plan not available in my dba studio with a message like this "explain plan not available for this sql statement. ora-02195: attempt to create permanent object in a temporary tablespace"
    Another question: I can use "set autotrace on" to trace sql statement in sql*plus window. But the final execution plan come up without those thing like cost, cardinality but only the steps
    Thanks for your help
    jim

    Was this a trace started on an already running task? Was the trace stopped before the task completed? Did the trace file reach its set size limit before the task compled?
    In all three cases above you would have cursors that were not closed and stats information not written to the trace file resulting in incomplete data for some SQL.
    HTH -- Mark D Powell --

  • Why the content of the Explain Plan not show out?

    Why the content of the Explain Plan not show out?
    I am using Oracle 11g.
    I already ran the utlxplan.sql sctipt and I also set serveroutput on.
    SQL> set autotrace on
    SQL> EXPLAIN PLAN FOR SELECT*FROM DEMO_TABLE WHERE OWNER='HR';
    Explained.
    Elapsed: 00:00:00.67

    When you say:
    My release 10.2 database display the Explain Plan automatically.
    How to make 11.1.0.6 Oracle database to display the Explain Plan automatically.What do you mean? Specifically, what commands are you executing in the 10.2 database, that displays the execution plan "automatically"?
    Are you saying that if you execute the same command in 11.1.0.6, you don't get a similar result? What happens? Do you get an error?
    For both the 10.2 case and the 11.1.0.6 case, post the full output of the commands you're executing, and the result you are seeing.
    Then, maybe someone can help you.
    When you post the output, please encapsulate it in a pair "code" tags, which is the word "code" without the quotes, surrounded by a pair of curly braces {}.
    When you do this correctly, the output looks like:
    This is output from my execution plan run.and is much easier to read.
    Don't be afraid to use the preview tab to see if your message will be posted with the correct formatting.
    -Mark

  • Global Data Plan not working in the Netherlands

    I called customer service a week before my trip and arranged for the $30 "Global Data" plan to begin April 1. I have been unable to get a data connection here in the Netherlands and e-mails to customer service have gone unanswered. I cannot see anything on my account to indicate whether this has ever been activated.
    By poking around the settings and setting the data networks to GSM I've been able to see Vodophone, T-Mobile, and KPN listed, but if I try to connect to any of them I get an error that indicates I cannot connect to them.
    Can anyone provide some advice on how to get this working? I was really relying on this to help with getting info on places to visit and it's proving a pretty difficult trip when having to rely on free wifi spots to make up for this.

        roninacolyte,
    Greetings from the states! To be honest, the Thunderbolt will not work in Hong Kong. You can check out our trip planner for future reference at http://vz.to/n9PFe9
    EvanO_VZW
    Follow us on Twitter @VZWSupport

  • Explain plan not displayed in sql trace file

    Hello,
    I don't understand why in sql trace file, after tkprof transformation, for several queries the explain plan is displayed and for several queries, no explain plan is displayed.
    How can I have the explain plan for all queries?
    Thanks for your help.

    Was this a trace started on an already running task? Was the trace stopped before the task completed? Did the trace file reach its set size limit before the task compled?
    In all three cases above you would have cursors that were not closed and stats information not written to the trace file resulting in incomplete data for some SQL.
    HTH -- Mark D Powell --

  • EXPLAIN PLAN not showing no of records

    Rows column in the TKPROF output shows zero columns. The same works fine at sqlplus level, when autotrace set to ON.
    Explain plan looks like below:
    Rows Execution Plan
    0 SELECT STATEMENT GOAL: ALL_ROWS
    0 WINDOW (SORT)
    0 HASH (GROUP BY)
    0 MAT_VIEW ACCESS (BY INDEX ROWID) OF 'FII_AR_NET_REC_BASE_MV'
    (MAT_VIEW)
    0 NESTED LOOPS
    0 MERGE JOIN (CARTESIAN)
    0 TABLE ACCESS (FULL) OF 'FII_AR_SUMMARY_GT' (TABLE
    (TEMP))
    0 BUFFER (SORT)
    0 INLIST ITERATOR
    0 TABLE ACCESS GOAL: ANALYZED (BY INDEX ROWID) OF
    'FII_TIME_STRUCTURES' (TABLE)
    Can someone help me here ?
    Thanks.

    Hi,
    it's becuz of when u execute query twice its no I/O .data are already in buffer pool.
    Thanks
    Reena

  • HT1751 3G Data plan not working in iPhone5 after download of iOS 7.0.3

    After I downloaded iOS 7.0.3 Data plan is not working in my iPhone5; I tried resetting network; powered down and powered on; switched off LTE, airplane mode on and off; Cellular Services on and off, nothing seems to work.  Should I try Total Reset? (of course after backing up in iTunes)?

    Hello High Energy,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/TS3780
    Ensure that your software is up to date:
    Check for a Carrier Settings Update. Tap Settings > General > About.
    Check for an iOS Software Update. Tap Settings > General > Software Update.
    Note: Some updates may require a Wi-Fi connection.
    Remove the SIM Card and reinsert it. Allow the iPhone to acquire the network again.
    If your SIM card has SIM PIN enabled, try toggling it off: Tap Settings > Phone > SIM PIN.
    Try another location. If a different location works, but the original location still does not, contact your carrierto report the issue.
    Reset network settings: Tap Settings > General > Reset > Reset Network Settings.
    Restore the iPhone as new.
    Best of luck,
    Mario

  • Maintenance plans not working

    We have SQL server 2008 r2 and though the maintenance plans initially worked as they should, they stopped working when we installed SSRS. When I try to do almost anything with any of the plans, I get this error:
    TITLE: Microsoft SQL Server Management Studio
    Could not load file or assembly 'msddsp, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. (Microsoft.DataTransformationServices.Design)
    These are the version details of our server:
    Microsoft SQL Server Management Studio      10.50.4000.0
    Microsoft Analysis Services Client Tools      10.50.4000.0
    Microsoft Data Access Components (MDAC)      6.1.7601.17514
    Microsoft MSXML      3.0 6.0
    Microsoft Internet Explorer      9.0.8112.16421
    Microsoft .NET Framework      2.0.50727.5448
    Operating System      6.1.7601
    I have researched this and have been nowhere near a true solution to this thus far.  Additionally, I am leaning toward simply reinstalling the whole management studio, but I have MANY SSRS reports that I simply cannot afford to lose or compromise. 
    Any thoughts on how to finally fix this problem that I am having will certainly be appreciated.
    -Chris

    Hi Chris,
    The above error occurs if the msddsp.dll is not available in the Global Assembly Cache (%windir%\assembly\) or if the dll was not properly registered. To work around this issue, please follow below steps.
    1. If you encounter this error when using the SQL Server Management Studio (SSMS) on an IA64 machine, please install it on a different, non-IA64 machine and administer the SQL Server instance remotely. And make sure that SQL 2008 R2 client tools are installed
    as the same version &pacth level as the SQL Server instance.
    2. If you encounter this error when using the SSMS on an non-IA64 machine, check if msddsp.dll exists on your system. If it doesn’t exist, follow step 7 in the
    KB article to install it into the GAC .
    3. Check that if the .NET Framework is corrupted on your system if the issue still persists after performing above steps . You can verify the installation state of the .NET Framework via the
    .NET Framework Setup Verification Tool. If the .NET Framework is corrupted, please
    repair it using
    .NET Framework Repair Tool.
    Reference:
    http://solveissue.com/note?id=1596753
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Explain Plan not showing correct results.

    Hi Gurus,
    Please help me to understand below issue.
    Whenever I am doing explain plan on any of the sql statements it says as explained but when retriving the explain plan output it shows same results again and again.
    DB - 11gR2 Stand alone
    ASM - Configured.
    OS - RHEL 6.2.
    SQL> select count(*) from t2114;
    COUNT(*)
    639292
    SQL> explain plan for select count(*) from t2114;
    Explained.
    SQL> @?/rdbms/admin/utlxpls.sql
    PLAN_TABLE_OUTPUT
    Plan hash value: 1497650422
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 6634 | 524K| 2993 (19)| 00:00:01 |
    | 1 | SORT ORDER BY | | 6634 | 524K| 2993 (19)| 00:00:01 |
    | 2 | TABLE ACCESS BY INDEX ROWID| T2210 | 6634 | 524K| 2947 (17)| 00:00:01 |
    |* 3 | INDEX RANGE SCAN | T2210_T | 6842 | | 108 (22)| 00:00:01 |
    Predicate Information (identified by operation id):
    3 - access("T2210"."C490008000"=:SYS_B_0 AND "T2210"."C490009100"=:SYS_B_2
    AND "T2210"."C301363300"=TO_NUMBER(:SYS_B_1))
    16 rows selected.
    SQL> explain plan for
    2 SELECT T2114.C1 FROM T2114 WHERE ((T2114.C1000000001 = :"SYS_B_0") AND (T2114.C536871442 = :"SYS_B_1") AND (T2114.C536871477 = :"SYS_B_2") AND ((:"SYS_B_3" - T2114.C3) >= :"SYS_B_4") AND ((:"SYS_B_5" - T2114.C3) <= :"SYS_B_6") AND (T2114.C1000000217 LIKE :"SYS_B_7") AND (T2114.C536871478 < :"SYS_B_8")) ORDER BY C1000000161 DESC, :"SYS_B_9" ASC;
    Explained.
    SQL> SELECT * FROM TABLE(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 1497650422
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 6634 | 524K| 2993 (19)| 00:00:01 |
    | 1 | SORT ORDER BY | | 6634 | 524K| 2993 (19)| 00:00:01 |
    | 2 | TABLE ACCESS BY INDEX ROWID| T2210 | 6634 | 524K| 2947 (17)| 00:00:01 |
    |* 3 | INDEX RANGE SCAN | T2210_T | 6842 | | 108 (22)| 00:00:01 |
    Predicate Information (identified by operation id):
    3 - access("T2210"."C490008000"=:SYS_B_0 AND "T2210"."C490009100"=:SYS_B_2
    AND "T2210"."C301363300"=TO_NUMBER(:SYS_B_1))
    16 rows selected.

    Hi Dom,
    Thanks for your immediate response.
    I am getting two values for PLAN_TABLE. Please let me know if we need to drop any of them??
    SQL> SELECT *
    FROM all_objects
    WHERE object_name = 'PLAN_TABLE'; 2 3
    OWNER OBJECT_NAME SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE EDITION_NAME
    PUBLIC PLAN_TABLE 5127 SYNONYM 17-SEP-11 17-SEP-11 2011-09-17:09:47:47 VALID N N N 1
    ARADMIN PLAN_TABLE 219426 219426 TABLE 07-APR-13 07-APR-13 2013-04-07:23:01:12 VALID N N N 1

  • Maintenance plan not working properly

    Hi,
    I created the following maintenance plan:
    the database backup part of this completes without issue but the cleanup task, which is supposed to delete any files that have the extension .bak and are greater than 1 day old does not happen. I created a test maintenance plan with just the cleanup task
    and it worked without issue. Might I be missing something?
    Cheer
    Paul

    Hi Paul,
    How do you configure the Back Up Database Task? According to the screenshot in your original post, it seems that you have selected “Back up database across one or more files” option and appended the existing database backup file, right?  If so, the
    existing bak file will be updated each time the package runs, and it won’t be cleaned up. To clean up the bak file, you need to select “Create a backup file for every database” option instead.
    If you already selected the "Create a backup file for every database" option and the issue persists, please double check the Back Up Database Task to make sure the “Create a sub-directory for each database” option is not checked as Olaf suggested.
    Regards,
    Mike Yin
    TechNet Community Support

  • UC540 Dial-plan not working

    Hi All,
    i have UC540 installed with 2 FXO cards connected to them 8 Analog lines the end user requirement to block outgoing calls form all phones except operator phone i apply the call permission for all phone as internal but they still can dial out .i have two rules one for local calls and one for international calls.
    how can i block the out going calls for all phones expect operator.
    thanks
    Moe
    note :config file attached

    Hello Moe,
    Reviewing your configuration, it looks like the corlist is configured correctly. Generally speaking, for cor to work you need:
    1. Cor custom list
    2. Actual list of cors to apply to the dial peers
    3. The cor's linked to a dial peer
    4. The cor's linked to the ephone-dn
    dial-peer cor custom
    name internal
    name local
    name local-plus
    name international
    name national
    name national-plus
    name emergency
    name toll-free
    name internal_second_line
    name local_second_line
    name local-plus_second_line
    name international_second_line
    name national_second_line
    name national-plus_second_line
    name emergency_second_line
    name toll-free_second_line
    name international_second_line_FAC
    dial-peer cor list user-internal
    member internal
    member emergency
    dial-peer voice 60 pots
    trunkgroup ALL_FXO
    corlist outgoing call-local
    description **CCA*North American-7-digit*7-Digit Local**
    translation-profile outgoing OUTGOING_TRANSLATION_PROFILE
    preference 5
    destination-pattern 9[2-9]......
    forward-digits all
    no sip-register
    ephone-dn  281  dual-line
    number 206 no-reg primary
    label ******
    description ******
    name************
    call-forward busy 399
    call-forward noan 399 timeout 20
    corlist incoming user-internal
    translation-profile incoming CallBlocking
    Cor configuration guide: http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a008019d649.shtml
    Are you using CCA or CLI to configure this UC? What version of IOS is on the UC? If you are using CCA, what version?
    Thanks,
    -john

  • Database Resource Plan not working...

    DbVersion: 10.2.0.4
    For some reason my resource plan is not taking effect. I've created 4 resource consumer groups. I've created a plan utilizing these consumer groups. The plan is enabled and is the top plan. The resource_manager_plan parameter is set to: FORCE:MYPLAN and I've also tried setting it to "MYPLAN" only.
    The Consumer Group mappings have been set at the service level. So depending on the database service you're connecting via you should be using a particular consumer_group.
    The problem is that everyone that connects regardless of what service they are using is routed to use the "OTHER_GROUPS" group (except for the sys and system users).
    I find this information with the following query:"
    SELECT USERNAME,SERVICE_NAME,RESOURCE_CONSUMER_GROUP FROM GV$SESSION;
    What am I missing? Do I need to bounce the database or something in order for a resource plan to take effect?

    user600345 wrote:
    Do I need to bounce the database or something in order for a resource plan to take effect?Not sure if restart of database will help.
    Some Documentation maybe helpful
    [Resource Part 1 | http://www.databasejournal.com/features/oracle/article.php/3296961/Oracle-Database-Resource-Manager-Part-1Overview.htm]
    [Resource Part 2 | http://www.databasejournal.com/features/oracle/article.php/3309981/Oracle-Database-Resource-Manager-Part-2-Resource-Plan-Management.htm]
    SS
    SS

  • Hi Plan not workinG

    Hi i don't if this is the correct place i have been charged for my 400min plan and it won't work, i'm using my own credit i was charged on the 18th, and on the my account i can read that minutes would start on tge 21th , today. What should i do?

    Is it working on Wi-Fi ?

  • 3 month USA Subscription Plan Not Working - I can'...

    Hello,
    I recently purchased an online number and a 3 month USA subscription, however whenever I try to make an outgoing call (to a mobile number and or landline) from my laptop or my Android phone it says I do not have any skype credit.  I don't understand why I am getting this error message since I purchased a 3 month subscription plan.  Please assist.
    Thanks,
    Lena

    Hi Lena,
    I can see you have purchased an Online Number, not a subscription. Online Number allows you to receive calls from mobiles and landlines on your Skype account.
    You can start a subscription purchase from the following page:
    http://www.skype.com/intl/en-us/prices/pay-monthly​/#US

Maybe you are looking for

  • Can I make a purchase with my bank account through paypal?

    Hi guys just wanted to know if I can make a purchase on iTunes/App Store with paypal but having my bank account as the primary funding source? Anyone tried this? Reason I ask this here is for a quick response 'cause I can't wait till Apple Costumer S

  • Validation error while creating Web Service Proxy.

    Hi, I'm trying to create Web Service Proxy. But I'm stuck with a Validation error model error: type +"{http://xmlns.oracle.com/2001/XMLSchema/DOM}+ +org.w3c.dom.Document" not found.+ I'm using "Create Web Service Proxy" wizard. There are 6 steps in c

  • How to read and write Unicode text with MS Access?

    Hi all, I'm new to Java, so please forgive me if my question is too ... ^_^ I'm writing a small program that read and write data with MS Access. However, when I insert Unicode text into the database, it has wrong encoding like this "h?y l? n?m". Plea

  • My MacBook won't login as the keyboard isn't responding normally

    On starting up my MacBook, the keyboard isn't responding correctly so I can't log in on any profile configured. The passwords are known but I don't think what is being typed is actually being recorded.... Can you help? AGSpartacus

  • Genius Results Can't Be Updated Now. Unknown Error has Occurred. (4010)

    I have all my music stored on a NAS drive. Access to the NAS is through a wired network. (no wireless). I just upgraded to iTunes 8, tried running Genius and I get the above error. All the time. Anyone have any ideas how to fix this?