Is pk recommended for update speed and update/insert v merge performance

Hi there,
We are looking to merge 50,000 rows or so into a table each day.
What is generally faster merge or 2 separate sqls (1 to insetrt and 1 to update). Like the merge command but wonder about performance vs the 2 sqls.
Also with both merge and update is it quicker to try match on a pk or would matching on other unique indexes be just as quick.
Many Thanks

Hi,
What is generally faster merge or 2 separate sqls (1 to insetrt and 1 to update)I would say, if you can do it on one operation, do it. But it should be easy for you to try it out.
Also with both merge and update is it quicker to try match on a pk or would matching on other unique indexes be just as quickYou aren't really matching on pk, since this is just a constraint. However, all PK constrains are backed by a unique index, so it should be the same.
But again, try it out
Regards
Peter

Similar Messages

  • Custom program for availability check and update for existing sale order at Item level(VA02)

    Hi,
    I came to know Bapi_Saleorder_Simulate can be used for availability check and update an existing sale order.but there is no sample program explaining the process.I have tried this by passing parameters ORDER_HEADER_IN , ORDER_ITEMS_IN  ,ORDER_PARTNERS and ORDER_SCHEDULE_EX(for getting details),also i have assigned the sale document number ,custom document type(ZSO) in ORDER_HEADER_IN . while executing the BAPI I am getting the error external number range is not assigned for the document type ZSO . I am confused on seeing this error. It is possible to do availability check for existing sale order using this BAPI. Please explain how to achieve this.It will be really helpful if it is expalained with an example.   
    Regards,
    Shanmuga

    Hello, I think you may have been misinformed about this BAPI updating a sales order at item level. As far as I understand it this BAPI can be used to simulate the creation of a sales order which obviously would include and ATP check. This is why it is giving the error because it is simulating creation but you are entering a value in a field that should be automatically generated (i.e. the sales order number). For change the sales order at item level have you looked at BAPI_SALESORDER_CHANGE? I pretty sure this BAPI both updates sales order (header or item level) and can do an ATP first.
    Points are always welcome if you feel an answer has been helpful.

  • I am not able to update any apps, when I tap on update, installing, appears for a second and 'update' appears again.

    On my iphone5 , When I tap on update, installing, appears for a second and update appears
    Again and it does not updates, this happens on my ipad2 and iPhone 3 also.

    Settings>General>Software Update is currently only available for IOS 5 and above.
    If your are using IOS 4, you need to connect to iTune (computer) to update software
    http://support.apple.com/kb/HT4972

  • HT201442 My iPhone 4s hasnt been used in over 6 months. Everytime I plug it into my computer and iTunes, it says it requires a restore and update. It then comes up with an error after completing the download for the restore and update (takes around 10 min

    My iPhone 4s hasnt been used in over 6 months. Everytime I plug it into my computer and iTunes, it says it requires a restore and update. It then comes up with an error after completing the download for the restore and update (takes around 10 minutes).Someone help me as I'm using the original iPhone 3 at the moment and it won't even take an ios 7 update!

    Just to confirm on the screen of the iPhone do you see the itunes symbol with a cable pointing up to it?. If you do then your iPhone is inrecovery mode and would require you to restore it.
    Now first you want to make sure iTunes is up to date and the cable you are using is not damaged. You also want to make sure iTunes is up to date.
    Now if you get an error message then follow the article below to find out what causes the issue:
    http://support.apple.com/kb/TS3694
    In terms of the iPhone 3G that is definitely not able to update to iOS 7. Only the iPhone 4 and larter can update to iOS 7.

  • How to download App Store update once and update several computers? is Remote desktop an option?

    I have very slow internet and I'm looking for a way of downloading a App Store update once and update several computers all of them are on the same app store account and same network, would remote desktop be able to do that? The account is a single user account, and there is no problem to download the updates to each computer, from a licensing perspective. It's the time all those downloads take with 1 Mbs internet speed, hats the problem. I managed to move the yosemite download out of the application folder and copy it to all my mac's but say a "pages" update will install automatically when download is complete and delete the downloaded file. So I'm wondering if Remote desktop would allow me to distribute one download to all my macs?

    I found the solution: Download Pacifist and the 10.6.7. Combo Update and extract the App Store.app from that update into the app folder. Then every thing works fine.

  • BAPI's for Batch Split and Update Picking Quantity

    HI All,
    I have the delivery details(along with batch number, MATNR etc), now i need to split the batch for picking.
    and then i need to sum the batch quantity and update this total quantity to the picking quantity and then update the delivery.
    I tried to use this BAPI function module BAPI_INB_DELIVERY_CHANGE.
    But i am unable to find the picking quantity field in this BAPI.
    Any idea about how to split the batches using BAPI's??
    and how to update the picking quantity using BAPI's?
    Thanks in advance.
    Vijay

    Hi,
    Can you share the solution for the above issue/
    Regards

  • Recommendations for both Backup and Defrag utilities?

    Hi:
    Well, we have finally broken down and purchased an external hard drive to perform backups... only to discover there is no built-in utility on the computer for doing so. Does anyone have an inexpensive (or free) recommendation for good backup utilities? Same goes for a defrag utility?
    Thanks! Rich

    Hi, Rich & Tom!
    I've been using SuperDuper! lately and am really impressed with it's user interface and ease of use. However, the latest versions require OS X 10.3.9 or later to run this program and earlier versions apparently aren't available for download, at least from the developer's site. I've used CarbonCopyCloner (CCC), too, and it would be an excellent way to clone the startup volume to a volume on the new drive, resulting in a duplicate of the startup drive. The current version will work with OS X 10.2.x. If Rich purchased a FireWire drive (versus a USB drive, which isn't bootable with the G4), the clone should be bootable from the external drive.
    Like Tom indicated, OS X already has automatic defrag abilities built in. Moreover, when one moves files from one volume to another one, the moved files are defragmented in the process (as long as sufficient free space is available on the destination drive). Thus, a basic defrag of the entire hard disk volume occurs when CCC, Disk Utility's Restore option, or SuperDuper! is used to clone the volume to an empty volume. I regularly clone for backup and find that this takes care of even huge video files that can sometimes overwhelm OS X's built-in defragmenting after a lot of editing. I have a defrag utility as part of Prosoft's Drive Genius, but have never once needed it. Moreover, I'm somewhat leery of running such a utility without having first backed up, which really negates it's potential usefulness, seeing that the backup cloning effectively does this in the first place.
    Personally, having an external FW drive, I'd clone the current system to the external (or to a partition there), boot to it and test to insure that all went well, and then install Tiger fresh on the internal drive, using the Migration Assistant to transfer my user data and applications to the new OS. I'd then update my applications on the Tiger volume (and insure Tiger compatibility) and then test the new Tiger volume by running from it for at least a week or more before deciding to erase the old 10.2 volume. When satisfied that everything is stable, I'd then clone the Tiger volume to the other drive for backup.
    Gary

  • IPhone - Update app and updated screen shots get posted to iTune

    A few weeks ago we submitted updates for our 8 apps on iTunes. When we submitted the apps we added updated screen shots to the version of the app that was in review. We just found out that all of our screen shots on iTunes were updated over a week ago for our existing apps, but our update has not been approved yet. We did not update the screen shots for the version of our app that is "Ready for Sale". Is this a bug in iTunes Connect? Is this something we should not have done? It looks like you can add new screen shots for your updated app since iTunes Connect makes a copy of your app for the update. Were we supposed to wait until after our app gets approved to update the screen shots?
    Thanks,
    Stephen

    Unfortunately the only thing that is tiemd with your update is the separate update changes text.
    All other text and images are updated within a day so anyone making big updates needs to either:
    1. Update manually after they notice their update is now live. Downside is there will be some people who view the listing before your changes are made.
    2. Post the update photos and include a large note that this is for the coming update that is still being approved. Users can buy the current version and get all the features of the new version for free when it's approved.
    As you've noted people may be downloading your current app thinking they're getting the features now shown, which will be frustrating for them.

  • FCP Workflow recommendations for dual SD and HD delivery

    What would be the best workflow for this scenario: I need to shoot in 1080p 23.97 and deliver in both SD and HD. I would like to shoot with a Sony HD900. I don't have the fastest/largest drives....using Lacie and G-Tech 800 and 400 Firewire drives. Is it best to have my footage ingested using a ProRes 422 codec for offline? Any other recommendations? Thanks

    400 Firewire and 1080p could have problems playing nice. It could work but your system will mostly have issues with the system being able to play the footage off the drive without any pauses or hiccups. This will be especially evident when you have drives daisy chained together.
    I would edit in HD and then convert your HD final sequence to SD. A Kona card will do an excellent job of this if you are going to tape.
    Compressor can fulfill any web needs. As far as Compressor converting HD to SD for DVD I have found it to be consistently inconsistent. Sometimes it looks awesome, sometimes it doesn't. You can play with frame controls but render times will go up considerably.
    Worse case scenario we have down-converted HD to SD tape with a Kona card and then encoded for DVD with a hardware encoding card or rolled it back in to FC SD and then exported via Compressor.

  • Hardware recommendations for fast render and export?

    I'm looking for a new Mac for video editing and wonder what to go for for fast render and export times. Is it fast a cpu, cores, lot of ram, vram or a fast graphic processor that primarily determines the speed?

    Processors mainly. RAM contributes a little, but mainly helps with having multiple apps open, or for RAM hungry apps...FCP isn't one. Graphics cards help with plugins that rely on them...but not all plugins utilize that. Processor is the main thing.
    Exporting to...H.264? Then you can look at the Matrox MAX hardware encoder...or the MXO2 line with the MAX integrated.
    Shane

  • IBook G4 hangs during update downloads and Update installs

    I have an older iBook G4 (model A1133), and it works great. However, I just reinstalled OS 10.5, and while doing the software updates the download will sometimes "hang" and not complete. However, I can cancel that partcular update process, and then go right back and restart the software update process and the download may complete perfectly. I'm at a loss as to why.
    It doesn't appear to be my network connection as my PC downloads just fine. Additionally, I've also had the software update download complete normally, but when it begins the installation process, it will begin the install, but will hang and not complete. When that occurs it generally gets to the "writing the installer script" portion of the install, and will hang up and not complete the install. Again, if I quit and then restart the update process it may comlete everything on the second or third attempt. Does anyone know what may be causing this? Thanks in advance.

    I find that it is better to download a major system combo update than rely on the software update function. You could get the 10.5.8 combo updater and apply it as outlined in these articles.
    http://pondini.org/OSX/Combo.html
    http://support.apple.com/downloads/Mac_OS_X_10_5_8_Combo_Update
    http://apple.stackexchange.com/questions/80657/what-is-a-combo-update-and-how-is -it-different-than-the-regular-update
    http://www.thexlab.com/faqs/macosxupdates.html

  • What are you using for Fan speed AND temp monitor?

    Thanks to Bosskiller, my rig seems to be running a bit stabler now!  Knock on wood.  Is there any program other than MSI's core center that monitor fan speed AND temp?   I used to use MBM but it's no longer being supported and CoreCenter doesn't seem all that popular here? 

    Quote from: BOSSKILLER on 25-September-08, 00:42:40
    http://www.cpuid.com/hwmonitor.php
    http://www.alcpu.com/CoreTemp/
    Actually how accurate is the temp reading on HWMonitor for your MSI board?  One thing I noticed is that w/ Coretemeter the temp reading was around 48-50c on Rig#1 and almost 58-60c on Rig#2 (That's my HTPC w/ EXTREMELY tight spacings so still work in progress as far as cooling's concern!) but using HWMonitor I got 31c CONSISTENTLY on both rigs!     I'll love to think that I'm indeed running this cool but feeling the exhaust air, I think this 31c reading is not real...

  • SAP Recommendation for JAVA Version and BW 7.40 HANA.

    Dear All,
    give it right now some official recommendations for the JAVA Version if we migrate BW 7.01 to HANA 7.4.
    Regards
    Werner Schubert

    Hi Werner Schubert,
    Apart from what Michael has suggested, please see if the following link gives you some help.
    http://scn.sap.com/thread/3476708
    BR
    Prabhith

  • Please fix the Update Button and Update all

    this looks like bug

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, or by a peripheral device.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • HT1386 I have an issue. I connected my IPhone 4 to my windows 7 computer with the updated iTunes and updated iOS but for some reason, My "iPhone" tab doesn't come up. Why is that and how do you fix it?! I really want to sync the rest of my music. Please h

    Help! I updated iTunes on my windows 7 laptop and I updated my iOS on my iphone4 and I used a USB to plug it into my computer but it doesn't have the "iPhone"" icon appear in the corner of the screen. Can anybody please help me fix this so that I can sync my music to my iPhone. I would really appreciate it! Please and thank you!!!

    Device not detected in iTunes for Windows:  support.apple.com/kb/ts1538

Maybe you are looking for

  • How to setup the clock to the second.

    How to setup the clock to the second. I'm able to setup hours and minutes correctly but not the seconds precisely. Can I synchronize with an atomic clock?

  • How to change the frequency of a finite pulse train?

    Hi all? I Know I've asked once a similar question, but I need a better answer. I would like some ideas or examples on how to modify the example in LV; "Finite Pulse Train Generation - Intermediate for AM9513-Based Devices",so that the frequency can b

  • Having trouble with a file with that includes CID or Identity-H encoding fonts

    I am not able to use the cntrl find feature on one of my pdf files becasue the fonts are  CID or Identity-h encode. Can you please tell me how I can change the font or the files so I can use the Cntrl Find feature.

  • The "lightbox" widget caption doesnt show in new images.

    The "lightbox" widget doesnt show the caption field in the new images that i add (after the 3rd of the default set). How do i fix that? Thanks!

  • Can't Save Photos on Iphoto

    Hello, so I recently upgraded my MacBook Pro to the new OSX Mavericks and now I can't save my photos on Iphoto. Before I could totally just take a picture no problem but now I get the message "Photo Booth encountered an error when trying to save your