Append hint not working

Hi All,
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE    11.1.0.7.0      Production
TNS for Linux: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - ProductionI am expecting direct path insert from my INSERT with APPEND hint. But thats not working.
Non of the tables involved are nologging, nor they have parallel mode enabled (code given below).
So, I am expecting, serial direct path insert, with logging.
SQL> select * from table( dbms_xplan.display_cursor('fb1hftqrnm9cy') ) ;
PLAN_TABLE_OUTPUT
SQL_ID  fb1hftqrnm9cy, child number 0
INSERT /*+ APPEND */ INTO NEW_TABLE SELECT * FROM
OLD_TABLE WHERE PROCESS_DATE = :B1
Plan hash value: 3268711246
| Id  | Operation                     | Name                           | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | INSERT STATEMENT              |                                |       |       |   588K(100)|          |
|   1 |  LOAD TABLE CONVENTIONAL      |                                |       |       |            |          |
|   2 |   TABLE ACCESS BY INDEX ROWID | OLD_TABLE                      |  6078K|   446M|   588K  (1)| 01:57:44 |
|   3 |    BITMAP CONVERSION TO ROWIDS|                                |       |       |            |          |
|*  4 |     BITMAP INDEX SINGLE VALUE | OLD_TABLE_IDX1                 |       |       |            |          |
Predicate Information (identified by operation id):
   4 - access("PROCESS_DATE"=:B1)Here, you can see the actual SQL (with APPEND hint) and the plan showing conventional loading.
The process here is, OLD_TABLE is a non-partitioned table with bitmap index on process_date column. NEW_TABLE is a partitioned table, with local index and foreign key (enabled). The insert command is inserting data for a given process_date to NEW_TABLE.
What am I missing here?
Thanks in advance.

If table has a foreign key column, data cannot be loaded with direct path:
SQL> select * from v$version;
BANNER
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE    11.2.0.2.0      Production
TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
SQL> drop table tp purge;
Table dropped.
SQL> drop table tc purge;
Table dropped.
SQL> create table tp(px int primary key);
Table created.
SQL> create table tc(cx int, cy references tp);
Table created.
SQL> insert into tp values(1);
1 row created.
SQL> commit;
Commit complete.
SQL> insert /*+ append */ into tc select 1,1 from dual;
1 row created.
SQL> select * from table( dbms_xplan.display_cursor()) ;
PLAN_TABLE_OUTPUT
SQL_ID  7wr256fb8tz82, child number 1
insert /*+ append */ into tc select 1,1 from dual
Plan hash value: 1388734953
| Id  | Operation                | Name | Rows  | Cost (%CPU)| Time     |
|   0 | INSERT STATEMENT         |      |       |     2 (100)|          |
|   1 |  LOAD TABLE CONVENTIONAL |      |       |            |          |
PLAN_TABLE_OUTPUT
|   2 |   FAST DUAL              |      |     1 |     2   (0)| 00:00:01 |
14 rows selected.
SQL> --
SQL> --
SQL> drop table tc purge;
Table dropped.
SQL> create table tc(cx int, cy int);
Table created.
SQL> commit;
Commit complete.
SQL> insert /*+ append */ into tc select 1,1 from dual;
1 row created.
SQL> select * from table( dbms_xplan.display_cursor()) ;
PLAN_TABLE_OUTPUT
SQL_ID  7wr256fb8tz82, child number 1
insert /*+ append */ into tc select 1,1 from dual
Plan hash value: 2781518217
| Id  | Operation        | Name | Rows  | Cost (%CPU)| Time     |
|   0 | INSERT STATEMENT |      |       |     2 (100)|          |
|   1 |  LOAD AS SELECT  |      |       |            |          |
PLAN_TABLE_OUTPUT
|   2 |   FAST DUAL      |      |     1 |     2   (0)| 00:00:01 |
14 rows selected.
SQL>See also http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1211797200346279484#2096268200346987629.
Edited by: P. Forstmann on 14 nov. 2011 13:18

Similar Messages

  • Code hints not working in Flash CC

    I just downloaded the Flash CC trial and have been looking at the forums but I can't get code hints to work at all, when I begin to type a line I get "Building code hint cache" in bottom right of Actions panel with a warning icon - no more info available, no tool tip on rollover it apparently does nothing.
    I've looked for this problem in the forums and found many references to code hints not working and have tried all the support recommendations for deleting the CodeModel file, resetting preferences, deleting preferences, checking and unchecking preferences, changing the file cap in the registry and nothing seems to work - still no code hints at all.
    I'm on a windows 8 machine, I don't know if that has anything to do with it.

    SujaiS wrote:
    Hi Beadicakes,
    Have you saved your .as file  on the desktop of any common location with a large set of files? 
    -Sujai
    Hello Friends. I create simple button and when try to write simple addEventListener code hint don't work properly. I.e. when I write "Button1." code hint window don't popup. And when save project, only fla file have saved. No as files have saved.  Where is the location of the 'as' file??? This is the code of as3 file
    import flash.display.SimpleButton;
    import flash.events.Event;
    import flash.events.MouseEvent;
    Button1.addEventListener(MouseEvent.MOUSE_DOWN,go);
    function go(Event:MouseEvent):void
    trace("sdfsdfd");

  • Flash CS5 Update 11.0.1 Code hint not working

    My Flash Cs5 I was Update
    update say : version 11.0.1
    but i view About flash :  11.0.0.485
    and when I write some code : Code hint not working??
    anyone answer for me about this Update version??

    Hi,
    The binary (Flash.exe/Flash.app) were not modified in the update.  Thus, the binary version is still 11.0.0.485.
    As for the code-hinting not working, what code are you using?  Note, that the _mc, _xml, _array, etc. syntax no longer triggers code-hinting in Flash CS5 in ActionScript 3.0 documents.  If that's not what you are doing, can you please provide more information about what code you are using?
    Thanks,
    Nivesh

  • Help! Built in features/hints not working flash cs6. Need fix ASAP

    Loads of built in features are not working for me in Flash CS6. When I was using CS4 they did, now they aren't. I will give two examples. Say for example I am writing code in the actions window and I type "green_btn." in regards to the name of a button instance, what usually happens when I hit the "." immediately after "green_btn" a menu will pop up showing me every option I can pick, like green_btn.addEventListener() etc etc. There is usually a menu that comes up, but for me there is no menu. I have also created a button symbol, placed an instance of it on the stage, named the instance and tried it again (cs6 is supposed to recognize the "_btn" automatically and make the menu come up even if there is no button created, but I decided to create one just in case), and no menu pops up, still . Something is wrong here, it used to work for me when I had CS4 installed. Another example is if I am in the actions window again, and I type in a function like trace(); for example, you are supposed to be able to put your cursor infront of it, or highlight it and hit F1 and it will take you directly to the help page for that function. This does not happen as well. As I go on and on I seem to keep stumbling across all these built in features for convenience that are not working. And I know 100% that they are supposed to be, I am actually in a class right now for flash and I watch demo videos where it works perfectly. What is going on with mine? I have checked every possible preference and option, I have everything and I mean EVERYTHING up to date with the most current versions. I'm stuck, and I am getting really pissed off to be blunt, I need to fix this ASAP because it is going to affect my studies which are currently ongoing, I have deadlines to  meet and I am dicking around trying to fix this. PLEASE PLEASE HELP ME! Any suggestions and solution will be greatly appreciated on my behalf. If anyone helps me fix this I'll kiss you!!!!!!!!

    I increased the cache from 800 to 5000, is that sufficient?
    The .fla is saved to my harddrive
    still no code hinting. I also unchecked and rechecked the code hinting, and even did a reboot on my comp and still nothing.
    everything is updated, EVERYTHING, to the most current version available. I updated everything possible through the "Adobe Help Manager" and also through the help menu within the programs themselves; Help->Updates. I made slight progress with the help issue, in general settings withing the "Adobe Help Manager" I changed it to display local help only. So now when I initiate help by either right clicking, and then going to "view help" in the pop-up menu, or by hitting "FN+F1" (hp laptop) it brings up the flash_reference.pdf but it does not go directly to the function selected as it's supposed to. So maybe that isn't even progress...
    I watched the demo video for the course I am in, and it shows our instructor put the cursor immediately infront of trace(); (within the actions window) and go to help and it goes directly to the help section on trace, and then he also highlights trace(); and goes to view help and it does the same thing.
    I am also in touch with him (its an online course) to see if he can figure out it, and I am still waiting to hear back from him, but no one seems to know. I even contacted ADOBE today and got passed on to 3 different people only to be given the toll free 800 number because no one knows how to fix it.

  • Flash CS5 code hinting not working?

    Just installed the new Flash CS5 trial and code hinting doesn't appear to be working! I have added all my custom class paths in to the AS3 source paths, but I don't get any code hinting for any of these just the same old code hinting you get in CS4. Am I doing something wrong or does it just not work?
    UPDATE: If it helps, in the code editor i get a small yellow triangle with an exclamation mark in, in the bottom right hand corner. When I have over this it advises me:
    " *** Unable to build code hint cache. Please save the associated FLA into a different folder. There are too many files on the classpath. *** "
    This error message appears no matter what FLA/Class i open, and moving it makes no difference.
    UPDATE: Problem solved, the "There are too many files on the classpath" was the clue! Slimmed down my library and all seems to work now.
    However, this does bring me on to another question.. does anyone know how many class files flash can comfortably cache? I use some fairly chunky libraries in my work and am wondering if i'm going to find myself constantly slimming them down after a while?

    The reason everyone gives for AS3 is that AS2 was buggy.
    I don't think so. AS3 is a better language, better designed, more consistent, more powerful. I would switch to AS3 for that, not because of bugs - but I don't know what's the reason behind everyone's choice.
    AS2 was not buggy, people were writing buggy scripts
    AS2 was buggy. Maybe people were writing buggy scripts too, but believe me it was buggy. However AS3 is at the very least equally buggy. It is better designed, more consistent, but equally buggy in its implementation.
    All software have bugs, but programming languages usually undergo a stricter and more thorough revision than other kinds of sofware because the consequences of bugs in a programming language are more disastrous.
    But that's not the case of ActionScript. Maybe because of its history and its legacy, or maybe because Adobe was always dedicated to completely different kinds of software, like PhotoShop, Premiere and the like, and suddenly dove into the business of developing a programming language without having the know-how.
    The level of bugginess of ActionScript is amazing. I work with actionscript daily and there's no day that I don't run 4 ot 5 times into some problem due to some bug. Not that I discover new bugs every day, just run into them - sometimes they are already reported, other times they are not.
    Why should something that took one line of code (clicking on a movieClip
    to move to a frame) now take 5 or more lines of code (creating a
    listener object, assigning a listener object, writing a function).
    It often happens that a language that is in the overall more elegant, consistent and compact, turns out to need a bit more of code for doing the simplest things. Maybe what could be done with 1 line of code now takes 5, but things that took 1000 lines of cumbersome awkward tricky and hacky code can now be done with just 100 of readable and simple-to-understand code.
    When I first learned Java I was surprised at the quantity of code I had to write just to make a program that would print "hello world", while in most dialects of Basic it was just:
    10 PRINT "Hello world"
    Would you say Basic is superior to Java in any sense?
    I teach Flash at a university, both beginner and advanced users. [...]
    I'll stick to AS2 in my classes.
    You should think about the damage you may be doing to your students. If they are going to use ActionScript professionally, they'll have to learn AS3, rather sooner than later. So why not save them the pain to do the effort twice? If instead you are teaching them AS just for didactic purposes (i.e. for learning programming in general) and don't care about practical applications and you don't like the way AS has evolved (i.e. AS3), then consider teaching them another language, instead of an obsolete version of a current one.
    AS3 is not more complicated, or difficult to learn, or less designer-friendly or non-programmer-friendly than AS2. Not at all; rather the opposite. It is more complicated and difficult to learn when you already know AS2, because you feel like everything you knew is useless - but the same can be said about learning AS2 when you already know AS3. Starting from scratch, AS3 is indeed simpler.
    But this have drifted OT, sorry. Back to the topic:
    It's not an app killer, just a minor inconvenience
    It's a major inconvenience if writing the same amount of code takes you three times the time it should take. That in 2010 you have to spell every single property/method/class name entirely from the first to the last letter, when most of the time it should be just a matter of typing a couple of characters and hit tab, is simply ridiculous. You may as well write your code with NotePad. Flash is (among other things) an IDE - something Adobe seemed to neglect up to recently; and when they finally decided to take a step into making it work like any other decent IDE, it does not work!!
    There are bigger things to complain about.
    On this you are definitely right.
    Using their pretty remarkable products (where would we be without PS or
    DW?) is not a right, it's a (sometimes frustrating) privilege.
    It's a privilege you pay for. That's when it becomes a right.
    So Adobe mods, we're frustrated but only because we're all loyal users who depend on your products
    (emphasis is mine)
    Exactly. That's the point.
    Note there's been no helpful answer from them yet: that's how much they care about loyal users who depend on their products.

  • HTML5 code hinting not working inside Javascript Function on DW CS6

    Hi,
    I am working on Dreamweaver CS6 and code hinting isnt working as expected when writing Javascript code.
    The minute I insert a function the code hinting doesnt display HTML5 items anymore.
    Should I remove the function then the HTML5 hinting reappears.
    How do I get the code hinting to work when I add in the function?
    Thanks
    Herman

    Herman Kramer wrote:
    Thanks for this. Please keep me posted if this is a bug or not.
    For now it does look like a bug. Let's wait for someone from Product team to revert.

  • Flash Code Hinting not working

    I cannot seem to get code hinting working for flash (not flex) packages in Flash Builder Professional.
    Code hinting is working for some some packages, but it doesn't include the the Flash specific packages (flash.*).
    My Referenced Libraries includes playerglobal.swc, flash.swc, ik.sec, PffLib.swc, tlfruntime.swc, and textLayout.swc.  None of these swc's seem to have the flash package included (i'd expect to see it in the flash.swc).
    I have tried several attempts to create new workspaces, new projects, but nothing seems to fix it.
    I am using the Flash Builder Plugin with Eclipse 3.5.2.  I also have the Master Collection installed.
    Is this even possible in Flash Builder?
    Thanks
    N8

    The biggest problem is that i don't have code hinting for the flash package.  For example, when attempting to create a new variable of data type flash.events.Event.  i do not get code hinting for the packages or classes within those packages.

  • Code Hinting not working for WordPress

    Hi Guys,
    I followed instructions on Adobe official site to install XAMPP and then create a wordpress project on CS6.
    I followed instructions in: http://www.adobe.com/devnet/dreamweaver/articles/dw_wordpress_pt2.html
    I realized that code hinting is not as good as the other IDEs.
    Can anyone please help?
    Many thanks,
    Kim

    I want to use code hinting for php coding. I followed steps posted on adobe. But when I press Crt + Space, it says "Systax error, need to fix so code hinting can work properly"
    <?php "I press Crt+Space from here"
    Regards,
    Kim

  • Display hints not working after migration to 9.03.

    Has anyone experienced a problem with the display hints not rendering once migrated from 9.0.2 to 9.0.3? I can see the hints in the properties of the attributes, but they are not rendering.
    Thanks,
    Aaron Haimovitz

    Figured it out, do not remove the ##Column entry in between the hint tags!

  • FileWriter with Append does not work on Solaris

    I am appending to a file. I use FileWriter it it works fine on windows but when I move to a solaris server, the information is not appended. Every time the file is newly opened, it overwrites? Any ideas out there?
    FileWriter out = new FileWriter(FileName,true);
    out.write(" 10");
    out.close();
    When I run this section multiple times on a windows pc it appends correctly. On my unix/solaris server the information is overwritten.

    I am appending to a file. I use FileWriter it it
    works fine on windows but when I move to a solaris
    server, the information is not appended. Every time
    the file is newly opened, it overwrites? Any ideas
    out there?
    FileWriter out = new FileWriter(FileName,true);
    out.write(" 10");
    out.close();
    When I run this section multiple times on a windows
    pc it appends correctly. On my unix/solaris server
    the information is overwritten.I really don't believe you. I believe instead that you have mis-diagnosed the actual problem.

  • Code hints not working

    Dreamweaver CC 2014 on Mac Mavericks 10.9.5
    The first level will come up (with the initial list of all the tags available) but no further activity either automatically or with ^space. "Enable Code Hints" is checked in preferences. Restarting system does not help.
    Without help with the tags it might as well be a text editor if you work in the code view.
    EDIT>>  Just discovered this problem is specific to one of my defined sites. It works in a different site. Will try to set up site again.
    UPDATE>> Setting up a new site will work for a little while and then stop working.

    Check your code for errors. DWCC goes nutty, well nuttier anyway, than older versions when it runs into code issues...
    http://validator.w3.org
    Also, CC tends to not give options in hinting if what you're trying to add would be invalid for the document type. If you try to add <cfdirectory> to a .html for example, no <cf...> tags will hint at all because they don't belong in a .html document.
    If none of that helps, try clearing the program cache: Deleting a corrupted cache file

  • Close Tags and other code hints not working after installing Dreamweaver 2014

    I'm working on a windows machine.  All the code hinting features where working on previous installations, but they're not on 2014.  I'm not sure if it's a bug or something was changed and I have to turn the features on somewhere other than the Code Hints settings?

    Try re-starting CC2014.
    Nancy O.

  • Site specific code hinting not working

    Dreamweaver CS6
    I included the dw wordpress code hinting to a site I'm working on my local server. when I <?php then ctrl spacebar wp nothing comes up. w is fine but that's not wordpress specific.
    I have it working on another site in a different directory, but can't seem to get it working on this one. Anybody have any idea what the problem may be?
    Thanks

    Hi John,
    Thanks for the tips. I tried every single one of them to no avail.
    I finally got it to work by uninstalling and reinstalling Dreamweaver.
    I appreciate you taking the time to answer my question and am so happy that one way or the other it works!
    Jennifer

  • Bin32-firefox font hinting not working, other bin32 apps look fine

    I need bin32-firefox (http://aur.archlinux.org/packages.php?ID=18644) for development and Citrix (I'm aware of the nswrapperplugin for 64bit Firefox- this doesn't work very well for me). Anyway, fonts look rough and jagged, like the hinting isn't being applied. Strangely, it works just fine with bin32-skype, Amazon MP3, Acroread, etc.
    Any ideas on why this may be occurring and where I should look? I have tried switching to a new profile with the same results (didn't think this would work- but it is a strange problem).
    I'm currently using the latest Ubuntu LCD packages (both native 64 and 32 bit). I'll post a screen shot when I'm at home later today in case what I'm saying needs a picture :)
    Thank you in advance for any ideas or solutions,
    Last edited by jskier (2009-12-22 12:17:43)

    bangkok_manouel wrote:I guess the only option you have is to build Firefox from source. So that means you'll need to chroot in a 32-bit install anyway so you can drop the bin32-* "mess". I guess you're aware about this but just in case you're not, IIRC there's a nice wiki article on how to do that. Found it: http://wiki.archlinux.org/index.php/Arc … bit_system
    Indeed aware of that; when I came to the fork in the road I took the road more traveled
    I'll probably just use my Windows XP vbox session for the time being since I prefer bin32 and it works for 95% of everything else

  • Universe hints not working

    Hi,
    I am facing performance issue while execute BO report against universe using Oracle database.
    I have applied hints to universe at connection level as custom parameter.
    But when i try to create any report. hints is not appearing in report queries.
    Expected : Select /hints/ Ob1,Ob2 from Table1
    Actual : Select Ob1,Ob2 from Table1 (No hints is appearing)
    Could you please help?
    Thanks.

    Hi Ram Babu,
    Thanks for your reply.
    When i create the hint at object level, i need drag the object first in each report ( even it required or not i need to drag). I am expecting the hint irrespective of objects is there any other way to get the hints.
    I have so many objects in my universe, it is not possible to create the hint for each object.
    Anyone please help........
    Thanks,
    Shahin.

Maybe you are looking for