Will there be any performance impact

Hi All,
    Currently i'm having table employee with 1 millon records.. (emp ID is primary key). In process , i want to insert new employee ID and use for program and deleting it finally(simplyfing changes in current program).. every day this will take 100K trancations.
   I'm planning to commit only after delete. (ie insert -> make some update --> delete the same row --> commit).
Will this emp IDs added to index memory  and give performance impact though i'm commiting the transaction after deleting the rows?
database : oracle 10g.
Thanks!!!

If I understand you correctly, this sounds like a use case for a global temporary table (with the same structure as your employee table).
As you insert, update and delete the same row within one single transaction (for the convenience of your code I assume), those row will only ever be visible to the session that (temporarily) inserts them into the table.
The design you are suggesting has (at least) the following performance impact:
1) it will inhibit concurrency
     - other sessions reading the table while transient rows are inserted and are being updated may have to clone some data buffers and apply UNDO to get read consistent clones of the buffers being modified.
     - you may cause buffer busy wait events as you modify the blocks belonging to your employee table while other sessions want to read the blocks affected by these modifications (the severity of this depends on how your 100K transactions are spread throughout the day and what activity runs on the database in parallel).
     - you will increase activity on the hash chain latches protecting the buffers of your employee table (the same applies to the severity as for the previous point).
2) You increase the amount of REDO generated by your code. Using a global temporary table your 100K transactions will also generate some REDO, but significantly less.
3) Using the global temporary table approach you don't need to delete the rows once you are done with your processing - you simply define your global temporary table as "ON COMMIT DELETE ROWS".
4) You'll have to do all the work associated with the index maintenance to insert and delete the corresponding index entry (see my post from  Jun 24, 2013 8:16 PM)

Similar Messages

  • Any performance impact on satellite systems?

    Hello,
    Our productive solution manager are setup to connect to all the ECC, XI & R/3 systems, as central monitoring system.
    So far we only use Solman for monitoring & EWA, not even BPM is configured yet.
    in SMSY, it's configured to use our XI SLD, to auto collect all the database, server & system data for solman system landscape.
    My question is: If there is downtime on Solman system, will it have any performance (slow transaction) on satellite system, especially on my XI system (as solman access the XI SLD).
    The reason I post this question here is: recently we have downtime for solution manager due to SP upgrade, during the downtime, we noticed there are a lot (thousand) IDOCs processing messages to R/3 system stucks in XI for 1 of our application. Users starting to make complaints, and we try to find the root cause in XI, in R/3 ... involve our basis guy & also XI admins, but no one able to find why.
    By the time PSM is up (after 2-3 hours), ALL the stuck messages in XI are manage to clear/process at once. And until now, on one able to explain why. They are suspecting my solution manager system downtime has the impact on those satellite system.
    Solman is setup to use PXI's SLD.
    Anyone has feedback on this, is it coincidently, or ?
    Please share if you have knowledge on this topic
    Thank you

    Hi,
    As per your description I would say it is pure coincidential.
    When you configure Solution Manager for system monitoring and/or EWA, all Solution Manager does is to collect the relevant data from the sattelite systems. Just this.
    So, when solution manager is not available there should be no reason for any impact on the sattelite systems side.
    Also,  from your description, I would say your XI is getting SLD information from Solution Manager. This is the only reason I could figure out that IDOCs are getting stucked in XI.
    Is it possibel to ask your XI guys to recheck which SLD XI is using?
    Regards
    Valdecir

  • DBCC SHRINKFILE with NOTRUNCATE has any performance impact in log shipping?

    Hi All,
    To procure space I'm suggested to use below command on primary database in log shipping and I just want
    to clarify whether it has any performance impact on primary database in log shipping and also is it a recommended practice to use the below command
    in regular intervals in
    case the log is using much space of the drive. Please suggest on this. Thank You.
    "DBCC
    SHRINKFILE ('CommonDB_LoadTest_log', 2048, NOTRUNCATE)"
    Regards,
    Kalyan
    ----Learners Curiosity Never Ends----

    Hi Kalyan \ Shanky
    I was not clear in linked conversation so adding some thing :
    As per http://msdn.microsoft.com/en-us//library/ms189493.aspx
    ----->TRUNCATEONLY is applicable only to data files. 
    BUT
    As per : http://technet.microsoft.com/en-us/library/ms190488.aspx
    TRUNCATEONLY affects the log file.
    And i also tried , it does works.
    Now Truncateonly : Releases all free space at the end of the file to the operating system but does not perform any page movement inside the file. The data file is shrunk only to the last allocated extent. target_percent is ignored if specified
    with TRUNCATEONLY.
    So
    1. if i am removing non used space it will not effect log shiping or no log chain will broke.
    2. If you clear unsued space it will not touch existing data. no performance issue
    3. If you clear space and then due to other operation log file will auto grow it will put unnecessary pressure on database to allocate disk every time. So once you find the max growth of log file let it be as any how again it will grow to same size.
    4. Shrinking log file is not recommeded if its again and again reaching to same size . Until unless you have space crunch
    Thanks Saurabh Sinha
    http://saurabhsinhainblogs.blogspot.in/
    Please click the Mark as answer button and vote as helpful
    if this reply solves your problem

  • I am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    i am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    The warranty for the iPhone is not and has never been International.
    Warranty and support are ONLY valid in the country of origin.  The only exception is the EU where the entire EU is treated as one country.
    If the device will be used in India, buy it in India.
    An unlocked iPhone will work on any supported GSM carrier world wide.  The LTE portion of a US purchased, unlocked iPhone is unlikely to work outside North America as it does not support the appropriate bands used in other countries.

  • There is any Performance problem with Creation of many Y or Z  Programs.

    HI,
    There is any Performance problem with Creation of many Y or Z  Programs. plz give clarity regarding this to me......
    regards
    ganesh

    Ganesh,
    Can you please mention the context and the purpose of creating these custom program.  And application are you referring to?
    Regards,
    Rohit

  • I just brought 15-inch macbook pro with retina display for about 3 weeks, will there be any refund or upgrade to my macbook due to the discount and upgraded right now

    I just brought 15-inch macbook pro with retina display for about 3 weeks, will there be any refund or upgrade to my macbook due to the discount and upgraded right now

    https://discussions.apple.com/thread/4806203?tstart=0

  • I'm having my replacement iPod touch 5th generation in a week, will there be any differences in comparable to the non-replacement iPod touch?

    I'm having my replacement iPod touch 5th generation in a week, will there be any differences in comparable to the non-replacement iPod touch?

    No.

  • Trip to Spain.  Can iPad work on Spanish wifi?  Will I be able to check US email accounts a will there be any special charge?  Do I need to take a special charger?  Thanks.

    Trip to Spain.  Can iPad work on Spanish wifi?  Will I be able to check US email accounts a will there be any special charge?  Do I need to take a special charger?  Thanks.

    The wifi will work just fine. There will be no charge for accessing your email from across the pond the only fee could potentially be for wifi access. The few trips I have taken to Europe I found some of the hotels charge for Internet access. Your charger that came with your iPad accepts 110-220 volts (220 is used in Europe ). All you will need is an plug adaptor for your charger and you will be good to go. You can buy the appropriate plug adaptor at any electronics store for a few $. Don't let them talk you into a transformer to change the voltage unless you will be bringing other plug in items that don't accept 220v.
    One thing to be careful of is if you have a cell phone turn it off or put it into airplane mode and just turn on the wifi. Data roaming from Europe could easily cost you more that the plane tickets.
    Have a good trip.
    Mike

  • Is Adobe aware of these issues and will there be any fixes?

    Is Adobe aware of these issues and will there be any fixes?

    What John said ... and additionally, though these are user-to-user forums, some of their staffers do pop in here (on their own time, we so appreciate it when they do!) and so between the bug/wish-form requests that John linked to, staffers do monitor what goes onto the boards here. And they do fix a ton of things on a constant basis. Every problem that every individual user has? No.
    But with the incredibly complicated software they've created to give us the inter-operability betwixt an ingestion program (Prelude), an NLE (PrPro), a grading program (Speedgrade), an effects program (AeFx), an audio-effects program (Audition), and an out-put rendering program (AME) ... there are unfortunately times when bits & pieces of software between the OS, programs & plugins, video cards & drivers, and add-on or separate modification programs (such as Plural Eyes for instance) can conflict with each other. Some problems have been incredibly difficult for their staffers to duplicate ... and often, until they can duplicate a particular set of complex circumstances they can't see exactly what went wrong in that case ... and understand why it happens ONLY with that specific set of 500 possible variables and no others.
    Some of the re-current problems on here are shared by quite a number of people ... and many of the problems only occur in very rare circumstances ... it takes precisely the right mix of loaded programs, footage, working steps, and hardware for that problem to exist. While that situation is of course incredibly annoying and oft infuriating to those few that have that problem ... by it's very nature, not many do have that problem. So you will hear of it on the boards here in far greater numbers than it occurs as a percentage of the user base.
    And that btw is a given on a user complaint forum, which for most people is what this place is. Past some of us who use it for a learning "facility" not many jump on here unless they've got a problem or complaint. It most people are happy &/simply functioning, they don't post here.

  • Will there be any further updates to Nokia Belle??

    Will there be any further updates to Nokia Belle?? 
    I have a C7 and would like to know if Nokia plans for any further updates or the Belle OS has been discarded completely

    I doubt that the earlier promise of continued support till 2016 wont be followed now after acquisition of Nokia by Microsoft.
    In Love With My C6-01:Now running on Nokia Belle!

  • Will there be any problem if CSS reuses a TCP PORT number?

    Will there be any problem if CSS reuses a TCP PORT number for a new flow a few minutes after it finished a flow with the same TCP Port number.
    CSS Server inititaed connection to Internet.
    Sometimes a TCP RST terminates the connection. When it happens it appears that the CSS has used a TCP source port number which is sthe same as a previous flow that FIN'ed a few minutes ago. See attachment.

    My answer to your question is, I think you'll be 'less likely'. Although the screen proble has also been reported to create blue tints over the screen at certain angles, thus, if you do get a defective (yet to be confirmed) device, then sadly, it will most definatley affect the colours of a cartoon show.

  • Will there be any data deleted if i upgrade my software version?

    will there be any data deleted if i upgrade my software version?

    what are you updating?  But the short answer is no.  whether an iOS device or a Mac you should't "lose" anything.  the only problems you might run into are compatibility issues with software not being able to run on newer system software....ie.  upgrading to OSX LION means no more PPC apps anymore.  

  • HT201328 I am going to India, the ATT says the is unlocked and follow the procedure back up,erase,insert new sim,restore.  Is it that simple?  Will there be any problem when igo to India with local SIM card?  How to find out compatibility of local SIM car

    I am going to India.  ATT says phone is unlocked.  Can I use local SIM card to use my i phone5?  Will there be any compatibility problem.

    If AT&T authorized your unlock, you received the email from them giving you instructions to unlock and you followed those instructions, followed by a message in iTunes saying Congratulations, your iPhone is now unlocked, then you will have no issues using a local SIM. However, your warranty is only good in the US, and it may not support all of the bands in India, especially LTE.

  • If i do a backup on 10.5.8 on time machine will there be any problems if I have to restore from an older OS?

    Running 10.5.8 on my iMac - aiming to upgrade first to 10.6.3 and then to Lion.  if i do a backup on 10.5.8 on time machine will there be any problems if I have to restore once I get to Lion?

    I think a bootable clone is a far better/safer way to go.
    Get carbon copy cloner to make an exact copy of your old HD to the New one...
    http://www.bombich.com/software/ccc.html
    Or SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/

  • If I go to a Verizon store tomorrow, Tuesday September 23, will there be any iPhone 6's available? I do not want the iPhone 6+, just the regular iPhone 6. I am looking to buy the 64 gb silver version, but will buy the 128 gb version if needed.

    If I go to a Verizon store tomorrow, Tuesday September 23, will there be any iPhone 6's available? I do not want the iPhone 6+, just the regular iPhone 6. I am looking to buy the 64 gb silver version, but will buy the 128 gb version if needed.

        Thanks for taking an interest in upgrading to a new phone. We would recommend calling the store before making a trip to see if they have you want in stock.
    Store Locator: http://bit.ly/3SdsA
    TamaraH_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • Beige G3 no longer boots at all

    I've been using it for years (obviously), and the other day I was trying to install Tiger on a new 400 GB hard drive, when I forgot I had to restart using XPostFacto. The specs are in the signature; 1 GHz G4 upgrade, 3 hard drives off an ATA/PCI card

  • Bursting Listener : Adding images through bursting listeners

    Hi We have a bursting listener hook for one of our bursting control programs. Need to know how to add images to the generated PDFs using the listener. The requirement is like this : Based on the delivery method, we would have to conditionally apply t

  • Renaming Albums

    I have a Sony CD player that holds 400 CDs. When I record them in iTunes, I want to add a number (like #234) into the title. It's great for searching too. How to I rename a title of a CD? Also, if I rename the title, will I have problems finding titl

  • Anchor points stopped showing

    For some reason, when I use a selection too, the anchor points no longer show. One might show when I pass the cursor over it, but you can't see where they all are--and there's no way to grab point to change a curve. I had been able to do this, and I'

  • RFC Error - Name or Password is incorrect(Repeat Logon)

    Hi, I am trying to login to SAP Logon pad with a temporary password i was given and I get this error. RFC Error - Name or Password is incorrect (Repeat logon). Can anyone please help me on this. Thanks Syed