Stop  undo generation or estimate it.

UPDATE Daily_Price_Position
SET cscn = Daily_Price_Position.NEXTVAL;
In above statement, Daily_Price_Position.NEXTVAL is a sequence
Daily_Price_Position Table has 131,950,909 rows & is of 34gb.
I am struggling to complete above statement. I have already put database in noarchive log and set undo tablespace =99gb, still can't understand why even 99gb is not enough. It gives error that can't exten 8192 block in UNDOTBS1. UNTO_RETENTION is set to 900 and UNDO_MANAGEMENT=auto.
There is no other user connected to database that can perform and select operation on it.
Any suggestion on it ?

For timebeing I have increased undotbs to 100gb, to see if it helps. Next option will be to change the procedure and frequenct commit i.e. update 50k rows at a time and commit...
I think that should help.
But still curious to know, at max, how much undo can a table to 34gb generate for such update? Even if it maintains full 2 copies for read consistant value, it should not exceed 68 gb, but here 100gb is also not enough..

Similar Messages

  • How to stop the generation of the trace files relate to the particular user

    Dear All,
    Please advice:
    Is it possible to stop the trace file created by a user for a particular job (sql/exp)
    For example :
    Trace files create whenever the user run the sql/exp command from his application server.
    This will created a huge files and caused the file system getting full (not in bdump but it is generation in application user home directory).
    Is there any method to stop the generation of the trace files relate to the particular user base on that job.
    thanks,
    Shanoj

    Dear SHANOJ
    This trigger will created for that specific user by dba or person who have sysdba privs. it will triggered at the login time of that user and alter the sqltrace.
    for example we have write one trigger in our database for every ddl operation in database.
    CREATE OR REPLACE TRIGGER "SYS"."SYS$DDLTRIG" after DDL on database
    declare
    v_machinename VARCHAR2(100);
    v_osuser VARCHAR2(100);
    v_dbuser VARCHAR2(100);
    v_host VARCHAR2(100);
    v_program VARCHAR2(100);
    v_instance VARCHAR2(100);
    v_date VARCHAR2(100);
    begin
    select to_char(sysdate, 'mm-dd-yyyy HH24:MI:SS'),user,sys_context('userenv','OS_
    USER'),sys_context('userenv','HOST'), (select instance_name from v$instance),(se
    lect program from v$session where sid = (select distinct sid from v$mystat)),(se
    lect machine from v$session where sid = (select distinct sid from v$mystat)) int
    o v_date,v_dbuser,v_osuser,v_host,v_instance,v_program,v_machinename from dual;
    IF ora_sysevent = 'DROP' or ora_sysevent = 'REVOKE' or ora_sysevent = 'GRANT' or
    ora_sysevent = 'CREATE' or ora_sysevent = 'TRUNCATE' or ora_sysevent = 'ALTER'
    Then
    insert into ddl_log_new(v_date,v_dbuser,v_osuser,v_host,v_instance,v_program,v_m
    achinename,V_EVENT,V_OBJECT_NAME,V_OBJECT_TYPE,V_OBJECT_OWNER) values (v_date,v_
    dbuser,v_osuser,v_host,v_instance,v_program,v_machinename,ora_sysevent,ora_dict_
    obj_name,ora_dict_obj_type,ora_dict_obj_owner);
    END IF;
    END;
    i hope above example will helpful for u,
    Regards
    Ambrish
    Edited by: ambrishr24 on Dec 5, 2012 5:02 PM
    Edited by: ambrishr24 on Dec 5, 2012 5:05 PM
    Edited by: ambrishr24 on Dec 5, 2012 5:20 PM

  • Drop user without UNDO generation

    Hello everyone,
    I am a Oracle 11g 11.2 user and am trying to drop a user but that operation is creating huge amount of UNDO data. I was wondering if it is ever possible to drop this user preventeing UNDO generation... Is that even possible?
    Thanks for your inputs,
    TS

    Adeel Ahmed wrote:
    Drop user cannot be rollback, so there is no way it generates undoIt doesn't meant that just because it can't be rolled back , it doesn't generate undo. The undo would be generated for the updations happening over the dictionary objects but its amount won't be "enormous" as what OP mentioned.
    HTH
    Aman....

  • How to stop BDOC generation for a particular transaction type of salesorder

    hi,
    i  want to stop bdoc generation for a particular sales order transaction type ZLEG.
    this order types are not flowing into CRM that i have done,but bdocs for it are still getting generated.
    regards,
    vishesh agarwal

    Hi Vihesh,
    SMW3_00 will only enable you to switch off the creation of ALL BUS_TRANS_MSG BDoc's.
    What you need for your requirments is to filter the data that are sent according to sales order type. For upload to ECC, you can do this by by defining criteria fields for the object in tr SMOEAC. For specific details of how this can be done for sales documents, please refer to notes 502037 (valid for new releases also) and 497434.
    Best regards,
    Brian.
    Edited by: Brian Patterson on Jan 9, 2012 2:50 PM

  • To stop automatic generation of excise invoice for

    Dear Experts,
    I am creating Profroma Invoice just after Sales Order in export cycle. While saving the proforma invoice, system automatically generates excise invoice.
    Will you please guide me how to stop the Proforma Invoice from automatic generation of excise invoice?
    With regards,
    Jhelum Roy.

    Check the excise group for the transaction.
    The follow the following path in SPRO:
    IMG - LG- Tax on Goods Movements-India-Basic Settings-Maintain Excise Groups
    There uncheck the box EXCISE INV DURING BILLING
    As, this will create Excise Invoice automatically. So, it instructs the system to automatically create an outgong excise invoice immediately you create a commercial invoice or a pro forma invoice. The system creates the excise invoice in the background.
    Also, If you want to make use of this function, you must also define the default plant, excise group, and series groups in Customizing for Excise Duty, by choosing Business Transactions -> Outgoing Excise Invoices -> Maintain Default Excise Groups and Series Groups.
    If that is uncheck already, create & post inv single step indicator
    As, this is automatic posting for J1IS and it instructs the system to automatically verify and post excise invoices that you create using the Excise Invoices for Other Movements transaction.
    Thanks & Regards
    JP

  • How to stop auto generation of ids for h:dataTable

    I am using <h:dataTable> tag to display more than one error messages.
    My code goes like this
    <h:dataTable id="messagetb" value="#{searchZug.searchZugParam.allMessages}" var="message">
    <h:column>
    <h:outputText style="color:red;" value="#{message}" />
    </h:column>
    </h:dataTable>
    When i run my application, console is displaying a message like
    'WARNING: Component _id79 just got an automatic id, because there was no id assigned yet. If this component was created dynamically (i.e. not by a JSP tag) you should assign it an explicit static id or assign it the id you get from the createUniqueId from the current UIViewRoot component right after creation!'
    I checked in the generated html source. It is generating id for tbody as 'messagetb:tbody_element', this is causing the problem.
    How can i stop this auto generation of ids? if not possible, then how can i explicitly specify the id for tbody?
    Thanks,
    Murthy

    Narasimha.Murthy.d wrote:
    I am using JSF version 1.3There exist no "JSF 1.3". When talking about "JSF" without mentioning the implementation name, we assume it as JSF specification. The JSF specification is only been available as 1.0, 1.1, 1.2 and 2.0. As said before, we´re more interested in the JSF implementation name. Is it Apache MyFaces? Is it Sun RI or Sun Mojarra? And then please tell the version from that.

  • HP laptop update failed, and now it wont stop undoing changes.

    When I went on my laptop today it started updating, and after an hour when it finally got to 99% it said they the update failed, and it's now undoing changes. It's been like that for over 3 hours now. How can I try to fix this?

    You can try getting to Advance Boot Menu by 
    1. Repeatly pressing f8when the laptop boot up (Disable FASTBOOT when you are tyring to get into Advance boot menu)
    2.Shift and F8 (When the first options doesn't help at all )
    then use the Keyboard arrow keys to navigate around Advance boot menu and select Last known good boot configration or restore this PC (Please be minded that if you choose restoring it will restore to a back to the last known backup , as data will be lost ) 
    Please update here if there is still any problems

  • Whats the best method to stop IDOC generation and ECC replication?

    Hi Gurus,
    I would like to do mass data conversion in CRM (adding data origin field for bp's) , during this process i dont want IDOC to be generated and any replication to ECC , how to achive this in tweaking middleware ?
    Vinay

    Hi
    Try tcode SMW3_00 and make an enty into the table with the following:
    BDOC_TYPE = BUPA_MAIN
    DONOTSEND = 'X'
    Paparao Undavali

  • Oracle 10g - undo management

    Guys,
    I am updating 1 million rows in Oracle 10g platform, normally when I do it in oracle 9i I run it as batch process and commit after each batch. Obviously to avoid/control undo generation. But in Oracle 10g I am told undo management is automatic and I do not need run the update as batch process.
    Is this right please throw some light on this new feature - automatic undo management
    Thanks

    Automatic undo management was available in 9i as well, and my guess is you were probably using it there. However, I'll assume for the sake of this writing that you were using manual undo management in 9i and are now on automatic.
    Automatic undo management depends upon UNDO_RETENTION, a parameter that defines how long Oracle should try to keep committed transactions in UNDO. However, this parameter is only a suggestion. You must also have an UNDO tablespace that's large enough to handle the amount of UNDO you will be generating/holding, or you will get ORA-01555: Snapshot too old, rollback segment too small errors.
    You can use the UNDO advisor to find out how large this tablespace should be given a desired UNDO retention, or look online for some scripts...just google for: oracle undo size
    Oracle 10g also gives you the ability to guarantee undo. This means that instead of throwing an error on SELECT statements, it guarantees your UNDO retention for consistent reads and instead errors your DML that would cause UNDO to be overwritten.
    Now, for your original question...yes, it's easier for the DBA to minimize the issues of UNDO when using automatic undo management. If you set the UNDO_RETENTION high enough with a properly sized undo tablespace you shouldn't have as many issues with UNDO. How often you commit should have nothing to do with it, as long as your DBA has properly set UNDO_RETENTION and has an optimally sized UNDO tablespace. Committing more often will only result in your script taking longer, more LGWR/DBWR issues, and the "where was I" problem if there is an error (if it errors, where did it stop?).
    Lastly (and true even for manual undo management), if you commit more frequently, you make it more possible for ORA-01555 errors to occur. Because your work will be scattered among more undo segments, you increase the chance that a single one may be overwritten if necessary, thus causing an ORA-01555 error for those that require it for read consistency.
    It all boils down to the size of the undo tablespace and the undo retention, in the end...just as manual management boiled down to the size, amount, and usage of rollback segments. Committing frequently is a peroxide band-aid: it covers up the problem, tries to clean it, but in the end it just hurts and causes problems for otherwise healthy processes.

  • How to stop loop or VI automatic

    hello   help me please I'm trying to complete a project in the field of optics. I have an input by a photodiode and a voltage acquisition card, and I generates pulses to move a blade by a motor. I need a diagram in labview that will stop the generation of automatic impulse to stop the motor when the voltage detected by the photodiode etienne a value of 0.8V.and thank you in advance. here is my VI
    Attachments:
    vi.png ‏135 KB

    Duplicate
    http://forums.ni.com/t5/LabVIEW/switch-to-stop-automatic/m-p/2743568

  • Stop generating spool in smartform.

    Hi All,
               I need to stop soopl generation in smart forms .Can any one give some suggestions . I have used TDDELETE = X  but it is not working . SAP Gurus give your suggetions .....
    Regards,
    Veera

    Hello,
    I propose 2 methods:
    Please follow the following logic:
    1. Create a New IntTab with unique Customers.
    2. Loop in this New IntTab.
    3. Initialize all the Fields/Structures.
    4. Get the details of the corresponding Customer.
    5. Call the SSF in the Loop.
    This would reinitialize the SSF Variable for Page number.
    .or.
    I understand that the PAGE numbers are written in separate window.
    You need additional global field in SSF to hold the Customer number, and one for Page Number.
    First, you initialise with the first customer number.
    Since, this window being called for every page make a comparison of the IntTab Customer Number with the New Field for Customer Number.
    If both does NOT match, you reinitialize the field for Page and if it matches you can increment the Page Number.
    Hope either of the above helps you.
    Best Regards, Murugesh AS

  • Stopping BDOC BUS_TRANS_MSG flow from ECC to CRM

    Hi
    In my project environment Sales documents will be created in CRM, and then will flow to ECC. After I have done relevant entries in table TBE31 BDOCs have started flowing in both directions, i.e. CRM to ECC and vice versa. Now I want to stop BDOC generation for sales documents generated in ECC. One way I can think of is to define a filter in R3AC1, but I believe there should be some better way.
    Please help me in this regard, thanx in advance.
    Cheers
    Hits

    Hi,
       Another way to stop the flow of sales doc data originating from ECC system would be as follows -
    1. Goto trx.
    SMQR
    2. De-register the inbound queue
    R3AD_SALESDOCUMENT*
    using the deregistration button.
    This will stop all the CRM inbound queue and hence the creation of sales documents in CRM. You can either delete the queue entries if you no longer want the data in CRM or you can execute the queue if you wish to replicate the data to CRM.
    But I would suggest you to use the adapter object filter in
    R3AC1
    if you selectively wish to download data to CRM.
    Reward if helpful.
    Thanks,
    Sudipta.

  • Can I continuous update a waveform in a 6713 Card? I need to inc and dec the frequency continuously without stoping the generation. Can I do so? how?

    Hi.
    I`m using labview 7 and a analog output board, the 6713. I`m building a system that generates sine wave forms and I need to change the frequency of the generated waveform without stoping the generation. Can I do so? And how?
    Thanks.
    Ismail.

    You can invoke the "AO Clock Config" VI after invoking the "AO Start" VI to change the update rate without stopping the generation. The "Function Generator" example does exactly this.
    Geoffrey Schmit
    Fermi National Accelerator Laborary

  • How to reset buffer pointer for analog output generation?

    I am doing a finite analog output generation on a USB-6216
    Sequence of events:
    DAQmx Create Task
    DAQmx Timing (finite samples, 1000Hz)
    Use DAQmx timing property SampQuantamples per channel to set buffer size
    Write buffer with DAQmx Write
    Repeat
      DAQmx Start Task
      DAQmx Wait until done
      DAQmx Stop Task
    Until finished
    DAQmx Clear Task
    I get a full waveform output on the first iteration of the loop. On subsequent iterations I get only a small section of the waveform, but no error. It seems that it is regenerating the waveform, because when I switch off regeneration I get an error at Start Task, but before it can regenerate all the data Wait Until Done.vi decides that the generation is done and exits, stopping the generation.
    I have done this with a PCI device and it works fine; every call to Start Task generates the whole waveform again.
    OK, so it looks like after every waveform generation completes I need to reset the pointer to the start of the buffer, so that the Wait Until Done vi does not think the generation is done. Or - maybe there is a way to reset the "Generation Done" state?
    I'm sure there's an easy way to do this....?

    Hi CDancer,
    Many thanks for contacting National Instruments. If I can start by giving some general advice, it would be well worth posting your actual VI. This helps others on this forum in helping you with your application. 
    From the sounds of things, you want to do continuous analog output generation. I have had a look at the examples that come with LabVIEW and I think you should look at the one below.
    I would have a look at some of the DAQmx examples that come installed with LabVIEW. The following example would be particularly relevant I feel
    Cont  Gen Voltage Wfm-Int Clk-non Regeneration.vi 
    Please let me know how you get on.
    Many thanks,
    Andrew McLennan
    Applications Engineer
    National Instruments

  • CPICTRC File Generation from RFC Server application

    My company has developed a Windows Service that acts as a RFC Server application and pings SAP for remote function calls every so often. We have been running into an issue with the generation of a trace file when the SAP client is shut down. We have tried multiple methods to stop the generation of the trace file but each time it is generated as soon as the connection to the SAP client is severed. Below are the three methods we have used:
    1) Pass TraceLevel = 0 into the RegisterRFCServer method when we register our server application.
    2) Set the CPIC_TRC and even CPIC_TRACE environment variables to 0.
    3) Unchecked the 'Trace' checbox on the RFC destination in SAP.
    Each time we have tried this, even after setting the environment variables and rebooting we see that a CPICTRC file is being generated in the System32 folder with the contents similar to below:
    trc file: "CPICTRC1968", trc level: 1, release: "711"
    [Thr 5836] Sat Sep 19 17:06:15 2009
    [Thr 5836] opened by SAP_CMACCPTP (version=711.2008.04.28)
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    Does anyone have any idea why this file is being generated even though we are setting the trace level to 0 and, more importantly, how we can go about preventing this file from being generated?

    Hello Rob,
    I assume the gateway trace level is "propagated" from the SAP system to the external server program.
    Can you please check SM59, "Special Options"? There should be a section headed "Send Trace".
    If here the option "Default Gateway Value" is activated, try switching it to  "Do Not Send Trace".
    (Or alternatively you can turn off the gateway trace in transaction SMGW: Menu entry "Goto --> Trace
    --> Gateway --> Reduce Level")
    Best Regards, Ulrich

Maybe you are looking for

  • Need a report for O[pen Purchase orders

    Hi All, Is there any standard report for open Purcahse orders for particular plant, my client requires one report of open P.O quantity to know the stauts, like 3 senerios example there is P.O No -100, and 3 line items l 10 - X - 10 Nos deliveird 10 N

  • File Or Proxy Which is better in Performance?

    Hi Friends,          In one scenario we are sending data from R/3 to legacy System.. The amount of Data Could be around 2000 records(Each record having just 5 fields).. For retreiving data from R/3  we are thing of going for Proxy... At the same time

  • UnsatisfiedLinkError in OracleRuntime.exitSession

    Hi experts, Whenever I try to exit from a session by using oracle.aurora.vm.OracleRuntime.exitSession(1), I get a UnsatisfiedLinkError :exitSession_. Now this happens whenever there is a native method declared whose implementation is not avaliable in

  • Need help regarding report ( i need the transaction code copy of the query)

    Hi, I want to copy the query designer fields and those field i have to use another query for that can any one give me the transaction code for copy query thanks phanidhar

  • Workflow to delete certain finder items

    My workflow (which backs up FileMaker Pro databases from FileMaker Server) does this: 1. Mounts an AFP volume 2. Creates a zip archive of the data folder to an AFP volume 3. Changes the name of the zip archive to from name.zip to namedate.zip iCal ru