Using 'STORAGE of REUSE' with the command 'TRUNCATE TABLE '.

Because ' truncate table... reuse storage "speed up the tronquantes process?

Sometimes statements truncation takes about 30 minutes and other times just a few minutes.

What are the backs of uinsg print 'reuse storage?

The RE-USE of STORAGE clause is used to prevent the allocated storage of back to the pool.
Consider this scenario for a typical daily load of an intermediate table

1. Empty the table of yesterday's data - TRUNCATE it
2. Load the table with today's data - INSERT 

If you load a large number of records it takes time for Oracle to allocate storage for records
When you use Oracle TRUNCATED must return the storage allocated to the pool.
Then when you INSERT new records, that oracle has to allocate the space that he could have used, but returned to the pool.

If you use TRUNCATE... RE-USE of STORAGE Oracle truncates the table but keep the storage and it will reuse the same storage
When you do the INSERT instead of having to take the time to allocate new storage.

So, there are two options to speed up ETL processes like that.
1. use TRUNCATED... RE-USE of STORAGE and a standard INSERT query

2. use TRUNCATE and INSERT / * + APPEND * / and make the table NOLOGGING to INSERT it. This will make a big
load. Oracle must allocate space, but the load mass will make them more effective than a standard INSERT.

-editing to update after reading the reference asktom
Storage of back to the pool takes time, so REUSE STORAGE of coding may be faster. The real advantage comes with the next load of data, however if you use a standard INSERT (and not in BULK or direct load) because Oracle failed to reallocate storage.

If RE-USE eliminates the return of storage to the pool, as well as the allocation of the new storage for the next INSERTION.

Published by: rp0428 on February 20, 2012 11:16

Tags: Database

Similar Questions

  • Whenever I have download an image with the command "save the image under...". ", it records in a useless file of 168 bits.

    As stated, whenever I have download an image with the command "save image under" he recorded in a useless file of 168 bits. This does not happen everytime I have save an image, but more often the not, and I don't have a lot of useless files hang out because of this. Is it possible to re - download each image 168 bits that he should have been downloaded in the first place? Is it possible to ensure that this does not happen?

    Here's what it looks like:
    http://i.imgur.com/yzgwwgC.gif?1

    This means that you are not allowed to do this action.
    The site could use a transparent overlay image to protect the actual image or otherwise has put in place a protection.
    You can check if see you the image in "tools > Page Info > Media ' and save it.

  • on port 162 java.exe running. I tried to kill him with the command prodess k 1289. 1298 here is the process ID. but it comes back again. I need the port 162 for sending traps.

    original title: port162

    Hi, on port 162 there is a process called java.exe running. I tried to kill him with the command prodess k 1289. 1298 here is the process ID. but it comes back again. I need the port 162 for sending traps. I first removed java completely from my pc, but still there was this java.exe. in fact, there are two java.exe if I check in the running task manager. need help. I also ran antivirus as well as anti-malware software, but no difference.

    Hello

    I suggest you to visit these links and check if it helps:
    http://www.Java.com/en/download/uninstall.jsp
    http://Java.com/en/download/help/regkey_addremove.XML

    Have you tried to change the port to Java? See this link:

    http://www.Java.com/en/download/help/proxy_setup.XML

    It will be useful.

  • How to remove a shortcut with the command line?

    How to remove a shortcut with the command line?

    How to make a backup of the local users and groups with command line?

    You delete a shortcut, just as you would remove any other file.  A shortcut will end with the extension ".lnk".  So assuming you are trying to remove the shortcut named "Shortcut.lnk" which appears to the user 'Bob's Office, you use the button Delete (del) or 'clear' command by specifying the full path to the file.  (Remember to put filename in quotes if there is a space anywhere in the path or name) as in:

    del "C:\documents and settings\Bob\Desktop\Shortcut.lnk".

    What kind of a backup 'users and groups' you want to do?  If there is a backup of the users and groups as written in the registry, a good registry as C:\WINDOWS\ERUNT backup program that will make the command line.  If you are trying to backup all users and their data as well, then you are better off with a backup program.

    HTH,
    JW

  • Need help with the command options of codec C40

    Hello! I plan to buy a few codecs C40 and seller offers me to buy three options for this, but I can't find a description of these options. Seller is not so appropriate as I would like and these options cost a lot. They are here:

    LIC-INTP-C40-DD Option of dual inclusive package C40
    LIC-INTP-C40-SM IntPkg Codec C40, 4Way individual transcoding Multisite
    LIC-INTP-C40-PR IntPkg Codec C40Premium resolution (1080 p/720 p 60) Option

    I found the document with similar options here (table 3), but there is also no description:

    http://www.Cisco.com/en/us/prod/collateral/ps7060/ps11304/ps11312/ps11332/data_sheet_c78-628593_ps11422_Products_Data_Sheet.html

    I think that these options it is me

    one) to use two screens (only two or more?) with C40

    (b) serve as C40 MCU for up to four sites without going through any additional autonomous MCU

    (c) to use video FullHD for videocalls (but I'll buy cameras 1080 p for C40, I need licence also for C40?)

    So, I would ask someone who is familiar with the command of Cisco/Tandberg to describe these options.

    You are actually right on your assumptions and descriptions, you just pretty much what each of these options do listed.

    Dual display-

    C40 has the ability to display the same video on both outputs by default, if you do not get this option.  This option is to display two separate video sources on two screens, such as: Farsite on output 1 and content/selfview on output 2.

    High resolution-

    You might be buying cameras 1080 p but resolution premium will allow you to pass resolutions higher during a call.  You can still view the full HD video when not in a call although if you choose not to get this option.

  • Storage migration fails with the error: could not complete the network copy to path to the file

    Hello

    I have two hosts ESXi 5.5 with local storage and VMware vCenter device which manage them. Everything worked well until that time.

    Now when I try to make the host migration and storage, processing or power off the virtual machine, I get the error message:

    Could not complete the network for file /vmfs/volumes/.../path/to/file.vmdk copy

    The situation is the same when I try to deploy VM on ESXi-2 model that is on ESXi-1.

    All with the network configuration is correct. I have ping between the hosts on ESXi and ESXi and vCenter. No firewall hosts ESXi and vcenter. No physical firewall between hosts.

    The network latency is less than 1 ms. No packet loss.

    I read this VMware KB article: Storage migration fails with the error: could not complete network file copy and I tried solutions explained here, but the results are the same.

    You have ideas where the problem may be?

    Hello guys,.

    I finally found the problem.

    ESXi servers are configured with MTU 9000, but the switch where the hosts are connected was a bug documented with frames. I found the problem after finding this article http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003734

    I run the command of ESXi-1:

    vmkping - d-s 8972 192.168.10.12 where 192.168.10.12 is the ip address of ESXi-2

    The result was:

    3 packets transmitted, 0 packets received, 100% packet loss

    as a workaround, I reduce the MTU to 1500, then I patched the problematic switch.

  • How the values to insert into the table with the command insertion

    Dear all
    can someone tell me how the values to insert into the table with the command insert, I want to say I always use command insert behind my forms on what shutter release button press the button of my save, but today I had a form of 6i, where controls (textbox, combo, etc.) are delineated with directly the table with I guess than the Properties Windows , I created 3 columns in tand 3 text on forms fields, now kindly tell me how to do this fields to fill and do not insert command, I mean directly defined with table column



    Please help me its urgent

    Hello

    If the block is based on your database table, just committed the shape, then changes will be applied to the database.

    François

  • Can I use an SD card with the new MacBook?

    Looking to buy a new MacBook. From what I can tell there is no SD card reader.  I don't see any accessory adapter for SD readers either.  Is it possible to use an SD card with the new MacBook?  Thank you!

    Only I can find is for iOS devices > > http://www.apple.com/shop/product/MJYT2AM/A/lightning-to-sd-card-camera-reader?f node = 91

    On the SDXC - Apple Support and SD card slot

    I hope someone will find an adapter for you.

  • Is it possible to use iCloud shares photos with the two opening and Photos at the same time?

    Is it possible to use iCloud shares photos with the two opening and Photos at the same time?

    Non - PEAK is not a feature of iPhoto or Aperture - this is new with Photos

    LN

  • Block the ip address in the server with the command cmd win

    Hello

    In win server how can I block IP with the command cmd?
    Thank you

    The server gurus hang out more in the TechNet forums:

    http://social.technet.Microsoft.com/forums/en-us/categories

    Here, we help with questions and problems of security.

  • Deployment of final application with the command line Question

    OK so I have my finished application.

    on a folder in my office called "CODBOUG".

    So I tried different methods to run the application and complete the test on the Simulator with the command line. But it's just too much. So I need your help community!

    I tried:

    BlackBerry-deploy-installApp-package CallofDutyBlackOpsUltimateG

    uide.bar - device 192.168.18.128

    I'm a little lost with the help of the command line, if someone could guide me on the right lane.

    I'm on windows, btw.

    Thank you.

    When you run a command, Windows will search in a series of directories for this program to run. The list of directories is stored in what is called an environment variable. You must add the path to the bin of the sdk at this variable directory (e.g. C:\Program Files (x 86) \Adobe\Adobe Flash Builder Burrito\sdks\blackberry-tablet-sdk-0.9.3\bin).

    You can access the path variable by right-clicking on my computer > properties. Select the Advanced tab and click on approx. Variables.

    Under System Variables, search PATH and edit it. Add the path to the sdk bin directory (make sure that there is a semicolon, that separates the directories).

    Open a command line window in the directory where your .bar file. When you run the command, Windows will look for blackberry - deploy and can be found in the directory that you have added to your PATH variable so to run it.

  • Stop a download frozen with the command prompt?

    I was able to stop a recently by installing anti-virus software, but I got lucky. The program did not run and it seemed just to complete the download as a by-product of the initialization. I want to do with the command prompt. Anyone know how?

    Hello

    There are several commands that you can try, my favorite is "exit" (without the quotes);

    "Ctrl + X".

    "Ctrl + Alt + Delete" (once)

    Kind regards

    BearPup

  • Is it possible to use two different computers with the same adobe - ID and the same adobe license?

    Is it possible to use two different computers with the same adobe - ID and the same adobe license?

    Hi Morten,

    Yes, you can have your subscription or your license installed on two different computers with the same adobe id, however use one at a time.

    Please let us know if you have any questions, more about it.

  • Certification of storage - tests failed with the "VM is in an invalid POWER State for operation"

    The LunReset TargetReset testing and Certification VMware Ready storage has failed with the following error:

    [< Timestamp > TESTHASH] [0] ERROR: cannot run processSetup for configuration: cannot run handleHostVMObj for configuration: RC: 7149 ErrDesc: VM is in an invalid POWER State for operation: ErrMsg: VM is in an invalid POWER State for operation: receiving Exception: com.vmware.qa.staf.common.EOperationFailed Trace: com.vmware.qa.staf.vc.vm.STAFVirtualMachine.checkAllowedCurrentPowerState(STAFVirtualMachine.java:1762) # com.vmware.qa.staf.vc.vm.STAFVirtualMachine.powerOn(STAFVirtualMachine.java:392) # com.vmware.qa.staf.vc.vm.VMSTAFService.handlePowerOn(VMSTAFService.java:4169) # com.vmware.qa.staf.vc.vm.VMSTAFService.acceptRequest(VMSTAFService.java:468) #.


    [< Timestamp > TESTHASH] [0] ERROR: cannot run processSetup for configuration: cannot run handleHostVMObj for configuration: RC: 7149 ErrDesc: VM is in an invalid POWER State for operation: ErrMsg: VM is in an invalid POWER State for operation: receiving Exception: com.vmware.qa.staf.common.EOperationFailed Trace: com.vmware.qa.staf.vc.vm.STAFVirtualMachine.checkAllowedCurrentPowerState(STAFVirtualMachine.java:1762) # com.vmware.qa.staf.vc.vm.STAFVirtualMachine.powerOn(STAFVirtualMachine.java:392) # com.vmware.qa.staf.vc.vm.VMSTAFService.handlePowerOn(VMSTAFService.java:4169) # com.vmware.qa.staf.vc.vm.VMSTAFService.acceptRequest(VMSTAFService.java:468) #.



    What can be done to fix this?


    TIA

    Try turning off all your test vm1 ~ vm16 initially. then run the test.

  • This protocol uses Agent to communicate with the Service

    Hello everyone, this is my first post in this forum and I want to shoot a question if someone could help me.

    I guessed that the communication between the api and the server at the time where the user will put api HQAPi = new HQApi (...) is with the http or https protocol, depends on the value introduced in the conf file.

    I would like to know what protocol uses agent to communicate with the service. I would like your ideas.

    Thanks in advance.

    Hello

    Welcome to the forums!

    Could you clarify your question a bit more? Looking for agent-> server HQ communication or agent-> communication monitored service?

    If this is an agent-> HQ server then they communicate with each other using foam which is a specific HQ communication protocol.

    If he's an agent-> monitored service it depends on the service.

Maybe you are looking for

  • update firmware 3.0.0f0 in 1900 to 3.5.0f0 and propellant myrio works not when use turn the engine.

    Dear Sir I run this problem when I updated the firmware in myrio 1900 version 3.0 to 3.5. Before update, thrusters worked fine using the runtime engine, after update, propellers no longer exists. Any help will be much appreciated! Thank you Long

  • Accuracy of the PXI-4110 and aid for the supply of the sweep of the voltage-2, 5V to 2, 5V

    Hello I want to know about the accuracy of PXI 4110 DC power. I use 4110 PXI to apply a voltage sweep-2, 5V to 2, 5V with a 0, 5V step using Labview, how can I do?

  • 3D photo

    Hello I want to draw a 3d image of the rail in labview and then I want to map the values in the 3d rail. How can I draw the railroad? I can draw track in solidworks and I can import it in labview? Are there examples?

  • Windows Vista 0 x 80070020

    Hallo, IK had nog Windows XP op mijn laptop Haag en ik wil nu upgraden naar windows 7.In good om you principled mijn bestanden veilig waren dat had ik windows vista have illegaal gedownload maar ik heb nodig SP1Maar ik squeeze telkens een error! Gene

  • Exposing cascading fonts

    In any case to police detailing QML? Example cm3 I see they're exposing in the native application of calculator, so I think it's possible. Thank you