Issue with DML statements in production

Hi all ,
We are using Oracle 11g. The issue is the following:
We have to load some tables during the working day by selecting the data we need from another sources/schemas / and then to insert that data into the production environement.
The problem is that the source tables are very big/about 10 milion rows/ and while we are trying to get that data /select/ and then process it /insert/ into the PROD we may crash the system.../It's just an assumption/. Even without using cursors or bulk operation but simple inserts we may overload it...
Any ideas what options do we have? For example to process the data by portions ? But how?
Thanks in advance,
Alexander.

a.stoyanov wrote:
Hi,
Thanks for reply.
Because the logic for inserting the data it's not so simple, we are not sure the pure SQL can satisfy the conditions how the data has to be loaded. Is there a way to process for example 10 000 rows then do something like sleep and then get another 10 000 rows and so on...? By this approach i think we are not going to overload the system with queries .. but how to achieve this or there is a better way?
Thanks in advance,
Alexander.Actually, it's more likely to increase the workload on the server doing it in batches of records, especially if you plan on committing each batch, which would then also introduce transactional issues if something fails as well as the technical issues of potentially causing the server to start up more writer processes. Multiple queries are a heavier workload on the server than fewer queries.
Is the process you are doing really something that cannot be done in SQL? In a lot of cases SQL is perfectly capable of doing whatever processing is necessary.
You'd have to give us an example of why you feel you need to do it in batches and why the processing can't be done directly in SQL.

Similar Messages

  • This is about issues with the approval of product registration.

    Hi. 
    This is about issues with the approval of product registration. 
    In the absence of category for my problem dealing with Office 2007, I had to choose one of the enlightened choice categories. My proglem. Office 2007 is all well installed and functioning satisfactorily, except Picture Manager section. Every time I choose the
    display of an image through Microsoft Picture Manager, I asked about registration. Several times I answered yes, and license code, implementation of tracing the proceeds smoothly. The problem is that by next preliminary to display images with Picture Manager
    and it does not hsuker that I am registered and authenticated user. 
    What to do and what can I check out? 
    In advance thank you.

    Hello,
    The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
    As the question is off topic here, I am moving it to the
    Where is the Forum... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Has anybody had an issue with System State Backups on a Dell PowerEdge R510 Server running Server 2008 R2?

    Hi,
    We have recently had issues running system state backups on our 2008 R2 Domain Controllers.  They are running on Dell PowerEdge R510 Physical Hardware.  Whenever you initiate a system state backup,  the Domain Controller becomes unresponsive
    forcing us to physically reboot it.   Nothing in the Event logs or the Dell Open Management Hardware Software indicates issues with Phyiscal disks but we can always replicate the issue by starting the system state backup. 
    The system state backup is initialted as a batch file that runs as a scheduled task.   the commands run are as follows:
    WBADMIN START SYSTEMSTATEBACKUP -backupTarget:[drive letter] -quiet
    We have 4 Domain Controllers with identical disk configurations.  When the DCs were setup I confirmed the system state backups were working but the issue started occuring sometime in Dec 2014.  We are going to run the Dell Hardware Update Utility
    to update the RAID, BIOS, Firmware updates but Has anyone experienced a similar issue that may have been triggerd by a Microsoft Patch?
    Thanks,
    Kevin C.
    kconway@fnalgov
    

    Hi Kevin,
    This issue could be due to the Mountmgr.sys driver incorrectly maintains a global mutex. This behavior causes a deadlock situation in the Mountmgr.sys driver.
    Please install the hotfix in the article below to resolve the issue:
    A computer stops responding because of a deadlock situation in the Mountmgr.sys driver in running Windows 7 or in Windows Server 2008 R2 
    http://support.microsoft.com/kb/2614892
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Issue with active state on navigation of vertical slide website. Please help!

    Hey guys!
    I'm using the Adtile vertical-slide example at http://www.adtile.me/fixed-nav/ and am having some issues with the navigation...
    When I add nav buttons for external pages, the navigation active state doesn't follow through the menu to the active slide (it does on the external pages as I'm using a separate css selector PHP script though). Without the additional buttons for the external pages they work fine.
    Here's the link to the working example WITHOUT the additional buttons for external pages.
    Here's the link for the page WITH the additional buttons for external pages.
    Does anyone know how I can get the active state to work for the slides section of the website?
    Thank you!
    SM

    Try this:
    .nav-collapse a:hover,
    .nav-collapse a:active,
    .nav-collapse a:focus {
      background: #e8e8e8;
    Nancy O.

  • Issues with Installing Multiple adobe products.

    I am having some issues with performing a silent installation of multiple adobe products.
    We currently have Adobe CS3, Captivate 3, Audition 3, and Director 11.
    We have managed to get a silent install working for CS3, however, I cannot seem to get a silent install for Director going. The product installs, however it prompts for registration and a CDkey upon launching the application. I have a application.xml.override file within the payloads folder for Director. I also have install.xml and remove.xml files created. I can supply these if need be.
    Captivate does not seem to take the same deployment method that CS3 and Director do (no payloads folder, no --record=1 mode for creating install.xml). Some assistance with this would be very helpful.
    The audition disc does have a payloads folder and such within the folder for "adobe bridge." Would I be able to put an application.xml.override and install.xml in their respective locations for that and have it assist with audition install?
    Using a mix of Vista Business / XP professional computers. CS3, captivate, director, and audition are all going on the same systems.

    Sorry, I have no solution, but I can relate.
    I'm having a similar problem with the Director 11 silent install.
    We have a keyserver setup here and need to have the programs install silently on the student home computers so we don't release the serial number to them, everything with CS3 went okay. I assumed that Director 11 would follow the same (override file) as the file structure seemed to be similar, but that is not the case.
    There's very little information on this out there, so any help would be great.

  • Wifi and sounf carf issues with hp envy-14, Product number: XB109AV Serial number: CNU0482K2Q

    Hi
    My pc Internet card is not enabling Hence there is no wigi nerwork on this PC.
    Same issues has been repeated with Linux also (Ubuntu)
    Same issue with the internal speakers. It doesn't
    work at all.
    Could you suggest I solution.

    I have sent you a Private Message regarding this matter.
    eric-g
    I no longer work for HP.

  • Performance issue with MSEG table in Production

    Hi,
    I have written a report with 4 select queries.
    First i am selecting data from VBRK table in i_vbrk. Then for all entries in i_vbrk, i am fetching records from VBRP into i_vbrp table. Then for all entries in i_vbrp, records are fetched from MKPF into i_mkpf. Then, finally for all entries in i_mkpf, records are fetched from MSEG into i_mseg table.
    Performance of this report is good in Quality system, but it is very poor in Production systems. It is taking more than 20 mins to get executed. MSEG table query is taking most of the time.
    I have done indexing and packet sizing on MSEG table, but still performace issue persists. So, cqan you please let me know if there is any way by which performace of the program can be improved???
    Please help.
    Thanks,
    Archana

    Hi Archana,
    I was having the same issue for MKPF and MSEG , I am using INNER JOIN Condition .
    SELECT
    mkpf~mblnr
    mkpf~mjahr
    mkpf~budat
    mkpf~usnam
    mkpf~bktxt
    mseg~zeile
    mseg~bwart
    mseg~prctr
    mseg~matnr
    mseg~werks
    mseg~lgort
    mseg~menge
    mseg~meins
    mseg~ebeln
    mseg~sgtxt
    mseg~shkzg
    mseg~dmbtr
    mseg~waers
    mseg~sobkz
    mkpf~xblnr
    mkpf~frbnr
    mseg~lifnr
    INTO TABLE xmseg
    FROM mkpf
    INNER JOIN mseg
    ON mkpfmandt EQ msegmandt AND
    mkpfmblnr EQ msegmblnr AND
      mkpfmjahr EQ msegmjahr
    WHERE mkpf~vgart IN se_vgart
    AND   mkpf~budat IN se_budat
    AND   mkpf~usnam IN se_usnam
    AND   mkpf~bktxt IN se_bktxt
    AND   mseg~bwart IN se_bwart
    AND   mseg~matnr IN se_matnr
    AND   mseg~werks IN se_werks
    AND   mseg~lgort IN se_lgort
    AND   mseg~sobkz IN se_sobkz
    AND   mseg~lifnr IN se_lifnr
    %_HINTS ORACLE '&SUBSTITUTE VALUES&'.
    But still I have a issue in performance , Can anybody  give some suggestions , please .
    Regards,
    Shiv

  • Web logic 12.1.3 issue with calllable statements

    Hi All,
    I have installed weblogic 12.1.3 and working with java 1.8. I'm encountering the following error in logs (snippet of the error) -
    java.lang.NullPointerException
      at oracle.jdbc.driver.DynamicByteArray.next(DynamicByteArray.java:817)
      at oracle.jdbc.driver.DynamicByteArray.getStringFromAL32UTF8(DynamicByteArray.java:1066)
      at oracle.jdbc.driver.DynamicByteArray.getString(DynamicByteArray.java:662)
      at oracle.jdbc.driver.CharCommonAccessor.getString(CharCommonAccessor.java:352)
      at oracle.jdbc.driver.OracleCallableStatement.getString(OracleCallableStatement.java:661)
      at oracle.jdbc.driver.OracleCallableStatementWrapper.getString(OracleCallableStatementWrapper.java:860)
      at weblogic.jdbc.wrapper.CallableStatement_oracle_jdbc_driver_OracleCallableStatementWrapper.getString(Unknown Source)
      at com.gxs.ncm.mvc.model.persistence.dao.LoginDAO.getProgramStatusInfo(LoginDAO.java:329)
    Not Sure why callable statement is failing.
    There was no changes done to the setup and the application was working fine on Weblogic 10.3.4 and Java 1.6.
    Kindly assist in having to resolve the issue.

    Please see previous threads which cover the same topic -- https://community.oracle.com/search.jspa?q=huge+archivelogs
    Concurrent Processing - How to Find Database Session & Process Associated with a Concurrent Program Which is Currently Running. (Doc ID 735119.1)
    Thanks,
    Hussein

  • Installation issue with Creative Suite 6 Production Premium install disks on ASUS laptop, Windows 8

    Hi Adobe:
    While trying to install CS6 Production Premium with install disks on my new laptop, many installation attempts have failed due to the DVD player falling asleep while reading Disk 2.  The Installer software and Disk 1 seem to be operating fine, but after switching the disks when prompted, the installation simply stalls.
    I have used these disks before and successfully installed on a previous desktop machine.  I have an Adobe ID and issues serial number for this license.
    May I download this content in order to circumvent the install disks entirely and try it that way?
    Thanks,
    [email protected]

    CS6 product downloads
    Mylenium

  • Issue with case statement

    100*ifnull(x,1)/case when ifnull(yagox,1)=0 then 1 else yagox end)
    based on above condition my result should be like below
    99.8
    101.1
    99.4
    97.7
    Current displaying result like below
    99.8
    1,22,345,000
    99.4
    97.7
    2,34,567,400
    i need to display those two values also in %
    it may be happen denominater(yagox value is 1)
    could please give the proper case statement for resolving the issue
    betham
    Edited by: 961992 on Oct 22, 2012 10:15 PM

    Dear betham,
    welcome to the forum, could you please share the table structure and some sample data and also what your select statement is. This will help people come up with solution faster and also it would avoid going in loops.

  • STILL having issues with Usage Stats

    My usage stats STILL do not reset after I fully charge my iPhone (regardless of whether or not it is plugged into the wall or my computer). What is the deal? The only time they have reset is when I have reset the phone itself (that was about all the advice tech support had for me).
    This isn't a huge issue, the life of my battery seems normal to me. It is however a useful feature if it were to work properly, and being as how I paid $600 for my iPhone I would like all of its features to work.
    Has anyone else figured out how to resolve this issue? It is not convenient for me to go to an Apple store, so I would like to try to avoid that if possible.
    Thanks!

    I don't know if this will help you or not, but I have had a couple of weird things happen to me on this subject as well. I found that my stats would not reset when using the wall outlet to charge the iPhone. Also if I used the docking station to charge it with the iPhone OFF completely, it wouldn't reset until I put it back into the docking station after I had turned the iPhone back on. I didn't check to see if the result would be the same with the wall charger option. I hope this helps.

  • Issue with WRITE statement from Internal Table

    Hi All,
    I have written the below code in a infoset query, the syntax check is ok & when i run the query in debugging mode, i find the internal table being filled with the values & the write statement outputing the values as well.
    But the problem is when i execute the query the output does not show all the lines, instead just displays the last record . What could be the mistake?
    Is it because i have defined Y_EBELN, Y_EBELP & Y_OPENQTY as nodes in the Extras Tab of the infoset & have chosen this for display in my query? How to display the output from my internal table in my query output?
    Hope my problem is clear, await clarification.
    Vivek
    Code
      types:
        Begin of itab,
          wl_ebeln   type eket-ebeln,
          wl_ebelp   type eket-ebelp,
          wl_openqty type eket-menge,
        End of itab.
    Data: il_po type table of itab with header line.
    *Display open PO for materials
      SELECT EKETEBELN EKETEBELP EKETMENGE EKETWEMNG EKET~EINDT
           INTO (Y_EBELN, Y_EBELP, WL_MENGE, WL_WEMNG, Y_EINDT)
        FROM EKET
          INNER JOIN EKPO
             ON EKETEBELN     = EKPOEBELN
              AND EKETEBELP = EKPOEBELP
          INNER JOIN MARD
             ON EKPOMATNR     = MARDMATNR
              AND EKPOWERKS = MARDWERKS
              AND EKPOLGORT = MARDLGORT
        WHERE EKPO~MATNR = MARD-MATNR
          AND EKPO~WERKS = MARD-WERKS
          AND EKPO~LGORT = MARD-LGORT
          AND EKPO~LOEKZ = SPACE
          AND EKPO~ELIKZ = SPACE.
    *Display only still open qty per schedule line
      Y_OPENQTY = WL_MENGE - WL_WEMNG.
      il_po-wl_ebeln = Y_EBELN.
      il_po-wl_ebelp = Y_EBELP.
      il_po-wl_openqty = Y_OPENQTY.
        append il_po.
      ENDSELECT.
    ENDIF.
    Loop at il_po.
      write:/ il_po-wl_ebeln, il_po-wl_ebelp, il_po-wl_openqty.
    endloop.

    Hi Vivek,
      Try it like this.
    Data: Begin of itab,
           lifnr type lfa1-lifnr,
           name1 type lfa1-name1,
           land1 type lfa1-land1,
          End of itab,
          it_lfa1 like table of itab with header line,
          lifnr like lfa1-lifnr,
          name1 like lfa1-name1,
          land1 like lfa1-land1.
    select lifnr name1 land1 into (lifnr, name1, land1)
           from lfa1.
    it_lfa1-lifnr = lifnr.
    it_lfa1-name1 = name1.
    it_lfa1-land1 = land1.
    append it_lfa1.
    endselect.
    loop at it_lfa1.
    write:/ it_lfa1-lifnr, it_lfa1-name1, it_lfa1-land1.
    endloop.
    Note:
    In place of the above select you insert your join select statement. It is working for me.
    You have declared your internal table wrongly. In the internal table instead of TYPE use LIKE, it will work.
    Hope this will work for you.
    Thanks & Regards
    Haritha.

  • Issue with read statement with one more key missing in mapping

    Hi All ,
    I have such data in two internals table :
    IT_bdc
    vbeln            posnr
    90000593     10
    90000576     10
    90000672     10
    90000672     20
    90000672     30
    it_konv
    kbetr          vbeln
    6250          90000576
    12160000          90000593
    500000          90000672
    600000          90000672
    700000          90000672
    My current program statement is :
    LOOP AT it_bdc.
    READ TABLE it_konv WITH KEY
          vbeln = it_bdocs-vbeln.
      currency =   it_konv-waers.
    endloop.
    as you can see the posnr is missing in it_konv how can i modify this read statement so
    that vbeln posnr from it_bdc should get correct kbetr from it_konv.
    Kindly help in this mapping.

    Hi
    sort it_konv by vbeln
    then
    loop at it_bdc.
    read table it_konv with key vbeln = it_bdc-vbeln binary search.
    if sy-subrc = 0.
    perform your logic/task.
    endif.
    endloop.
    also it depends what you want to do after reading it_konv.
    in my logic if there is a vbeln in it_konv which s present in it_bdc then sy-subrc will be 0
    and you can perform your logic.
    and if there will be no matching vbeln in it_konv then sy-subrc will not be 0.
    check the values in debugging.
    Thanks
    Lalit

  • BPM: Issue with Collect Idocs in Production which is used to work in Test.

    Hi,
    We are using BPM for our interface to collect the idocs,
    - Header Idoc will consists of number of bundles of Detail idocs.
    - Each bundle consists of 100 Details Idocs..
    We used packet size as 100 in ECC partner profile and Idoc package as 100 in Sender Idoc adapter in PI.
    Example for 103 idocs,
    header idoc will send count as 2 (100 and 3).
    Detail Idocs will come in two 2 bundles(2 message ids), with 100 in one message id and 3 in another message id.
    we used BPM to collect all the detail idocs before mapping to final target message.
    The interface is working fine in our test system, but it is not working in production.
    The interface is working fine for the idocs less than 100. Problem is only when the count is more than 100.
    We compared BPM in both test and production and we didn't find any difference in the process steps.
    Anyone has any idea what might be wrong ?
    Any help will be appreciated.
    Thanks
    Deepthi.

    Mapping problem which is cleared now.

  • SAP Banking - Issue with Bank statement

    Hi
    We are using Banking Services from SAP 6.0. In Account management I am able to create the bank statement and can view in the Bank statement history that the bank statement has been created. However when I double click the bank statement I want to view (in the ALV Grid)I get an error message which reads "FUNCTION DOUBLE_CLICK HAS NOT BEEN IMPLEMENTED YET". Message information
    Application Area >6
    Message no 501.
    Any help on this issue will be appreciated
    Thanks
    Ramesh

    Hi,
    Given the situation I think its a technical problem rather than a functional and for this you would need help from your basis team. Check the version history of SAP banking and apply the patches if required be.
    Regards,
    Abhinav Sethi
    Feedback is most welcomed!

Maybe you are looking for

  • What does this error mean?

    So I loaded a webpage and Safari shut down.  Here is the error, what caused it in normal speak? Thanks! ~John Process:         com.apple.WebKit.WebContent [10084] Path:            /System/Library/PrivateFrameworks/WebKit2.framework/Versions/A/XPCServ

  • Forms integration into a JSP page

    There is a great White Paper on the OTN's home page about how to integrate a Forms application within a JSP page ;o) <p>Integrating Oracle Forms into Oracle ADF Faces</p> Francois

  • Prepare templates of the existing reports and data objects.

    Hi, I'm trying to create templates of the reports and dataobjects created in oracle BAM. I've created some reports on a server and i need the same reports with same dataobjects on other servers. Is there any method to create the template of existing

  • Bevel *still* misbehaving

    Last time I had this problem, a friendly forumgoer suggested tweaking the perspective slider in the extrude-and-bevel dialog, and that fixed the problem. This time, that's not helping. I've drawn a path to represent a collection-arrow, then applied e

  • How can I add sound to SWF Exported from Imageready

    I am making an animation in image ready, and I would like to ad sound to it.  I am new to Imageready still getting use to making animations.  How can I add sound to my exported animation?