What is better/more quick method to create a table (Oracle 11 g 2 dB)?

Assuming that there are no statistics for the source tables - tables are deleted and recreated every day

My paintings have a few million lines

I'm trying to create a filled with data as quickly as possible via

1 createtable_name as SELECT * from emp;

2. create table_name

Parallel degree 4

in SELECT * from EMP ;


I have 1 case I had some time 34 Sec

In case 2, the table was created in 15 Sec


In oracle other possibilities to create a much faster with this DEC?


Or it will be faster when I create a table using create table_name

(

column1datatype [NULL |] NOT NULL],

column2datatype [NULL |] NOT NULL],

...

column_ndatatype [NULL |] NOT NULL]

);

or maybe I should use this method

INSERT /*+ APPEND */ INTO empSELECT * FROM all_objects;

INSERT /*+ APPEND_VALUES */ INTO emp SELECT * FROM all_objects;

or it is better to simply creating a table

and to use the FORALL in BULK IN THE COLLECTION instruction

combination of Pentecost of the

INSERT / * + APPEND * / INTO emp;


I encourage you to test different options - as you did for the first two variants: personally, I think that it is much easier to remember these things if I did the tests myself - instead of trusting in the results of others. IE I don't think that there is something more fast parallelized ETG (perhaps with a clause (*)) additional nologging by using path direct inserts (although that INSERT APPEND select should do the same). I expect the operations in PL/SQL block to be slower.

(*), but you should consider the consequences of NOLOGGING for your backup strategies + recovery

Tags: Database

Similar Questions

  • What is better/more-fast: indexes all first or inserts first?

    I created a couple of TABLEs.

    Now I have todo, more than two tasks:

    1.) Insert about 50000 to 100000 records in each TABLE
    2.) CREATE index for these tables

    What is better/more-fast:

    Do not perform on the first task 1. or a task 2?

    Peter

    If it is possible to load the data in ascending order (linked to index), consider this note of documentation of CREATE INDEX:

    KIND | NOSORT
    By default, Oracle database sorts the index in ascending order, when it creates the index. You can specify NOSORT to indicate to the database that the lines are already stored in the database in ascending order, so that the Oracle database is not necessary to sort the rows when you create the index. If the indexed column lines are not stored in ascending order, then the database returns an error. For most saves space and time to sort, use the following clause immediately after the initial loading of rows in a table. If you specify any of these keywords, then SORT is the default value.

  • What is the most modular method to create a 'plan' generated automatically?

    I have a 'plan' that I am currently building a test at the beginning. My "plan" consists of 3 levels of the Organization; the unit, the Group and the arrangement.

    There are a few types of units that I intend to create, but I'm looking for only a few basic methods; I can shake the details in regards to specific controls, resizing, positioning, etc.

    There may be<= 4="" units="" per="">

    There are 4 positions in each arrangement; one for each possible unit.

    There may be<=20 groups="" in="" the="">

    There is only a single arrangement; the arrangement is the entire floor plan.

    Each unit is composed of some Boolean LEDs, progress bars, graphs of waveform and digital indicators.

    Each group is simply an arrangement of units; with an indicator of string as a label.

    The arrangement (floorplan itself) is just an arrangement of groups.

    I considered simply create typedefs for each control so that I can change or resize each if necessary control and have the changes automatically cascading, but is there a way for me to create a typedef for each unit, although it contains several controls? Within the unit, all controls will have a size and position, so it would be nice to be able to resize and rearrange the controls in the unit and have all these changes cascade to all units. It would also avoid having to define the positions of each control for each unit (I could just define the position of each unit).

    I've attached a screenshot of the arrangement (floorplan) .jpg because it currently displays. You can see that inside, there are 8 groups (labeled SX #) and 4 groups of different type (labelled RC #). Within each group, SX, there are 3 units (with a color box gray placeholder where a 4th unit could display).

    I know my questions can be very basic and obvious to experts on this forum, but I have very little training LV, so I am left to my own here.

    Thank you for taking the time to read my message; I hope it is at least as clear as mud.

    You can create a definition of a cluster type and a cluster can contain several data types.  That answer your question?

  • quick method to create a new layer under the current layer?

    would be the best way to quickly create a new layer slot rather than above the active layer to assign a script to a keyboard shortcut - or is it possible to change the default new layer shortcut (command + option + SHIFT + N) to create a new layer above the current layer to create rather a under the active layer?

    Thank you

    Command-click the new layer in the layers Panel button.

  • I use Windows XP - what is better/less expensive to switch to Win7?

    All indications are that I should switch to Win7 - what is cheapes, more quick way to do this?

    Hello

    "To upgrade your Windows XP computer to Windows 7, you will need to select custom during installation of Windows 7. A custom installation keeps your programs, files or settings. It is sometimes called a 'clean' for this reason installation.

    A custom installation is more complex, and it can sometimes take a couple of hours to complete. We created this tutorial in five steps to guide you through the process every step of the way. »

    http://Windows.Microsoft.com/en-us/Windows7/help/upgrading-from-Windows-XP-to-Windows-7

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Before purchasing Windows 7, follow these steps:

    Go to your computer / computer laptop manufacturer Web site and see if Windows 7 drivers are available for your make and model computer / laptop.

    If this is not available, Windows 7 will not properly work for you.

    Run the "Windows 7 Upgrade Advisor.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=20

    Check if your specifications are compatible for Windows 7:

    "Windows 7 system requirements"

    http://Windows.Microsoft.com/en-us/Windows7/products/system-requirements

    "Windows 7 Compatibility Center" for software and hardware:

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    Windows 7 upgrade paths:

    http://TechNet.Microsoft.com/en-us/library/dd772579 (v = ws.10) .aspx

    «Installation and reinstallation of Windows 7»

    http://Windows.Microsoft.com/en-us/Windows7/installing-and-reinstalling-Windows-7

    And the Microsoft Store where you can get an idea of the price of Windows 7:

    http://www.microsoftstore.com/store/msstore/en_US/list/CategoryID.50726100

    See you soon.

  • Multimedia player that allows some of my WAV files to be played in a more quick read but other WAV files are NOT allowed to read at a faster speed.

    original title WAV file: windows media player

    Multimedia player that allows some of my WAV files to be played in a more quick read but other WAV files are NOT allowed to read at a faster speed.  Any suggestions on how to fix?

    Thank you

    Hello
    1 did you change on your computer before this problem?
    2. what happens when you try to play?
    3. what operating system is running on your computer?

    What version of the operating system Windows am I running?
    http://Windows.Microsoft.com/en-us/Windows7/help/which-version-of-the-Windows-operating-system-am-i-running
    Follow the suggestions and see if it helps.

    Method 1

    You can run Windows Media Player settings convenience store.
    Open the troubleshooting Windows Media Player settings Troubleshooter
    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Method 2
    You can read the article and then check.
    Change playback speed in Windows Media Player
    http://Windows.Microsoft.com/en-us/Windows7/change-playback-speed-in-Windows-Media-Player

    See also:
    Play an audio or video file: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/play-an-audio-or-video-file-frequently-asked-questions
    Play an audio or video file
    http://Windows.Microsoft.com/en-us/Windows7/play-an-audio-or-video-file

     
  • a lot of programs at startup. Can I get rid of some of them while my computer will start more quickly?

    a lot of programs at startup. Can I get rid of some of them while my computer will start more quickly?

    To identify what loads when you start using Autoruns (freeware from Microsoft).

    http://www.Microsoft.com/technet/sysinternals/ProcessesAndThreads/Autoruns.mspx

    With Autoruns, you can deselect an item which disables startup, or you can click with the right button on an item, then remove it. If you clear the check box that you can check back for re - activate the element. It is an approach much safer than editing the registry and better than using msconfig.

    Another useful feature of the program is that you can click with the right button on an item and select search online to get information about the selected item.

  • Quick way to create a gradient of selected fill color?

    I create gradients all the time and I wonder if there is a quick way to create a gradient based on the fill color of the currently selected object. For example: I chose an area with a BLUE fill color. I'm going in the gradient panel and see that what the gradient will be if I click on it (which is usually based on a default gradient WHITE to BLACK, or it comes from the most recent gradiented object, I've touched). So I click on it and the gradient is enabled with the stops not being is not BLUE. What I want is... If I select a box with a BLUE fill and click on gradient - it will create a gradient with the two cases being the same BLUE as the fill color. It would be very convenient because instead of clicking on each stop, shift-eyedropping the blue color in an area of duplicated, it would begin immediately with the gradient of blue-blue for me to adjust (in the case below for a button I'd the superior light and lower darker stop).

    Screen Shot 2012-12-14 at 5.04.17 PM.png

    It is rather useful to select an object with a gradient to 'copy' this gradient, select a new object, click the gradient panel and have this new object to take on this exact gradient. But most of the time I'm not degraded copy but I'm creating new ones, and it makes more sense for me to create a gradient fill color. It would be helpful to someone else?

    This script is that it creates a gradient with both having the same color as the selected object

    var idoc = app.activeDocument;
    var sel = idoc.selection[0];
    
    var myGrad = idoc.gradients.add();
    myGrad.gradientStops[0].color = sel.fillColor;
    myGrad.gradientStops[1].color = sel.fillColor;
    
    var fillcolor = new GradientColor;
    fillcolor.gradient = myGrad;
    sel.fillColor = fillcolor;
    
  • I want to know if the activation of bluetooth in your iPhone setings drains your battery more quickly.

    I want to know if the activation of bluetooth in your iPhone setings drains your battery more quickly.

    Should be is a method of additional broadcast, constantly looking for devices. Although should not be unreasonable excessive. Don't think that I ever disabled my bluetooth.

  • Is iMac without retina k 4 at 2.8 GHz with more quickly than the iMac retina 4 k with 3.1 GHz?

    Is iMac without retina k 4 at 2.8 GHz with more quickly than the iMac retina 4 k with 3.1 GHz?

    In most cases you won't see much difference in performance using CPUs unless you do very intensive CPU.

    Maybe you can tell what your needs are for the computer, what you intend to use applications and then we can help suggest some configurations, you might want.

    In today's computers, which makes the greatest performance increases for typical users are (in this order):

    • SSD instead of a Fusion or rotation HD.
    • RAM
    • GPU
    • CENTRAL PROCESSING UNIT
  • JavaFX applets tend to download more quickly than the Swing applets?

    Historically, the biggest concern with Java applets is that they take too long to download.
    Is it true that JavaFX applets will download faster?
    In particular, using the properties CSS instead of all calls of the method of Swing, JavaFX applets will tend to be smaller and download more quickly (since the browser, not bytecode, will do the job to translate the CSS code of graphics commands that may include operating system)?

    Thank you
    John

    >
    The fold to my question asked where I got the idea that the browser should analyze the CSS of the applet code.
    I was just thinking about my history with applets and by far the biggest problem was the time to download, and it dawned on me that maybe CSS could speed things up. But which was only based on hope, not of fact. If you are sure it's the FMV, not the browser to treat the CSS, please say so, and I will consider my question to answer.

    I thought that I did already :-) For example, when you compress a JavaFX application you use the same code for the independents, the beginning of the web and the case of the applet. All CSS is managed inside of this code and the browser has nothing to do with it.

  • What consideration we should have have before creating the tablespace

    Hello
    I was asked this question in an interview. I have a large volume of data (for example 80 GB). Now, I have to create a tablespace to contain these data. What consideration we should have have before creating the tablespace.
    In fact, I could not answer after a lot of research, so I post here.

    Concerning

    Hello

    In 10g, you must create a locally managed Tablespace (MEASURE of the LOCAL MANAGEMENT) If you know the
    size of your Tables/indexes you can choose the size of the scale with the option of UNIFORM SIZE.
    If you have small and large Tables / Index, then choose the AUTOALLOCATE option.

    It is recommended to use SAMS with the SEGMENT SPACE MANAGEMENT AUTO option and then the PCTUSED
    is auto tune by an internal algorithm and FREELIST are managed by a bitmap. With this option, it is best to
    be with the last group of hotfixes.

    About BIGFILE Tablespace, if you use BIGFILE tablespace, you will have just a data file which can extend up to
    4G block (thus 32 TB if you have db_block_size = 8KB). And SQL syntax allow you to manage the 'big' with data file
    the same command for the Tablespace.

    But you should care the limit of your OS. Imagine that your operating system or the file system does not support very largefiles then,
    you have no advantage over the use of Bigfile tablespace. Also, you might have more than 1 data file.

    Smallfile Tablespace using your data files should not exceed 4M block (so 32 GB for 8 KB / block) but you can have
    up to 1022 datafiles on your Tablespace. So eventually, if you use the 1022 data files, you have the same capacity
    Bigfile Tablespace and you can use several system files.

    To 80 GB with 3 or 4 data files, you can easily manage this volume. But of course from time to time you will have to
    Add a new data file.

    Hope this can help.
    Best regards
    Jean Valentine

  • WHAT YEAR MODEL MODEL MC976LL/A WAS CREATED

    WHAT YEAR MODEL MODEL MC976LL/A WAS CREATED

    2012.

    http://www.EveryMac.com/systems/Apple/Macbook_pro/specs/MacBook-Pro-core-I7-2.6-15-mid-2012-retina-display-specs.html

  • 5.6.1 pages: How to create a table with more than 999 lines?

    5.6.1 pages: How to create a table with more than 999 lines?

    The table on Pages v5.6.1 line selector is limited 3-digit, as it is in Pages ' 09 v4.3. Either use LibreOffice Writer, who does not have any constraint line on processing tables 3-digit, or any application spreadsheet for top 3-digit row needs.

  • 5532 the desire: what size paper more big, I can print on the use of hp envy 5532

    What size paper more big, that I can use with this printer envy 5532

    Hi @traciekm,

    Welcome to the HP Forums!

    I noticed you're wondering what is the largest size paper you can print using the HP Envy 5532. I'm happy to take a look for you!

    According to your specifications of the printer, the paper sizes supported include:

    Sizes and paper types supported: (ordinary, inkjet, photo)

    Type of paper

Maybe you are looking for

  • Safari redirects all my tabs Web Spam or Popups

    Got an iPhone 5, iOS 9.3.1. Since yesterday, when I was watching by chance Facebook Safari began redirecting the 50% of my requests from web browser to some ad site called oneclick.com, which redirects me then directly to various annoying popus, decl

  • Windows installation disc needs for a new disk hard but is not available

    Hello The hard drive on my PC HP badly shot - he tells me I need to check for consistency, but it cannot and will not run chkdsk on a restart and will not let me create a restore disk. OK, I accept that I need to buy a new hard drive but I have no CD

  • Try to put my name as the owner on game of hearts

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem

  • BlackBerry Q10 transfer phone contacts of curve to Q10

    I have an old BB curve I love, but the buttons are falling, the screen is badly scratched and the lens of the camera is so dirty's is really unusable. So I purchase a new Q10 shining and want to know what is the best way to transfer contacts from my

  • Mouse Logitech 'smart move' does not

    Mouse Logitech 'smart move' (where pointer snaps by default) does not work.  It works fine on Firefox. I have RoboForm and on Internet explore when I opened a new site of the filling and opens the window submit on Roboform, but the mouse cursor isn't