Any idea on Enhance commit usage ?

Hi
Due to some performance related issues I have to use enhance commit .
I need to do intermittent commits --( I know it is not okay but rollback segment is too small ) for every 1000 records
the prev code was somewhat like
begin
for i in ( select * from table)
loop
do some calculations .....
then do an update on table 2 ...
then do an insert on table 3 .
if counter = 1000 then
commit; counter:=0;
else counter:=counter +1;
end if ;
end loop;
commit;
end ;
Now DBA has asked to use enhance commit to better performance as otherwise parallel users are facing issues .
I can then use commit write nowait or commit write immediate .
Can anyone help on this ?
Should i replace commit with enhance commit ?
Or should i add an enhance commit in the loop after the update?
SHUBH
Message was edited by:
SHUBH

Before using that method (intermittent commits inside a fetch loop), I will rather design and code a thread-safe parallel enabled process.
Which means that the process an be run via a loop, where on each iteration that process finds a new unique set of unprocessed rows to process. Or that multiple copies of the process can be started concurrently, without one treading on another.
I fail to see any sensible technical argument for writing code with intermittent commits in PL/SQL.

Similar Messages

  • Any idea when Tech Comm Suite will release?

    I've got a print and help project starting in November, and
    I'd love to start it using FrameMaker and Robohelp 7 from Adobe
    Tech Comm Suite. My other option is RoboHelp for Word, of an
    unknown vintage. So just when is pretty important to me. Anyone
    heard any scuttlebutt? -
    Thanks!

    The official release date is probably known only to a few
    select people in Adobe. All we can add is that the release in due
    shortly. It is a case of watch this space. I'm sure it can't be far
    off. They are already taking pre-orders.

  • Can anyone explain what the other section section in the HDD usage description is for ? I recently used iphoto to send a mail and this "other "section inrease the usage by about 1GB....any ideas why ?

    Can anyone explain what the "other" (yellow colour) section in the HDD usage description is for and what it does.It is under the about this mac section and storage option?
    I recently used iphoto to send mail with photos attached and this "other" section increased by about 1GB. The mail size was around 900KB.....any ideas ?

    Shurig wrote:
    Thanks gor replying,,,this is my first time on this site.
    Any idea why the "other" continues to increase. I have just got got my mac so no new apps installed yet only been using it for mail and web browsing. I tried the iphoto mail last night and noticed the the "other" section had increased by 1GB which I thought was rather larger. Do you know what this setion actually does ?
    Also do you know if it is possible to delete the iphoto emails.
    All of your 'stuff' that is not Music Movies Apps Backups or Photos is in Other, that means all your emails, all your files etc, why don't you just leave well enough alone, this is not windows and doesn't need tinkering with,

  • Enhanced podcast looses photos in itunes. Any ideas?

    I have been trying to several days to create an enhanced podcast with photos. When I share it into itunes I have the cover art but none of the other pictures. I am sharing it as an AAC encoder not mp3. It transfers into iweb perfectly fine, but not itunes. Any ideas?

    Please explain your problem better. There a no photos in iTunes.
    You can sync photos from your computer to your iPod via iTunes. You select in the Photos pane for the iPod in iTunes what folder of photos to sync to the iPod.

  • How can I restrict the usage of a iPhone 5c?  I would only like my daughter to be able to use her phone between 7am and 10pm central.  Any ideas how to do this or an app to use?

    How can I restrict the usage of a iPhone 5c?  I would only like my daughter to be able to use her phone between 7am and 10pm central.  Any ideas how to do this or an app to use?

    Hi! i believe there is no preinstalled app than can do that for you, however you can use a third party software, such as this: http://www.bitworks-engineering.co.uk/Apps/TimeLock_App/Welcome.html or this https://itunes.apple.com/us/app/parental-timelock-time-limit/id689577280?mt=8

  • Upgraded to ios 5.1 now extremely poor battery usage any ideas?

    Upgraded Sunday to ios 5.1 now extremely poor battery usage - any ideas?  Have tried a few thinks - nothing seems to make a difference?

    Downgrading is not supported.  What IS supported is searching though the forums....there are a number of excellent posts with great suggestions on maximizing battery life and troubleshooting battery issues.

  • When i try to submit an application with Application Loader, the wizard is blocked on "Send API itunes connect usage, waiting for response". Any idea ?

    When i try to submit an application with Application Loader, the wizard is blocked on "Send API itunes connect usage, waiting for response". Any idea ?

    Thank you, Vincent! It's still down for me, but at least I know someone had the same issue. Hoping it's going to work over here soon
    Best!

  • I bought an ipad a few days before I went on holiday. On my return some weeks later I found my BT broadband had peaked astronomically. It had quadrupled my normal monthly usage. I hardly used it for wifi whilst there. Any ideas what may have caused it?

    Any ideas what may have caused it? 

    Thank you again....Not having a clue what WEP is, I've done a little research. I have a BT Home Hub 3 which apparently by default uses WPA.  BT have suggested I turn my hub off for 24 hours for them to monitor. However on returning home my February usage has gone back down again to it's average usage, so I think it's unlikely we'll learn a great deal. I am convinced the huge peak was caused somehow by my limited use of the ipad whilst we were abroad. I've been trying to get to the bottom of it, so that it doesn't happen again next time we go abroad.
    For interest the ipad doesn't have we fi plus cellular.
    The new BT Home Hub uses WPA (Wi-Fi Protected Access) encryption by default to protect the data that moves across the radio waves from it to other wireless devices. Many wireless devices sold today offer this more secure method of protection. WEP (Wireless Equivalent Privacy) is an older, less secure way of protecting such data. The BT Home Hub and BT Home Hub 1.5 both use WEP encryption by default since some older wireless devices are not compatible with stronger encryption types, such as WPA.

  • Ipad2, ios5.0.1, going into settings/general/Usage always produces a crash. Any ideas?

    ipad2, ios5.0.1, going into settings/general/Usage always produces a crash. Any ideas?

    You're not alone.  I just updated my iPhone 4S to iOS 5.0.1, and when I go to Settings>General>Usage, the spinning "busy" indicator is visible in the "Storage" window for a few seconds, then it crashes and goes back to the home screen.  Must be a bug.  I hope Apple adds this to the fix list for iOS 5.0.2.  QA seems to be slipping at Apple.

  • I have deleted voice mails yet usage remains 100%. Any ideas?

    I have deleted voice mails from my phone yet usage remains 100%. Any ideas?

    Updated first post with dmesg output. I added all of it, but here's a quick snippet of the tail (which is right after booting up and attempting to autostart SLiM)
    [ 13.426857] NVRM: API mismatch: the client has the version 310.19, but
    NVRM: this kernel module has the version 304.60. Please
    NVRM: make sure that this kernel module and all NVIDIA driver
    NVRM: components have the same version.
    Why is the kernel getting 304.60 ? That's got to be the issue, but I don't why the kernel is getting 304.60 ...
    Output of pacman -Qs nvidia:
    local/conky-nvidia 1.9.0-2
    An advanced, highly configurable system monitor for X based on torsmo
    local/lib32-nvidia-utils 310.19-1
    NVIDIA drivers utilities and libraries. (32-bit)
    local/libvdpau-git-flashpatch 20120825-1
    Nvidia VDPAU library from git with patch to fix flash blue tint and bleed through
    local/libxnvctrl 304.51-1
    NVIDIA X Ctrl library
    local/nvidia 310.19-2
    NVIDIA drivers for linux.
    local/nvidia-utils 310.19-1
    NVIDIA drivers utilities and libraries.

  • When I click on settings then click general and try to go to usage the settings app crashes. Any ideas on what to do? All ready tried hard resetting it.

    Any ideas on what to do?

    of course.  this will fix.  no data or info will be lost
    reset all settings
    settings-general-reset-reset all settings
    now reconnect to wifi
    settings- wifi- click network name- enter password - join
    if issue persists back up and restore as new via iTunes
    Peace, Clyde

  • Apple ID disabled - any ideas?

    About two weeks ago my wife noticed a duplicate charge on our credit crard from iTunes in the amount of 63.59.  We thought it was a dup and made the mistake of have the credit card cancel the dup charge.  After checking my iTunes account I realized that the charge was legit and I asked the credit card company to repost and pay the second charge which was done.  At that point I noticed my Apple ID was suspended.  I tried to call Apple but was lead to an email where I explained what happened.  I was responded to with a series of preprogrammed emails to which I kept responding to that all they needed to do was call my credit card company ( I provided contact information) to fix the situation.  I was told the reason for the Apple ID suspension had nothing to do with the purchase and that will will not contact anyone.  They also will not telll me the real reason other than it is not just me but many people that are suspended. They also stated that they will not even estimate how long it will take to complete their investigation.  They told me, "We ask that you endure this rather unfortunate circumstance with stead-fast resolve".  Other things said include, "Michael, in order to make sure this gets looked into thoroughly, I've consulted with my senior advisor. I'd asked if it was possible to see if there was any way we could get this resolved over the phone, but I'm sorry to say I wasn't able to get approval for your request. Phone support is something that we're simply not able to offer for you.". Lastly all I was told is this.., "This is due to our increasing efforts to maximize security on the iTunes Store. Our current stage of operations dictates that we cannot comment on why we are enhancing these various security protocols; we also will not speculate on how long this security enhancement will last. "
    I asked if I could go to an Apple store with photo ID etc and got the response below.  I guess I became annoying as I kept asking what I could do but I cannot update anything....  Any ideas on fixing this with Apple???
    From: iTunes Store <[email protected]>
    Date: August 30, 2012 4:36:39 PM EDT
    To:
    Subject: Re: EL : (en_US) Purchases, Billing &amp; Redemption; Follow-up: 224122824
    Hey Michael,
    I will not be responding to your emails any further.
    Have a nice day.
    Sincerely,
    Shannon
    Senior Advisor
    iTunes Store/Mac App Store Customer Support
    http://www.apple.com/support/itunes/ww/
    Please note: I work Monday - Friday from 8:00 AM - 4:30 PM EST
    Thank you for allowing me the opportunity to assist you.
    What  if I go to anApple store with photo ID???  Passport and drivers license?  
    All the best,
    Michael Gross
    (Please forgive any missed typos or unintended autocorrected spellings)
    Sent from my iPad
    On Aug 30, 2012, at 8:38 AM, iTunes Store <[email protected]> wrote:

    I just noticed that this is not an acceptable topic  for this forum.  my apologies...I do not wish to cause trouble.. I just wanted help..

  • My MacBook Pro is running very slow.  I've run repair permissions without positive result.  Does anyone have any ideas?

    My MacBook Pro (2010) is runnign very slow.  This came on all of a sudden.  It opens, closes, reboots, etc., all much slower than ever before.  I have used the repair disk permissions without any positive result.  Does anyone have any ideas?

    First, back up all data immediately, as your boot drive might be failing.
    Take these steps when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 2
    You must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way as above. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Post the 50 or so most recent messages in the log — the text, please, not a screenshot.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into a message.
    Important: Some personal information, such as your name, may appear in the log. Edit it out before posting.

  • Any idea how you can safely use ONE computer for BOTH work and internet?

    I'm planning to set up a small music project studio, built around a powerbook, that I will be sharing with a friend of mine. My friend is going to use the computer for music AND heavy internet use, but I will only use it for music work (off-line).
    The thing is then that I am slightly worried about viruses, worms, spyware and similar unwanted stuff 'sneaking in' when the laptop is online. Even with firewall and anti-virus I guess there is always a risk.
    Any idea if there is a way of keeping things completely separate?
    How about if I had a bootable external hard drive for my work, with the Mac OS system on. Then when I'm working I could boot up from that drive (and use the computer off-line).
    Maybe we could even remove the internal hard drive from the powerbook (?), and use the powerbook with two external hard drives instead: One bootable drive for me and another bootable drive for my studio partner (and then only connect one hard drive at the time).
    Any idea if this would work well..? (I'm not sure if i.e. a virus could sneak in anyway, through the PRAM, L2 cache or the RAM or something similar) Or does anyone have any other suggestions...? Any ideas much appreciated. Thanks!

    Not too much worry with Macs, but get an Ethernet Router, skip Wireless, use strong Passwords.
    How about if I had a bootable external hard drive for my work, with the Mac OS system on. Then when I'm working I could boot up from that drive (and use the computer off-line).
    Excellent idea, especially if the heavy Net user doesn't have Admin rights.
    One bootable drive for me and another bootable drive for my studio partner (and then only connect one hard drive at the time).
    Just about foolproof! Just need 2 more drives for backup. Not sure why you'd want to remove the internal HD though.
    No Viruses yet in OSX land, in fact the only Malware I know about requires you to install it for itself!
    You'll be OK, that separate drives idea is pure genius.:-)
    Most don't need it on Macs, but here ya go on the Mac side...
    ClamXAV, free Virus scanner...
    http://www.clamxav.com/
    Little Snitch, stops/alerts outgoing stuff...
    http://www.obdev.at/products/littlesnitch/index.html
    HenWen/Snort combo, that is a free MAJOR Firewall...
    http://seiryu.home.comcast.net/henwen.html
    Then the venerable old Brickhoues/Flying Buttress Firewall...
    http://personalpages.tds.net/~brian_hill/downloads.html
    WaterRoof is a firewall management frontend with bandwidth tuning, NAT setup, port redirection, dynamic rules tracking, predefined rule sets, wizard, logs, statistics and other features.
    http://www.macupdate.com/info.php/id/23317
    Monitor net usage...
    http://mac.softpedia.com/get/Dashboard-Widgets/Information/Videotron-Internet-Us age-Monitor.shtml

  • Problems with My Bt Website- any ideas?

    Hi
    I have been unable to access My Bt broadband usage monitor since Feb 2012. I gave up trying to get help with this as I don't expect to go over. However, I had an email telling me that I'd used 32gb out of 40gb. I was still ok for my 40gb limit last month, but would like to be able to access my BT usage monitor now that they say i'm getting close to going near the limit for the first time.
    It seems that the MY Bt part of the Bt website is worse than ever. I've tried loads of browsers and different computers, but the usage monitor still has red letters warning me that it is undergoing maintenance. Well that's been over a year now. Also, the navigation is not working, I have blank white pages in the middle with no info and a page can't be displayed error message. I know I'm online and logged in as I can view my phone bill and latest phone usage.
    Which department should I try? I've spoken to Uk based customer service broadband department and India call centre and live chat but they say they don't deal with the website. What should I try?
    Any ideas?- thanks.

    Lyn2000 wrote:
    Thanks. I used the link and logged in but still received the message:
    The usage monitor is currently undergoing maintenance. Please try again later.
    That link seems to be the one that works for most people, but there are some more suggestions at Section 14 here (© Andy_N). It's certainly about time this was fixed especially given that it's the only way BT offer to check on usage they might charge for.
    You can click the white star next to this message if you think it was helpful.

Maybe you are looking for

  • Unable to load GUI error when trying to download newest flash player

    I had deleted the older flash player , 10.0.42.34 and tried to download 10.0.45.2. Went to the adobe site, clicked the link for "get adobe flash player" from the ADOBE home page . Got the "Unable to load GUI" error message, so I just went to the bott

  • Alter SHRINK SPACE in oracle 10g

    Hello, My table PRICE_T table gets deleted and inserted almost 50 million records everyday. Now it takes too much time to perform this operation because of TABLE fragmented. i can use "CREATE table as select" option to remove fragmentation from table

  • Unusual Audio Streaming Problem

    I have Comcast cable, Linksys cable modem and Airport Extreme router. I monitor a web site that offers a live audio feed which I am unable to receive via cable UNLESS I run ethernet directly from the modem to my computer. HOWEVER, I can get the feed

  • Incompatibility of the PC Suite's versions

    I have a compatability problem of PC Suite 6.84 data and its 4.81 version. Recently I tried to transfer data from my old Nokia 6210 to 6151 and found that PC Suite 6.84 doesn't recognize my 6210. At the same time, I made a back-up of the old data usi

  • OUI Windows XP 9.2.0.1 can't find JRE1.3

    I downloaded 9.2.0.1 Disk1, Disk2, and Disk3 for XP Home edition. After unzip, in Disk1 folder, I clicked on setup.exe. It says, "The Java Runtime Environment was not found at C:\...\Temp\OraInstall...PM\jre\bin\javaw.exe. Hence the OUI cannot be run