Fastest way to Delete More than 20 Million Rows

Hi
We have a Huge database with about 20 tables having more than 1 billion rows each.
I need to delete more than 20 million of rows from each of those tables and the delete should also reflect on the Standby databases. Please suggest me a Fastest and best approach.
P.S : I cannot perform 'Create table new as select * from old where ....' due to lack of Disk Space.
Regards
Mudassir.

Mudassir wrote:
We have a Huge database with about 20 tables having more than 1 billion rows each.
I need to delete more than 20 million of rows from each of those tables and the delete should also reflect on the Standby databases. Please suggest me a Fastest and best approach.
P.S : I cannot perform 'Create table new as select * from old where ....' due to lack of Disk Space.
Do you need the entire delete to complete as a single transaction, or can you delete and commit each table separately ?
How many indexes do you have on these tables, and are they split between local and global.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)
"Science is more than a body of knowledge; it is a way of thinking"
Carl Sagan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Is there a way to delete more than one photo at a time in the Photo application?

    Is there a way to delete more than one photo at a time in the application Photos in the iPad? Thanks.

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • How do you delete more than one row on numbers?

    how do you delete more than one row on numbers?

    Hi operatorcarmax,
    Select the Rows (shift click works for me). Then hover the cursor over any selected Row label to see the upside-down triangle. Click on it to see a Pop-up menu.
    The Numbers User Guide is available for download under the Numbers Help Menu. A good read.
    Regards,
    Ian.

  • Is there a way to delete more than one email at a time on my iPad?

    Is there a way to delete more than one email at a time on my iPad?

    At the same instant?  No.
    Can you select five or six emails within about 5 seconds?  Yes - one at a time.

  • Is there a way to delete more than one message at a time

    on my iPhone 6 I can hit the edit link in messages and easily and quickly delete lots of messages at a time.  on my iMac it seems you have to delete one message at a time, which takes a lot more time........isn't there a way to delete messages in bulk in Yosemite messages?

    Hi,
    A single Bubble is a single Message or iMessages depending on the account it is with.
    A single bubble can be highlighted then the Backspace/Delete key used.  (the greys in this pic hardly differ to tell though)
    A whole chat/Conversation (Apple calls iMessages connections "conversations" and other connection have always been "Chats" since iChat 1) can be deleted by mousing over the chat in the list and using the x icon that appears without having to bring that one to the "front" or top.
    7:43 pm      Wednesday; March 18, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Is there a way to delete more than one layer at a time?

    As you would with regular files. I can't seem to highlight more than one layer at a time. I also tried linking the layers to be deleted but that didn't work either. Am I trying to do the impossible?

    Try;
    V+backspace then enter.
    On photoshop elements 1,2 and 3 this deletes only
    the layer that is selected, not the layers linked to it.
    On photoshop elements 4,5,6,7 and 8 this deletes the
    selected layer or layers.
    MTSTUNER

  • Deleting more than one row at a time

    Hey all,
    Im trying to be able to delete rows from my arraylist and UI table but im getting Index out of bounds exep.
    I think its because of the numbering, like counting through the i in the for loop is making it look at something different.
    Can anyone help?
    Thanks!
    selectedObjects = table.getSelectedRows();
                if (selectedObjects.length != 0)
                   for (int i = 0; i < selectedObjects.length; i++)
                        table.deleteRow(selectedObjects);
    rows.remove(selectedObjects[i]);

    I think its because of the numbering, like counting
    through the i in the for loop is making it look at
    something different.This is exactly correct.
    Personally I would look to see if those objects have a method named "clear" or "removeAll" or something like that, so you don't have to write that loop at all.
    But if you do have to write the loop, write a loop that continuously deletes the last entry until there aren't any more. This logic doesn't have the numbering problems that your code does.

  • Is there a way to delete more than one email at a time in the inbox. Also, how do I delete all the mail in the "delete" subfolder?

    I did found an answer for deleting inbox emails using the "shift" key but it is a slow process, as I have 8k emails. I find that they all go into the "delete" folder of which I have to go through the same process as stated above to permanently delete them. The "trash" folder I can right click on it and select "empty trash" and it is all gone. This feature is not available for the "delete" folder. Has anyone found an easy way to empty the "delete" folder?

    ctrl+a will select all emails currently shown. In delete folder just select mails using ctrl+a and delete them using delete button on your keyboard, or from context menu.

  • Is there any way to delete more than one email from the iPhone at a time?

    What if I know I've read everything already online - can I press my Mail icon and instead of opening & deleting one by one, can't I delete everything in my Mail that's there? THANKS!

    Use the edit button, then select all messages you want to delete, and press "Delete" button. You still have to select one by one, but you'd have to do it anyway.

  • How to delete more than one photo at a time

    Apparently there is no longer an iPhoto trash. So you don't drag photos to the trash. Instead you hit the delete key and then a second click on delete when you get the message "Are you sure you want to delete this photo." Has anyone found a way to delete more than one photo at a time, though? This is really a hassle if you have just imported 500 photos and are going to end up deleting 450 of them.

    I didn't say use the command key and delete. I use the command key for selecting random photos. Then I right click and choose delete from the contextual menu.
    I always use right click, but the command-delete does work also in that album.
    Depending on what album you are in, there are different menus. In a user created album, the right click would show "Remove from Album" & "Delete Photo". I noticed that was the same for Last Import Album. But at the same time, under image, you will only have Remove from Album. If it is a system album, you will only get the delete menu from either the right click or from the menu under Image.
    What you have to remember is if it days delete the photo, it will completely delete it from the library and all albums. If the menu says Remove From Album, then it will only be removed from the album you are in.
    In PhotoStream Album, you get only Delete Photo from the right click menu, but under image, you get only remove from album. So if you want to remove an image from PhotoStream, you have to use the top menu so it won't get deleted from the library. If you want to remove a photo completely, you would use delete and it will be removed from the library and photo stream.
    So, there are different processes for the different albums. I don't know if that is intentional or just oversight. That may change in the future.

  • How to delete more than one picture at one time in iMovie?

    In the timeline, can I delete more than one picture at one time, or do I have to right click and choose delete entire clip for each picture? I tried to select one (so that there's a yellow bracket) and then shift and choose the last picture (so all are now surrounded by yellow bracket), but when I right click and choose delete entire clip/ delete selection, only the first picture is deleted..
    Is there a way to delete more than one picture at one time?

    After selecting all the pictures, simply hit the Delete key on the keyboard.
    John

  • I want to delete more than one song at a time from iTunes

    I want to delete whole albums from itunes. Is there a way to delete more than one song at a time?

    Or Command click on the songs if they are not consecutive on the list.

  • Deleting more than one file at a time from Nomad Jukebox Zen Xtra 4

    Is there a way to delete more than one file at a time from Zen Xtra? Actually, I'd like to delete most of the 800+ files and the only way I've found is to do them one at a time..! Help!

    Either use finder to drag and drop those tracks onto
    "Library" in iTunes' left "Source" column or from
    iTunes Menu Files use "Add to Library ..." then
    navigate to a folder that keep a yoru tracks and
    select that folder.
    This did it! I was doing an "import" which would only let me do one song at a time. But the "add to library" and the drag and drop both worked. Thanks!!!
    New Mac user
    Scott in Alaska
    MacBookPro   Mac OS X (10.4.5)  

  • Deleting more than one song at a time in iTunes

    Is there any way to delete more than one song at a time off of my ipod in iTunes? After I plug my ipod in, I see all of the songs on it listed in iTunes but when I want to delete 100 songs I have to right click on ech song one at a time and select "clear". Very time consuming....is there a quicker way?

    In Windows, you can select multiple things by holding the Ctrl key and clicking . . . then clear them all at once. If they're all together, you can hold the shift key, click the first, then the last and the whole 'batch' will be selected and can be deleted.

  • Delete more than 1 photo at a time

    I am trying to clean up my bosses Iphoto libary.  Is there a way to delete more than one photo at a time?  If I were on my PC (I know...  bad word... sorry) I would hit control and then click the photos that I want to delete then hit delete.  I can't find that command on his Mac.  What is happening now is that I find one that he wants deleted, move to trash, then it takes me right back to the start.
    Any help will be appreciated.
    Thanks and have a great day
    Vicky

    Click on one to Select
    Hold the Command Key (Cmd, just left of space bar) and click for multiple selects
    For contiguous selects: Click on the first, hold the shift key and click on the last, all between will be selected
    Same all the way through the OS.
    Regards
    TD

Maybe you are looking for

  • Error downloading music video

    I'm getting this error, (err = 100000) Than its says, the file seems to be corrupted... If anyone could tell me whats going on that would be great, Thanks

  • GR/IR PRINT

    Hi.. I have configured output type for GR/IR, when i post the dcoument using MB1A and execute the transaction MB90 system is not detecting any output type for printing GR/IR slip, every time i have to go to chnage materail document and change the mes

  • Is there any prob in storing javaobject in Win platform & access thru Linux

    Hello friends, I have stored java objects in a file named test.dat by using java.io.ObjectOutputStream in windows platform. I would like to read the objects from the file using java.lang.ObjectInputStream in Linux platform. Is it possible....???, if

  • How can start the free trial of adobe captivate 8

    how can start the free trial of adobe captivate 8

  • Is it possible to create a numbered list with text label?

    I'm using Pages 5.0 on Mac OS X Mavericks. I'm writing a document that consists of tables and figures, which I'd like to number. For both objects I use a numbered list, which I prepend to the caption for easy reference. Ideally I'd like to have two l