Take advantage of NOLOGGING option

I am using ODP.NET to insert several million rows of data every night. This is generating a lot of log switches, it switches about every 2 minutes.
The database is in archivelog mode, but we have set the tables and indexes to NOLOGGING. However, there seems to be no change to the amount of logging generated. I am using the /*+ insert*/ hint, but that doesn't seem to help either.
I am am using array binding to insert 500 records at a time, too.
What can be done to make these inserts "direct inserts" so they do not generate logging??

Hi Brian,
The Oracle documentation is, in my opinion, misleading in regard to NOLOGGING and indexes. It has this to say:
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_5010.htm#sthref5118
logging_clause
Specify whether the creation of the index will be logged (LOGGING) or not logged
(NOLOGGING) in the redo log file. This setting also determines whether
subsequent Direct Loader (SQL*Loader) and direct-path INSERT operations
against the index are logged or not logged. LOGGING is the default.The confusing part is "This setting also determines whether subsequent Direct Loader (SQL*Loader) and direct-path INSERT operations against the index are logged or not logged." which would lead you to believe that DML operations against the index are not logged when the index is NOLOGGING. That is not the case however (as you've found out!).
Where I am, we do the drop, load, rebuild sequence. Primary key indexes or indexes used to enforce a unique constraint can't be dropped so you'd have to drop the constraint first then recreate it after loading.
Not pretty, but since indexes can't really be "appended" it makes sense.
Anyway, hope that is somewhat helpful and good luck,
- Mark

Similar Messages

  • How can take advantage of Windows 7 upgrade option?

    The Windows 7 Upgrade Option officially starts today that gives a free copy of W7 with Windows Vista PCs and Notebooks, and I wanted to find out how I can take advantage of this offer when buying from the Toshiba website?
    Thanks in advance.

    Hello
    Thats a good question I never thought about a new notebook and Windows 7 at the moment because its not released as yet.
    I know about this upgrade option and I have founded these links that could be useful for you:
    http://www.csd.toshiba.com/cgi-bin/tais/support/jsp/navShell.jsp?cf=Windows7
    http://laptops.toshiba.com/windows7upgrade-learnmore
    https://www.toshibawindows7upgrade.com/EndCustomer/FAQs.aspx
    Sorry but thats all that I can say at the moment. I hope thats interesting for you.
    Greets

  • In order to take advantage of the iPhone trade in, do I need to have met my upgrade eldigbility date, or do I just need to re-sign up for a new 2 year plan with the new iPhone 6?

    In order to take advantage of the iPhone trade in, do I need to have met my upgrade eldigbility date, or do I just need to re-sign up for a new 2 year plan with the new iPhone 6?

    thanks, a HUGE suggestion for you:  Please add that to the restrictions of the trade-in details online, it mentions that nowhere and is VERY deceptive.  Since at least 90% of 5c and 5s users are under a 2 year contract and both phones have been out just a year, there will be a majority of bitter customers who fell for the ad and will be taking advantage of the buy out options the other carriers are offering.

  • Want to take advantage of your promo for Creative Cloud. I am currently a member. Can I qualify?

    Want to take advantage of your promo for Creative Cloud. I am currently a member. Can I qualify?

    Hi Jlaite,
    Please go through the options & eligibility at
    http://www.adobe.com/products/discount-software-coupons.html?promoid=KAWQR
    http://www.adobe.com/products/creativecloud/faq.html
    Hope it helps you.
    Regards,
    Rajshree

  • Can FCE take advantage of 4 cores?

    I was wondering if Fce can take advantage of the 4 cores that the mac pro offers. If not, can it at least use 2? If so, can you use the remaining cores to do other tasks without affecting FCE? (Garageband, ect). Any advice would be appriciated. Would one reccomend using a mac pro for heavy FCE and livetpe rendering work as well as heavy idvd work (also, can idvd use multiple cores for proccessing data)?

    IMHO if your processing needs drive you to Final Cut on a Quad Core MacPro, you should be looking at Final Cut Studio, not Final Cut Express.
    That said, OSX including Tiger has always provided full symmetric multiprocessing (SMP) support and also handles assignment & management of multithreaded tasks to the processors. In the majority of applications users do not have the option of assigning specific tasks to specific processors.
    You can look at Apple's performance comparisons for FCP and quite a few other apps on quad MacPros vs. quad G5's. But don't get carried away by the numbers, remember that these comparisons were done in laboratory conditions. For what it's worth, an advertised 30% or even 50% increase in processing power doesn't impress me, between those being optimized comparisons and the reality that all sorts of factors (memory, for one) can eliminate the advantages of more or faster processors.
    I'd suggest you look at it this way - a quad core machine gives you much more computing power than a dual or single core machine; and that aggregate computing power is available to all the applications you run on it.

  • Trying to take advantage of lower data prices, VZW site says my plan no longer available.

    I moved our family plan to the "MORE Everything Unlimited Talk, Text, & 3GB" plan in December 2014. Now I'm trying to take advantage of the new lower data prices. When I visit My Verizon to change it, I see this message:
    Your current plan, MORE Everything Unlimited Talk, Text & 3GB, is no longer available. You may be eligible to add International & Global options without changing your plan by clicking on the 'International & Global' tab and submitting only those changes.
    If you would like to change your plan, please select from one of the available plan options below. Please note: If you change to a new plan below, you may not be able to go back to your previous plan.
    Instead I can choose the "3GB Unlimited Talk & Text" plan. What am I losing through this change? I can't seem to get a clear answer from the VZW site.

    As Weth said, the current price/data combos are no longer available, but you CAN take advantage of the NEW price/data combos.  You can keep the dame data package, for less $.  Or you can choose to kee[p your payment the same, but with increased data.  Either way is a better deal, and if the previous plan is no longer available, that's OK.  I got a better deal....
    I made the change, kept data the same and will see a $10 reduction in my bill.  You may make a different choice, but for many, the move will be positive.

  • HT1386 when i plug my iphone 4s into my computer is does not show in itunes,  When the menu comes up on my computer for what action I want to take it shows no options for itunes.  My phone worked before, Im not sure why it is not working now??

    I just recently tried to plug my iphone 4s into intunes.  It comes up with the menu of what action do you want to take.  My only options only involve photos and videos nothing to do with syncing or music.  When I open itunes it does not even show my device in itunes.  What do I do??

    uninstall itunes
    you may have to manually delete anything related to itunes in regedit
    reboot and reinstall itunes

  • How can I take advantage of the SPDIF out..?

    Hi all, as my subject says, can anyone recommend the best setup where i can take advantage of the spdif output in my imac?  I am setting up pro tools and/or logic 8 and want high fidelity sound i can with this great machine .
    Links with info would be great, I basically want to send the digital signal into to Yamaha self powered studio speakers.
    Is there a cable I can purchase by itself?
    Thanks for any help in advance.

    The cables can be found most anywhere.  For cables and adapters I always recommend searching www.monoprice.com first.  They have high quality cables for very good prices.  As an example search for TOSLINK at their site to find optical cables and related components.  It's where I got mine.

  • How to take advantage of parallel SQL select?

    Is it possible to take advantage of a parallel SQL select by specifying computations over the constituent subsets before they are consolidated? For example, suppose I have a very large table of sales employees, and I want to generate a sales report for each one in an efficient manner. Would it be possible to perform a parallel SQL select over the entire table, and pass each subset of employees to a report generation batch job? Or, perhaps this is a poor strategy and you have a better approach in mind.
    Thanks in advance for your reply.

    Parallel Query (PQ) is an Oracle feature that parallelises a vanilla standard SQL for you.
    In other words, when designing the SQL you do not design it for each parallel process processing a specific set of data.
    The CBO determines all that. Whether it can be done in parallel (not all SQL is equal and not all SQL can be executed using PQ). How many PX slaves from the PQ pool can be used/are available for use. What range of data each of the processes will be processing. Etc.
    Suggest you read Parallelize the Workload in the Oracle® Database Performance Tuning Guide.

  • Can PS CS 6 take advantage of a high RAM system

    Hi. I am thinking of investing in a workstation desktop built from oem components (since the components are quite cheap now). I have confgured a system on paper that has:
    Core i7.
    Dual NVIDIA video cards
    32 GB of DDR3
    Win 7 64 bit
    There is a lot of discussion on some computer building forums as to whether programs like CS 6 can take advantage of such large amounts of RAM. I myself have 8 GB of RAM on a Mac and notice that the kinds of images that I open cause CS6 to max out on whatever RAM it can take up (causing it to use swap space), causing operations like nudge and healing to take some time. Can CS6 take advantage of such vast amounts of memory and also the dual NVIDIA cards with Open CL?

    >> and also the dual NVIDIA cards with Open CL?
    2 cards, no, due to driver issues.
    SLI/multicard connections - no, those are intended for gaming acceleration only.
    A single card with multiple GPUs, yes.

  • Take advantage of caching in the browser

    It is such that I have taken a test on Google Page Speed insights and describing the more time that I need to looked at my "Take advantage of caching in the browser" on page
    I have azure and set CloudFlare SSL on all https page.
    Is there some code or other as do you in some way help since anything more.

    Hi Jesper,
    It seems that you have already found the solution in this case (http://stackoverflow.com/a/28650357):
    Since you are using CloudFlare, there's an easy way to specify settings for browser caching. From the CloudFlare admin panel go to Domain > CloudFlare Settings > Performance Settings > Minimum TTL. I generally set this to 1 month. 
    FWIW, personally I find www.webpagetest.org gives better feedback for refinements like this, it gives more detailed feedback of caching details for each individual resource. 
    If you have any difficulty in future programming, we welcome you to post in forums again.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • If syteem has 2 or 4 processors and when you install server 2012 do you have to make additional configurations to take advantage of extra processors?

    hi,
    1-whan I install eseentials server 2012 on a systeem with 2 processors , do I hav to make additional configurations to take advantage of 2 processors , or there is no need for any additional configuration?
    2- I ask the same question for standaard edition for example when I install this version on a systeem with 4 or 8 processors do I have to make additional configurations ? if yes what are those steps or configurations?
    thanks
    johan
    h.david

    Hi
    1- dont need any additional configuration for second processors.
    Essentials spec
    https://technet.microsoft.com/en-us/library/dn383626.aspx?f=255&mspperror=-2147217396
    2-no need also
    standard spec
    http://blogs.technet.com/b/matthts/archive/2012/10/14/windows-server-sockets-logical-processors-symmetric-multi-threading.aspx

  • Premiere Elements 8 doesn't take advantage of all my RAM

    Hi, I'm running Premiere Elements 8 on a Windows 7 machine with 8 GB of RAM. Elements usually runs fine when editing standard-definition video, but slows down badly with HD. But when I check the system processes, I see that Elements never uses more than 1 GB of RAM--even when it's really working hard. It's like there's some setting that is keeping it from using any more than that. How can I force Elements to take advantage of the rest of my available memory?
    Thanks.

    That would be right, Gavin. Premiere Elements is a 32-bit app and will only use, at most, about 2 gig of RAM.

  • Is Lightroom 4.4 and/or 5 made to take advantage of quad-core processor capabilities?

    Is Lightroom 4.4 and/or 5 made to take advantage of quad-core processor capabilities?

    In general: yes, whenever "possible".
    That said, some people have had problems with CPU utilization.

  • How do I take advantage of Adobe's $9.99 special for PS and Lightroom?

    I have already downloaded and installed PS CC successfully, but nothing has prompted me to install Lightroom.  LR doesn't even seem to be part of the CC app group.

    Hmmm, You take advantage of the offer? or is it the other way arund?
    I am interested to know how many people are jumping on this one. Since I own LR 5, why should I now pay a monthly fee? No discount for owners, but an incentive to get roped into a subscription.
    The ad says limited time offer, but when I chatted with a rep I was told that this would be an on-going service and that I would be able to renew next year at the same price. So, this tells me that it is NOT a limited time offer, but a way to move us away from the perpetual licence and into the monthly subscription service.
    I have very little need for Photoshop since starting to use LR.

Maybe you are looking for

  • Iphone 3gs will no longer play my recorded video's

    i downloaded just dance autodance app onto my iphone and everything was fine and normal now all of a sudden my recorded video's no longer play but still play the sound to it the just dance app works fine on my boyfriends iphone, i have tried removing

  • I got a new computer and loaded Firefox on it, but all my old Firefox favorites are gone. How do I get them back?

    I used Firefox on my old machine w/ Windows 2000, and had over 100 favorites for websites. I copied my favorites files from the old computer and then copied it onto the new one which is Windows 7. I thought it would have all my current favorites, but

  • No pop up on closing FireFox

    Since I updated to FF 5.0 and now FF 6.0 yesterday, I still do not receive the pop up notice/warming that "you are about to close several tabs, do you want to?" I've had this setting for a couple years now, I think. Probably since it was offered. I l

  • Provide print option on module pool screen

    Experts, There is a urgent requirement where in I have to provide PRINT option just as in standard SAP screens, on to my module pool screen, ie I need to provide a option in the menu of the module-pool screen,up on selecting it should work as in the

  • Resetting Roll Numbering

    Is there a way to reset or specify the roll numbers?