Cancellation-TBS and very large update statements

Hello

to be sure that I'm right...

Currently, it need to update a table with 230.000.000 lines. A single statement attempted to update 14.000.000 lines, but this update statement failed after 29 hours with ORA-015555.

1 how long Undo-TBS store blocks? Only until the validation of the actual transaction, isn't?

2. on the table, we have 7 index on columns. Is it true, that we can reduce the amount of Undo-SCT for this operation if we remove some clues?

Kind regards

Mark

Ask DBA_SEGMENTS or DBA_ROLLBACK_SEGMENTS for segments Undo and V$ UNDOSTAT for usage of Cancel.

Hemant K Collette

Tags: Database

Similar Questions

  • Update with Decode and Dates of business statement

    Hi all

    I need to write a statement of up to DATE using the date of business rule. In general, the due date is 30 days from the date of payment. If the due date falls on a Saturday or Sunday then the term of the loan is 32 days.
    I know that to test a day of week, I would need to use the function to_char in Oracle with the format of a '. I did some research and found that to test what the week falls on November 12, 2007, I would need to use the expression to_char('12-NOV-2007','D'). This function returns a number between 1 and 7. 1 represents Sunday, 2 Monday,..., 7 Saturday.

    What I really would need to do, is to write a single UPDATE statement using an expression with the Decode function and to_Char function:
    UPDATE book_trans SET due_dte = expression

    These are operations that will need to be updated:
    ISBN 0-07-225790-3 retrieved on November 15, 2007 per employee 101 (book_trans_id = 1)
    ISBN 0-07-225790-3 retrieved on November 12, 2007 by employee 151 (book_trans_id = 2)
    ISBN 0-201-69471-9 retrieved on 14 November 2007 by employee 175 (book_trans_id = 3)
    ISBN 0-12-369379-9 checked on November 16, 2007 by employee 201(book_trans_id=4)

    Manually, I calculated the maturity dte and writes the update to each book_trans_id statement:

    UPDATE book_trans SET due_dte is 17-dec-07' WHERE book_trans_id = 1;.
    UPDATE book_trans SET due_dte is 12-dec-07' WHERE book_trans_id = 2;.
    UPDATE book_trans SET due_dte is 14-dec-07' WHERE book_trans_id = 3;.
    UPDATE book_trans SET due_dte is 18-dec-07' WHERE book_trans_id = 4;.

    As you can see, it is very heavy and I just want to know how to integrate everything into a single Update statement:
    UPDATE book_trans SET due_dte = expression
    So if a due date falls on Saturday or Sunday, the loan period 32 days; day of week, length of the loan is 30 days.

    Advice or assistance will be greatly appreciated. Thank you!
    due_date := checkout_date + 30 + decode(to_char(checkout_date + 30,'DY'),'SAT',2,'SUN',1,0)
    

    Concerning

    Etbin

  • recommended security cumulative ie8 and compatible display updates fail. can install it with the installer of standalone download but then ie8 does not connect. If I remiove update ie8 works very well

    recommended security cumulative ie8 and compatible display updates fail. can install it with the installer of standalone download but then ie8 does not connect. If I remiove update ie8 works very well

    Hi mikedav,

    Thank you for using the Microsoft Windows Vista Forums.

    Method 1:

    Microsoft has released a new "Fix it" solution that should automatically solve your problems with Windows Update.  Just click on the link below and follow the instructions.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    If you are not able to connect to the internet after you install the update, you need to optimize Internet explorer by following the instructions below.

    Method 1:

    Follow the instructions in the link below which will help you solve the problem.

    Tips for solving problems with Internet Explorer

    http://windowshelp.Microsoft.com/Windows/en-us/help/8038f9ac-9bf9-4809-8d75-fc42818d8af71033.mspx

    Method 2:

    Follow the instructions in the link below to optimize Internet Explorer.

    How to optimize Internet Explorer

    http://support.Microsoft.com/kb/936213

    Please post back and let us know if it helped to solve your problem.

    Kind regards

    KarthiK TP

  • The police and the size of my word document paper became suddenly very large. I don't know how to narrow it down to normal size.

    I leaned on my keyboard and suddenly the text and format of paper on my word document became very large, although I change all the settings. The police is scheduled for 11, but seems to be about 40. Do you know what I could have pushed for that to happen? How can I solve this problem?

    CTRL + wheel allows you to zoom in and change view Types

    UTC/GMT is 20:08 Wednesday, May 16, 2012

  • How to stop ghost backups in Windows Vista? The file is very large and cannot be defragmented.

    Hello.

    My friend has a computer with Windows Vista. Apparently, there's something that automatically done 'Phantom' backups out to "system restore." Which is an application of Windows Vista, or can only be linked to the software when Norton Internet Security has been uninstalled.

    This file is a very large file and cannot be defragmented. So, right now the computer shows it's 54% fragmented. Part of the name of the file is "Volume Information."... »

    Please, let me know how I may be able to stop these unnecessary backups. Onbly regular system restore is necessary.

    Thank you in advance,

    José M Romero

    This function called cliché instant and is a useful feature, take a look at:

    http://Windows.Microsoft.com/en-us/Windows-Vista/previous-versions-of-files-frequently-asked-questions

    If you want to get more space, you can use the cleaning disc and free up space in your hard drive.

    You can run disk defragnment to solve your problem to fragnmentation.

  • Need to free more RAM to sort and link several very large excel files

    HP Pavilion dm1 computer running windows 7 64 bit with Radeon HD graphics card laptop. Recently upgraded to 8 GB with 3.7 GB of usable memory.

    I have several very large files with more 150 000 lines in each excel file. Need to combine these 3-4 files and sort. Research to maximize the availability of memory.  The Task Manager is total view Mo 3578, available - 1591 MB, cache - 1598. Free 55MO.  A single instance of Chrome and Excel 2014 without worksheet are running.
    Appreciate your help.

    It's her! It worked... disabled the maximum memory and restarted.

    available memory is 7.6 GB to 8 GB. Oh boy, I can't believe it...
    Thank you guys. Many thanks to hairyfool, Gerry and countless others who have given pointers...
  • With the help of the network location and mapped a drive to the server FTP. during the transfer of very large amounts of the login information is always lost.

    With the help of the network location and mapped a drive to the server FTP off site; during the transfer of very large amounts of the login information is always lost.  Computer power settings are configured to not to do no matter what, I'm assuming that the ftp server can publish a scenerio timeout but is there a way for my computer and windows to restart the file transfer?

    Hello

    Thanks for posting your question in the Microsoft Community forums.

    I see from the description of the problem, you have a problem with networking on the FTP server.

    The question you posted would be better suited in the Technet Forums. I would post the query in the link below.

    http://social.technet.Microsoft.com/forums/en/w7itpronetworking/threads

    Hope this information helps you. If you need additional help or information on Windows, I'll be happy to help you. We, at tender Microsoft to excellence.
  • Helps when a special character and is included in the update statement

    Hi gurus,


    Please suggest me here. Your help is greatly appreciated.

    Am wririting an update statement on a column called Phone_num.description varchar2 (40).


    Here is my update statement:


    UPDATE Phone_num
    DESCRIPTION SET = "Beta - EMV / not for the purpose of Production."
    WHERE DIAL_NUMBER = 18662307528
    AND DESCRIPTION =' to & VERIZON';


    Here is the structure of the table:

    Phone_num. Description varchar2 (40)
    Phone_num. DIAL_NUMBER Number (11)

    Sample data:


    So when I run the sql script it pop-up is to highlight.

    Please suggest how I can handle this.

    Hello

    As John said, the easiest thing is just to disable the functionality of substitution of variables, saying:

    SET DEFINE OFF

    before the statement.  If you need to re - enable this feature, then tell

    ALL SET ON

    just after the statement.

    If you can't do that, then break the literal string in 2 parts immediately after the & character, like this:

    UPDATE Phone_num

    DESCRIPTION SET = "Beta - EMV / not for the purpose of Production."

    WHERE DIAL_NUMBER = 18662307528

    AND DESCRIPTION = ' to &'. | "VERIZON";

    You can't have a substitution variable whose name starts by ', then SQL ("more does not interpret &" as meaning a substituton variable.)

  • Lightroom showing constantly "unresponsive" and very slow since the last update. With the help of Windows 10. Extremely slow import!

    Lightroom showing constantly "unresponsive" and very slow since the last update. With the help of Windows 10. Extremely slow import!

    Hi Dear

    Please see this thread windows Lightroom CC 10 'unresponsive' number.

    Let us know if this helps

    ~ Assani

  • Size very large, even though it is only black and white

    Hello!

    I have a small question. I m of the Germany, I hope that you understand what I mean.

    Is it normal that the size of the image is very large, even if it's only a black and white image?

    I created an image with the 1920 x 1080 for my Web site. I created two variants.

    Alternative B is the one that I want to use. I created the A Variation to test, if the size is smaller.

    Here you can see that:

    http://content.screencast.com/users/Heizpad/folders/default/media/16151f15-C38F-47a4-a3ac-73e8793d2773/big%20Size.jpg

    Isn´t it's very strange, as the picture on the side left (alternative A) is lower, although it is one that has a lot more detail?

    Alternative B is only black and white with the black/white-filter?

    Can you give me an answer please, why the size is so important?

    Thank you! Best regards!

    -Max

    Yes, it's what I wanted.

    If you want to make the file smaller, try file > save for Web as a jpg file and explore the options.

    Be aware of the change in quality that you reduce the size of the file

  • value are of a sequnec and looking at a very large number

    Hello

    We have a table that has a column filled with a sequence - it is maintained by code in owb, but is growing at a rate higher than expected

    for example sequence begins to tell 10000000000, expect the next row until the b created with 10000000001 but the big gap between the two.

    Have a separate ticket raised with oracel for this as maintained by dimesnion opertaor code.

    However, I have two or three sequences of questions reagrding.

    (1) can how big be

    (2) if we try to application numbers that over 14 digits begins to show the e in the tool that we use (pl/sql developer) is there a way to make sure that we see the integer (sqlplus?) and
    I'm assuming that say if had number column that very large say 18 digits long attached to an another numbers table 18 long then no problem?

    Thank you

    If you take a look at the documentation for creating a sequence, you will see that the maximum value is 10 ^ 27, assuming that you do not specify a maximum. If you have generated 10.000.000.000 (10 ^ 10) sequence values every second, you don't miss in 10 ^ 17 seconds which is about 3 * 10 ^ 9 years (3,168,808,781 or 3 billion years). The Earth is approximately 4.5 billion years if your sequence would not run out of values for about half the current age of the Earth. For most systems, it's a lot.

    In SQL * Plus, you can control the display of a column using the COLUMN command

    SQL> ed
    Wrote file afiedt.buf
    
      1* select 1e20 col from dual
      2  /
    
           COL
    ----------
    1.0000E+20
    
    SQL> column col format 999999999999999999999999999;
    SQL> select 1e20 col from dual
      2  /
    
                             COL
    ----------------------------
           100000000000000000000
    

    Justin

  • How to get rid of the msg "...". is very large and may take a long time to

    Hello
    Simple question:
    How to get rid of msg "...". is very large and might take a long time to load... »
    I tried to increase the number of cells under "App settings-> options-> warn if greater than 5 000 000 000 data form. I even tried to '0 '. Nothing works planning 9.3.1

    Hello

    That's how I've always changed the number of cells, after which display the message on the forms of data.

    There are 2 levels of adjustment. You can configure the application level, but users must select "Use Application Defaults" in the planning of the preferences of the user parameters. To do this, use the file-> Preferences and select schedule.

    Otherwise, you can set the value of the number of cells at the level of the user for ' warn if data form more xxxx ". It should solve the problem. This should be the installation program if you have not selected checkbox default Application for the user in the preferences of planning.

    If nothing else works, it is very difficult to guess, I would open a SR with Oracle.

    Let me know if it helps.

    See you soon
    RS

  • Update statement with joins of tables and where Clause

    Hi, I have MS SQL background and I try to execute an update statement in Oracle with joins of tables. However, the syntax below does not work but I think it works for MS SQL.

    Basically, the base table must be attached to a master table trend with monthly snapshots, an account will be only an entry for a given date monthly. Where clause must be limited to accounts within a certain range of interest rates.

    The first approach returns command SQL ORA-00933 not correctly completed, and the second approach returns ORA-01427 row below query returns multiple rows. Can anyone help? Thanks in advance!



    1:

    Update PenaltyAll
    Set a.indicator = month (b.)
    of PenaltyAll an inner join Master b on a.acctno = b.accountnumber
    where a.monthend='01/31/2009' and b.date='12/31/2008' and b.apr < 20

    2:

    Update PenaltyAll
    adjustment indicator =
    (select to_char (b., 'MM')
    of PenaltyAll an inner join Master b on a.acctno = b.accountnumber
    "where to_char (a.monthend,'mm/dd/yyyy ') = 31 January 2009"
    (et to_char(b.date,'mm/dd/yyyy') = December 31, 2008 "
    and b.apr < 20)

    Published by: sqlrookie on August 21, 2009 07:04

    I edited my post, that was my mistake, ANC you try now?

  • I support a very large school district running Firefox 3.6. What will happen at the end of life date? In the online environment, we test this week.

    I run the test center for a very large school district with over 120 students of k. We have a current deployed at base of 54 client machines of k using Firefox 3.6. We have not upgraded for many reasons, of which the most important is to remove the possibility of use in navigation private students and dealing with plugin-updates for the digital non-born (read dumber than a bag of hammers users) that make up the majority of the customer base.

    We test ESR now, but only discovered this end of life for 3.6 is tomorrow, 4/24. We are currently in the middle of the scale of the State of online tests. The question is, what will happen tomorrow, when the browser will end of life. ESR wiki mentions that "an update to the current version of Firefox Desktop will be available through the Update Service Application"

    So the main question is, are my students/teachers goes to get a popup telling them that they have updated the browser if we have already turned off updates? If so, can I I disable remote using SCCM, because there will be all sorts of havoc.

    Please advise as soon as possible and thank you in advance.

    An addon like https://addons.mozilla.org/en-US/firefox/addon/disable-private-browsing-pl/ can help, or http://kb.mozillazine.org/User:Dickvl / Private_Browsing_disable (don't forget, this is beyond what this forum can help you with if you need help making these changes).

  • the menus appear initially very large or very small

    When in the Firefox browser if I click on a menu, it appears very large or very small. When I move the arrow in the menu change to the right size. This has not happened before. Is there a solution?

    Try Firefox Safe mode to see how it works there.

    A way of solving problems, which disables most of the modules.

    The problems of Firefox using Firefox SafeMode

    When in Safe Mode...

    • The State of plugins is not affected.
    • Custom preferences are not affected.
    • All extensions are disabled.
    • The default theme is used, without a character.
    • userChrome.css and userContent.css are ignored.
    • The layout of the default toolbar is used.
    • The JIT Javascript compiler is disabled.
    • Hardware acceleration is disabled.
    • You can open the mode without failure of Firefox 15.0 + by pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu.
    • Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox (without the Shift key) to open it again.

    If it's good in Firefox Safe mode, your problem is probably caused by an extension, and you need to understand that one.

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

    Or it could be caused by hardware acceleration.

    When find you what is causing that, please let us know. It might help others who have this problem.

Maybe you are looking for

  • For W530 port replicator

    I can buy a Replicator of 42W4631, but I'm not 100% sure if it does not fit into a W530. When I get on the Lenovo site, I see that it fits a W500. I DO NOT read a 'W500-SERIES', so I'm afraid it does not? Can someone help me please? Thank you!

  • Heating with G motorcycle problems

    I am facing heating problems with my motorcycle G... The phone becomes heat immediately using the WiFi also? Help me avoid this problem... I contacted the customer Service... They checked my phone and said that no hardware problem and they re install

  • Windows Search 4.0

    Do I need to Windows Search 4.0 downloaded on my computer for internet working properly?  I'm trying to free memory and delete things as much as possible.

  • RE: Acer Backup Manager, which is acceptable as long as the target is a cloud, USB

    I want to create a Mirror Image of my computer sucks in car. I think that it would take several CD-ROM is a cloud a possibility? Or do I have to buy a 1 TB external device? Thank you, Philip

  • Why my HP Mini laptop freezes?

    No matter if I'm the cat in line or play a game or something else, after only a few minutes to use the frrezes for laptop computer and all I can do is turn off and restart. This laptop is 1.5 years old and has done since the beginning. Due to health