Delete qry perfomance issue

I need a help to ptimize this query,It takes a longer time to delete the data.
delete from test1 a
exists (select 1 from TEMP_test1  b
                 where a.claim_no = b.claim_no
                 and   a.cert_no = b.cert_no
                 and   a.member_id = member_id
                 and      a.cert_no = 'MEMBER'
                 );Table test1 has 1 million rows
Tem_test1 has 100,000 records
your help is apprecited
Edited by: user11253970 on Jun 9, 2009 7:44 PM
Edited by: user11253970 on Jun 9, 2009 7:45 PM

The post [When your query takes too long|http://forums.oracle.com/forums/thread.jspa?threadID=501834] walks through how to post some of the information we're going to need to be able to assist you.
Justin

Similar Messages

  • Change pointer perfomance issue(bd22)

    Hi,
    we are using message type HRMD_A to transfer the employee change data using the program RBDMIDOC. we are checking two table BDCP n BDCPS, but because of large number of data we r facing a perfomance issue here. I read in one forum about transaction BD22 which deletes the change pointer from these tables, but is it safe to use? and also what is the obsolete change pointer?
    Thanks in advance for ur inputs.

    Hey,
    It is advisable to reorganize change pointer tables at regular intervals for better performance of programs accessing the BDCP* tables.
    BD22 is a standard report delivered by SAP and it is absolutely safe to run this report. It also has o test run option. You could always run the report in test mode to analyze the data the report had selected for deletion.
    Obsolete change pointers are those which have been created up to the specified date and time. In BD22, if this checkbox is marked, obsolete change pointers will be reorganized regardless of whether they have yet been processed.                                                           
    Processed change pointers are those which have been processed in the specified period (date and time). If this checkbox is marked, the processed change pointers are reorganized.                          
    -Kiran
    *Please mark useful answers

  • My account was deleted for security issues. I made a new account, but I can't syncronise my apps with this new account. I bought a new Iphone and would like to transfer the apps ans music on this new one. Can somebody help me?

    My account was deleted for security issues. I made a new account, but I can't syncronise my apps with this new account. I bought a new Iphone and would like to transfer the apps ans music on this new one. Can somebody help me?

    Why would you make a new account?  This will likely cause many problems.  Just get you old account enabled.
    Apple ID: "This Apple ID has been disabled for security reasons" alert appears
    Frequently Asked Questions About Apple ID
    Everything you purchased with the old account will always be tied to that account.  You will have to authorize the computer for that account and you will have to update the apps from that account.

  • Ajax4JSF Perfomance Issues

    Me & my team have used Ajax4JSF extensively in our application very recently we have been observing perfomance problems.
    Here is the situation
    We have following dropdown defined with ajax4jsf event onchange
    <h:panelGrid columns="3" styleClass="detail" columnClasses="label">
                     <h:outputText value="Manufacturer" />
                     <h:selectOneMenu id="manufList" value="#{manufacturerBean.selectedManufacturer}" > 
                       <f:selectItem itemLabel="New" itemValue="New" />
                  <f:selectItems value="#{manufacturerBean.manufacturerList}" />  
                  <a4j:support action="#{manufacturerBean.loadManufacturerDetails}" event="onchange" reRender="manufName,manufDescription,manufSource,btnSave,btnDelete" />          
               </h:selectOneMenu>           
                </h:panelGrid> The perfomance issue is whenever we pick a different value from the dropdown list Ajax4JSF onchange event is fired & the action method "loadManufacturerDetails" is invoked in the backing bean. This is perfect & expected behaviour. But prior to invoking onchange action method it invokes f:selectItems value binding method i.e. getManufacturerList in the backing bean which leads to perfomance issues as it goes thru Spring & Hibernate and hits the database & fires the query to get the List of Manufacturers everytime onchange event occurs & we were very much suprised with the wait time to populates other fields in the form
    Any pointers/suggestions will be highly appreciated
    Regards
    Bansi

    Me & my team have used Ajax4JSF extensively in our application very recently we have been observing perfomance problems.
    Here is the situation
    We have following dropdown defined with ajax4jsf event onchange
    <h:panelGrid columns="3" styleClass="detail" columnClasses="label">
                     <h:outputText value="Manufacturer" />
                     <h:selectOneMenu id="manufList" value="#{manufacturerBean.selectedManufacturer}" > 
                       <f:selectItem itemLabel="New" itemValue="New" />
                  <f:selectItems value="#{manufacturerBean.manufacturerList}" />  
                  <a4j:support action="#{manufacturerBean.loadManufacturerDetails}" event="onchange" reRender="manufName,manufDescription,manufSource,btnSave,btnDelete" />          
               </h:selectOneMenu>           
                </h:panelGrid> The perfomance issue is whenever we pick a different value from the dropdown list Ajax4JSF onchange event is fired & the action method "loadManufacturerDetails" is invoked in the backing bean. This is perfect & expected behaviour. But prior to invoking onchange action method it invokes f:selectItems value binding method i.e. getManufacturerList in the backing bean which leads to perfomance issues as it goes thru Spring & Hibernate and hits the database & fires the query to get the List of Manufacturers everytime onchange event occurs & we were very much suprised with the wait time to populates other fields in the form
    Any pointers/suggestions will be highly appreciated
    Regards
    Bansi

  • Perfomance Issue: FORALL - LIMIT

    Hi,
    Is LIMIT clause mandatory for FORALL DML Operations for Perfomance Issue?
    I have searched in google, but i didn't get a correct answer.
    Suresh.

    Suresh Mohan wrote:
    Hi,
    Is LIMIT clause mandatory for FORALL DML Operations for Perfomance Issue?
    I have searched in google, but i didn't get a correct answer.
    Suresh.It's not even a syntactical option
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/forall_statement.htm#LNPLS01321

  • Perfomance issue between Sun-Fire-V445 & SUNW,T5240

    my application owners is complaining abt the perfomance issue with between V445 and T5240
    5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V445
    bash-3.00$ psrinfo
    0 on-line since 01/10/2009 01:55:45
    1 on-line since 01/10/2009 01:55:45
    2 on-line since 01/10/2009 01:55:45
    3 on-line since 01/10/2009 01:55:42
    bash-3.00$ top
    load averages: 0.96, 1.11, 1.14; up 101+15:04:35 16:59:45
    237 processes: 231 sleeping, 5 zombie, 1 on cpu
    CPU states: % idle, % user, % kernel, % iowait, % swap
    Memory: 32G phys mem, 21G free mem, 2052M swap, 2052M free swap
    but t5240 is having 128 processor and
    load averages: 0.56, 0.33, 0.27 tbw1.prod1.idc1.level3.com 17:01:53
    58 processes: 57 sleeping, 1 on cpu
    CPU states: % idle, % user, % kernel, % iowait, % swap
    Memory: 128G real, 57.0G free, 697M swap in use, 51.7G swap free
    both the application are on zones. But the processing time for the app is less in v445 when compared to t5240

    System Configuration: Sun Microsystems sun4u Sun Fire V445
    System clock frequency: 199 MHZ
    Memory size: 32GB
    ==================================== CPUs ====================================
    E$ CPU CPU
    CPU Freq Size Implementation Mask Status Location
    0 1592 MHz 1MB SUNW,UltraSPARC-IIIi 3.4 on-line MB/C0/P0
    1 1592 MHz 1MB SUNW,UltraSPARC-IIIi 3.4 on-line MB/C1/P0
    2 1592 MHz 1MB SUNW,UltraSPARC-IIIi 3.4 on-line MB/C2/P0
    3 1592 MHz 1MB SUNW,UltraSPARC-IIIi 3.4 on-line MB/C3/P0
    ================================= IO Devices =================================
    System Configuration: Sun Microsystems sun4v T5240
    Memory size: 130848 Megabytes
    ================================ Virtual CPUs ================================
    CPU ID Frequency Implementation Status
    0 1165 MHz SUNW,UltraSPARC-T2+ on-line
    1 1165 MHz SUNW,UltraSPARC-T2+ on-line
    2 1165 MHz SUNW,UltraSPARC-T2+ on-line
    3 1165 MHz SUNW,UltraSPARC-T2+ on-line
    4 1165 MHz SUNW,UltraSPARC-T2+ on-line
    5 1165 MHz SUNW,UltraSPARC-T2+ on-line
    6 1165 MHz SUNW,UltraSPARC-T2+ on-line
    7 1165 MHz SUNW,UltraSPARC-T2+ on-line
    8 1165 MHz SUNW,UltraSPARC-T2+ on-line
    9 1165 MHz SUNW,UltraSPARC-T2+ on-line
    10 1165 MHz SUNW,UltraSPARC-T2+ on-line
    11 1165 MHz SUNW,UltraSPARC-T2+ on-line
    12 1165 MHz SUNW,UltraSPARC-T2+ on-line
    13 1165 MHz SUNW,UltraSPARC-T2+ on-line
    14 1165 MHz SUNW,UltraSPARC-T2+ on-line
    15 1165 MHz SUNW,UltraSPARC-T2+ on-line
    16 1165 MHz SUNW,UltraSPARC-T2+ on-line
    17 1165 MHz SUNW,UltraSPARC-T2+ on-line
    18 1165 MHz SUNW,UltraSPARC-T2+ on-line
    19 1165 MHz SUNW,UltraSPARC-T2+ on-line
    20 1165 MHz SUNW,UltraSPARC-T2+ on-line
    21 1165 MHz SUNW,UltraSPARC-T2+ on-line
    22 1165 MHz SUNW,UltraSPARC-T2+ on-line
    :

  • Perfomance Issue on Windows Server 2003 Cluster

    Hello,
    we have a strange perfomance issue:
    we have a single Windows 2003 Server for the XI Quality System and a Windows 2003 Server on production (both of them 32 bit).
    When we transport an integration scenario 1:1 from quality to production we have to face serious performance issues. Perfomance on the productive cluster is approx. 50% lower than on the quality environment.
    How could this be? Do you have any ideas?

    Hi,
    It has been a while since the last time we heard from you, so I assume this issue is solved by now.
    I will mark a reply as answer, please feel free to unmark it if it’s not helpful, and we will be happy to continuously support you.
    Have a nice day!
    Amy Wang

  • Web Perfomance Issue

    i have problem with Web Performance issue with Application server 10g
    is their any parameter need to be adjust

    Hi,
    when i find some problem related to performance, my first check is the database, is there locks in the database when these perfomance issue arise ? are tables analyzed ? optimizer_mode = choose ? have you try to check the querys that ADF e "lauching" to dabase ?
    Also, are you using Connection Pool in application server ?
    Just some ideias
    Best Regards
    Rui Madaleno

  • Perfomance issue after update to 10.7.3

    Hello everyone,
    I have recently experienced major perfomance issues when it comes to graphical applications. I can't recall if it happened when 10.7.2 or 10.7.3 was released, but somewhere around then. And I can't determine if it was happening directly afterwards when the upgrade was done.
    Watching a flash movie takes a lot of system resources and scrolling within the window the flash movie is barely possible. Before this hasn't been a problem at all. Playing a game, i.e Team Fortress 2, has gone from wonderful to non-playable. From having 60-80 fps to around 25-45 fps.
    I am having a MBP 15.4 early 2011/8GB/2.0GHz. Running latest version of Lion 10.7.3
    Anyone else that had the same problem? Anyone having a suggestion of what the problem might be?

    Maybe it's Chrome. Maybe your update to 10.7.2 or 10.7.3 needs help. You could consider reinstalling Lion:
    Reinstalling Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Continue button.
    Note: You can also re-download the Lion installer by opening the App Store application. Hold down the OPTION key and click on the Purchases icon in the toolbar. You should now see an active Install button to the right of your Lion purchase entry. There are situations in which this will not work. For example, if you are already booted into the Lion you originally purchased with your Apple ID or if an instance of the Lion installer is located anywhere on your computer.

  • Setting up mobile accounts to delete after logout issues

    Running a network with about 2,000 users. Due to the amount of time to login the sever at each workstation we set up about half of them to sync and to be mobile account within workgroup manager. We have the settings as followed for the sync....
    create mobile account when users log in
    and making network home and default sync setting.
    delete mobile account after 0 hours (originally set to 5 days)
    delete only after successful sync
    for the rules we are using preference sync always, but not in background. Same for home sync rule.
    So at first the users were logging in very fast and working great, the 1st 3 or 4 days we set up the delete mobile accounts to delete in 5 days. 2 days later we changed it to 0. in that time being about 300+ users logged in with the setting set to 5 .about 1 week later after changing the account expiry from 5 days to 0 hours most users started to get sync errors (from 10, 200+ errors) we looked into it a bit and noticed that under root/users...the users home directory were not being deleted fully, the entire folder is suppose to be deleted but instead it was only deleting downloads, pictures, videos ect, and it was leaving about 3 folders within its home. (documents, desktop and something else)
    we noticed once that happened to a user, when they would to log out and try to log into the same work startion we would get an error stating
    "unable to create mobile account, there was a problem while creating or accessing /user (then says users name)"
    This issue is due to that work group manager is not fully deleting the synced account. If we go in as root and deleted the users home in HD/users, they user was able to log back in with no problem and it recreates its mobile home and works perfectly.
    but as of now we have a hand full of users with this issue. please advise.
    we are using workgroup manager version (10.6 ) 361.1.1

    Hi
    All local users have rwx and no permissions for groups or others on Desktop, Documents etc. as they should.
    Mobile users have rwx and groups and others have rwx also on every folder. 06hstest is a mobile user
    drwxr-xr-x 12 06hstest SGCSD\do 408 Feb 1 12:48 .
    drwxrwxr-t 11 root admin 374 Feb 2 10:09 ..
    -rwxrwxrwx 1 06hstest SGCSD\do 3 Jan 19 13:37 .CFUserTextEncoding
    -rwxrwxrwx 1 06hstest SGCSD\do 6148 Jan 29 11:51 .DS_Store
    drwxrwxrwx 6 06hstest SGCSD\do 204 Feb 1 12:48 Desktop
    drwxrwxrwx 26 06hstest SGCSD\do 884 Feb 1 12:48 Documents
    drwxrwxrwx 11 06hstest SGCSD\do 374 Feb 1 12:48 Library
    drwxrwxrwx 4 06hstest SGCSD\do 136 Feb 1 12:48 Movies
    drwxrwxrwx 4 06hstest SGCSD\do 136 Feb 1 12:48 Music
    drwxrwxrwx 5 06hstest SGCSD\do 170 Feb 1 12:48 Pictures
    drwxrwxrwx 4 06hstest SGCSD\do 136 Feb 1 12:48 Public
    drwxrwxrwx 7 06hstest SGCSD\do 238 Feb 1 12:48 Sites
    Thanks,
    Martha

  • Deleted Sales Orders Issue

    Hi,
    I have a typical issue with Sales Order deletion in R/3
    In R/3,the Sales Orders have been physically deleted due to which the sales orders are not available in the tables.
    In R/3 reports those Sales Orders are not reflected. But in BI, since they have already been loaded, they are showing in the results since the SOs at that time were loaded to BI. Once documents are deleted in R/3  those changes are not reflected  in to BI. This discrepency is not acceptable by the customer. Plz help in how to resolve the issue.
    Many Thanks
    Uday

    Hi Uday,
    It seems the same issue has been discussed sometimes back ,but no solutions were given.
    Deleted sales order items and delta direct
    As I said earlier,extractor will not capture those deleted items. Even enhancement may also not work for this case. Anyway,please check with OSS whether any solutions available for this problem .I convinced my users to go for the cancellation (not mark for deletion) of the items. 
    Below link will give you the info about why it is not a good practise to delete the item .
    deleted sales order
    All the best.
    Thanks.

  • Deleting in Mail Issue

    Hi All,
    Out of nowhere I am receiving the following message in my mail....
    “635254.emlx” couldn’t be copied to “Messages” because an item with the same name already exists.
    I tried deleting a bunch of old sent mail and now I am getting this message whenever I am trying to just delete an email. 
    Please help...

    Hi. Sorry about the extended delay. Weather issues...
    Good news/Bad news:
    Good news: Mail account sets up fine when logging in as guest, opening mail, and adding account.
    Bad news: In my main account, even after deleting the com.apple.mail plist and turning the Mac off and on, mail still crashes - right after I enter outgoing server info. In fact, a couple of iterations ago, the whole machine crashed. (I started up off Diskwarrior and rebuilt the drive when that happened). After the rebuild, though, the Mail app. still crashes at exactly the same place in the account set-up sequence.
    Any ideas?
    Thanks

  • Any idea when the delete (Saved) messages issue will be fixed?

    We have a few iPhone 5's in the family and after a year they all have the emotional baggage of several GB's a piece of (Saved) messages.
    Nick25's sermon does not appear to work as the latest version of iBackupBot will not allow one to actually delete things, just look at them.
    This is not acceptable, and between unresolved issues like the lock button, the charging cable, and the like, the fruit is beginning to lose its appeal quite quickly. I love my 5 and my kids like theirs, but we're not talking about a trivial bug here.
    Incidentally, I tried another iBackupBot clone and it too will not delete with the free version. The last one (ifunbox?) said it would but let's just say I did not get the warm fuzzies from that app.

    Nope - no one here has any idea when Apple will do anything
    You can request it via the iPhoto menu ==> provide iPhoto feedback command
    As a wild guess I would expect the A77 support sooner rather than later since it appears to be a great camera (I have the a55 and love it) and Apple has always been pretty quick to support new Sony RAW
    here is the latest list of RAW support for Lion 7.2 - http://support.apple.com/kb/HT4757
    LN

  • IPhone content deleting itself & sync issues

    Hi everyone, new here, so hopefully I'll be able to get in everything that needs to be said to help solve the issue.
    I've got a 64GB iPhone 4S that is completely up-to-date software-wise and has a good 30GB free. All content is added manually from iTunes to the iPhone (the appropriate box is ticked) and I have ticked the box in Preferences to ensure all devices don't sync upon being plugged in.
    Now, here's the problem: when adding music to the phone, ripped from CD's or downloaded elsewhere in MP3 or M4A, the music will transfer over to the phone perfectly. However, the next time the phone is plugged in and I attempt to add new content, iTunes tells me that it is updating files and preparing to update, but it just hangs here. The songs are listed as on the phone, but are greyed out. So, when I unplug and refer back to the Music app on the phone, the songs just skip from one to the other, before eventually telling me that there is no content there whatsoever, despite iTunes telling me otherwise.
    This is also the case with any video content, all videos are converted in the right format, but I can never get them to transfer over. iTunes tells me it is updating files and preparing to update, but once again iTunes just hangs and the files are there in iTunes but they're greyed out. I can't access or play them, only delete them within iTunes itself.
    Am I doing something majorly wrong? This occurs every single time and a hard reset doesn't seem to have solved the issue.
    Apologies if this has been covered elsewhere, I can never seem to find a definitive answer or the situation is different from my own.
    Cheers!

    I have the same problem and have noticed that if I just put in an appointment name and time it seems to sync from iPhone 3g to Exchange calendar, however, if I type in notes, it does not sync. Hope a solution or work around shows up soon.

  • Delete key + Keyboard issue

    Hey, I have a MacBook from mid 2007 that I use for Boot Camp. I was wondering if there was any way to have some key that would be the equivalent of the delete key on Windows (I am running XP).
    Additionally, on XP, for whatever reason it likes to go to the French keyboard, which is annoying since I will go for a "?" and get a capital "é". Anyone know what to do?

    Sounds like you have a French keyboard selected. In Control Panel select the Regional and Language Options. Now click on the Languages tab and select the Details box. Here you can control which keyboards are available under Installed Services.
    If you poke around a bit you will be able to address the French keyboard issue.

Maybe you are looking for