Best way to remove lines of 38million?

Hello

ENV: Oracle 11 g 2 (11.2.0.3.6) on the file system, Oracle Linux 6.2 64bits

I was invited to remove redundant/old data from a table that has not been cleaned for long loooong.

Select count (0) PI PROC_INST

where there is not (select id

of ids_to_keep rb

where rb.id = pi. RAW_BUFFER_ID

)

and pi.instruction_type not in ('URL1', 'URL2')

Returns the count = 38442973

Delete it:

remove IP PROC_INST

where there is not (select id

of ids_to_keep rb

where rb.id = pi. RAW_BUFFER_ID

)

and pi.instruction_type not in ('URL1', 'URL2')


I tried to delete like this, but it failed with "ORA-30036: unable to extend segment by 8 in the undo tablespace ' UNDOTBS.

What is the best way to remove pieces and validation for each segment of deleted data?

Best regards

How many lines will remain in the table? Maybe create a new table using ETG and exchange the original after the operation table would be more efficient (if the table is not in permanent access).

Tags: Database

Similar Questions

  • Best way to remove millions of records


    Hi gurus

    Just for my goal of learning, which should be the best way to remove records from the entire table containing millions of records, I know about truncate command, but is there any other way around?

    Concerning

    Muzz

    Hello

    If you want to remove all the lines, then nothing can TRUNCATE TABLE for performance.  You cannot RESTORE a DML, as TRUNCATE TABLE operation, that's why it's so fast: he doesn't have to remember what has been deleted.  TRUNCATE TABLE will leave privileges, constraints, triggers, and intact the table storage parameters.

  • Best way to remove viruses

    Hello what is the best way to remove a virus? I was wondering I use ESET.

    Stay calm that's easily solved

    First download malwarebytes.
    If you get redirection problems and you can't navigate it download it from this link
    http://download.CNET.com/Malwarebytes-anti-malware/3001-8022_4-10804572.html?SPI=5eaa10a5b0b94be96245e49b2d32c622

    After download, install, and run a FULL system scan. None of these quick scan stuff.

    Then follow the steps here to reset the internet settings for windows XP
    http://support.Microsoft.com/kb/923737

    These instructions are for Internet Explorer, you will need to look at the individual instructions for each browser.

    Personally, I would recommend using Avast and run an analysis of rookit after you did all the rest, but that's just me

  • Have a rocket w / 8 gb 8 GB; What is the best way to remove the mp3s in double...

    I looked through some 50 pages and did not find the answer.

    I have a 8 GB Fuze w / additional removable 8 GB.  By mistake I put a few same songs on both discs.  What is the best way to remove these and if I do not remove them, she also ruin added playlists?

    Thank you

    Connect it to your computer, set up 2 separate workstation boxes, one to an intern to exteranal and scroll down... delete the dupes of one of the disks and problem solved

    Edit: I forgot you questions about playlists of pesky things I barely use. Those that you might have to re-do.

  • Best way to remove

    What is the best way to remove the COMPLETE domain name and just leave the short name

    FOR EXAMPLE:

    I have:

    Scooby.Doo.com

    I want to:

    Scooby

    This is where I wish I could integrate the good old unix for this commands.

    Thank you

    Hello, drivera01-

    If you talk about string manipulation, you can use the Split() method, such as:

    PS D:\> "scooby.doo.com".Split(".")[0]
    scooby
    

    It doubles up on the character (a period) and then accesses the first element of the resulting matrix.  Is - for what you are looking for?

  • best way to remove all changes

    What is the best way to remove all changes that were made to an image in Camera Raw, to get the picture to the way it was originally?

    I'm surprised! I use Lightroom most of the time, and that's what the reset button. You can do this in bridge. Right-click on the image, then choose the development-> erase settings parameters. As an alternative, you can use your file system browser to delete the XMP files.

  • Best way to remove the clipping

    What is the best way to remove the clipping?  I tried

    restoration/effects/clip restoration (process) and...

    In some cases. It does not remove the distortion, even if the chart of the sound wave "seems good.  I just tried the presets.  Any suggestions?

    Thank you.

    Steve C2 wrote:

    In some cases. It does not remove the distortion, even if the chart of the sound wave "seems good.  I just tried the presets.  Any suggestions?

    Not really--and this is not really surprising that this does not work in all cases. in fact, it is quite surprising that it works at all, in many ways. Obviously, the worst of the peaks of the break less information will be missing, and when the break comes to the point where the distortion is audible, then lot of data reconstruction is not just there for the software to make assumptions about - no cure so that it is possible.

    Only one pic is not too difficult to reconstruct - you have the slope of the wave of hand and on the other, and all you have to do is find where are the points of y-intercept of the two tracks, and who will be actually rebuild - probably quite precisely. But at the time wherever your clipped signal effectively contains two or more peaks, especially if they are part of a long harmonic, then reconstruction can actually do the distortion that you will inevitably get worse. This is because the software only attempts to reconstruct the waveform of the tracks on part and on the other of the clip, (information) as well as harmonic any expected have been there becomes altered, virtually useful - where increased distortion.

  • Best way to remove points, sections unwanted in CS3

    Hi all

    I am trying to remove a certain element of a path of access/vector based on the position (overlapping) of another path. I found the tool Eraser just can't do everything and is not the best for movements precise or remove.

    As you can see below, I have a green line on the top of the vector background, and I'm trying to remove/delete everything to the right of the green line.

    ill2.JPG

    Not sure what is the best way to go about removing some like that. (I guess I have to some how mixed points and select or something?)

    I come from a background in photoshop.

    Any help would be great

    Raptor,

    Assuming that the Greenway past just by: select both, Pathfinder > divide, ungroup (Ctrl / Cmd + SHIFT + G) and delete the unwanted part.

  • best way to remove Norton from my IMac

    I want to remove Norton from my Mac. What is the best way to do it. I will download another anti virus application.

    So the instructions to do this are:

    https://support.Norton.com/SP/en/us/home/current/solutions/kb20080427024142EN_En dUserProfile_en_us

    It is extremely UNWISE to install any antivirus on any Mac application. It is not virus for OS X, so, at best, it's useless and at worst causes more problems than it solves. OS X needs no maintenance third party such as the antivirus utilities, cleaning or maintenance tools. Although there are zero viruses for OS X there is a VERY small amount of malware that is easy to avoid:

    If you follow these simple guidelines your system should function without problem for years!

  • What is the best way to remove a hum in the context of multiple clips

    I have about 40 short excerpts with the same buzz in the background. What is the best way to get rid of it? I know how to make a video, but I can do everything at the same time? When the workflow is the best time to do this? Should I use an adjustment layer?

    Thank you!

    I always do everything removing Hum as the first operation. As Bob says it depends on snoring, but if it's typical induced current then the DeHummer tool is the best to use. Once you have found the right settings you can save as a favorite and the use of batch processing to remove all clips at once.

  • Best way to remove the apostrophe from the string when loadiing

    Salvation by using an insert statement to load the data some string apostrophe.

    Please make sure that all aposrophe of removed from these channels on loading.

    What is the best way to reach EThis.

    Uisng 11.2.0.3


    Thank you

    One way:

    with data as
    (
      select 'some '' data' col from dual
    )
    select col, replace(col, '''', '') rep
      from data;
    
    COL         REP
    ----------- -----------
    some ' data some  data 
    
  • I got my wife a new iphone 6 and I'm going to use his old iphone 6. What is the best way to remove his contacts/music/etc. and mine install on old phone?

    Wouldn't be better to do a full restore to old phone via itunes?  And then his 'old' connection phone to my macbook and install my info to the Cloud?  What is the best way to do it?

    Follow the procedures described in: what to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support

    To get your content on the phone: restore your device from an iCloud or iTunes backup - Apple Support

  • best way to remove duplicate files

    What is the best program to remove duplicate of my computer files

    Hi tomsmith1,


    Method-

    You can see the article mentioned below to remove the files in dual-

    Eliminate duplicate files

    http://Windows.Microsoft.com/en-us/Windows-Vista/eliminate-duplicate-files

    Note: the article mentioned above is for Windows Vista. But, it remains valid for Windows 7 as well.

    In addition, you can use your favorite search engine to search for third-party software on the internet that can help remove the duplicate files on the computer.

    Note: using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of Third Party Software can be solved. With the help of third-party software is at your own risk.

    Hope this helps!

  • What is the best way to remove variables?

    I need to remove several variables to repository and the initialization block that contains.

    They are not referenced in the company or the presentation layers.

    What is the proper way to remove them?

    Thanks in advance for any response.

    There is no set procedure for Oracle/Siebel.

    The RPD does not hurt if you follow or don't follow any procedure.

  • Have LR 2015 best way to remove the old LR CC 5.7

    Hi guys,.

    Looking for the way to remove the old 5.7 LR CC see that I now have the new CC LR 2015

    ....... Gary

    Manually uninstall Lightroom

Maybe you are looking for