What is the best way to display a large number of records?

I have about 12000 registry to commit to dababase.
What is the best way to do it?

Which depends on?

Today I can't commit so many registry... The dabatase seems hanged!

Thanks in advance

Xavi says:

Today I can't commit so many registry

It should be possible to insert tens of thousands of lines in a few seconds using an insert even with a complex query as the view object and validation at the end.

SQL> create table t as select * from all_objects where 0 = 1;

Table created.

Elapsed: 00:00:00.03
SQL> insert into t select * from all_objects;

32151 rows created.

Elapsed: 00:00:09.01
SQL> commit;

Commit complete.

Elapsed: 00:00:00.00

I meant RECORDS instead of REGISTERS.

Maybe that's where you're going wrong, records are to put on the turntables.

Tags: Database

Similar Questions

  • What is the best way to show/hide n number of columns?

    Hello

    I have a dynamic report that I have show/hide columns works using the code below. But when there is 500 or more lines, that it takes about a minute or more just waiting to see the columns that toggle.

    What is the best way to do it?

    Existing JavaScript
    [script language = "JavaScript" type = "text/javascript"]
    var mymonths.length = maxcnt;
    function hideMaxEarn() {}
    for (var j = 0; j [maxcnt; j ++) {}
    hideColumn('MON'+mymonths[j],'MAXCOL'+mymonths[j]);
    hideColumn('MON'+mymonths[j],'EARNCOL'+mymonths[j]);
    }
    hideColumn ('MON13', 'MAXCOL13');
    hideColumn ('MON13', 'EARNCOL13');
    }
    function showMaxEarn() {}
    for (var j = 0; j [maxcnt; j ++) {}
    showColumn('MON'+mymonths[j],'MAXCOL'+mymonths[j]);
    showColumn('MON'+mymonths[j],'EARNCOL'+mymonths[j]);
    }
    showColumn ('MON13', 'MAXCOL13');
    showColumn ('MON13', 'EARNCOL13');
    }
    function getCellIndex (pRow, pCell) {}
    for (var i = 0, n = pRow.cells.length; i [n; i ++) {}
    If (pRow.cells [i] == pCell) return i;
    }
    }
    function hideColumn (pMon, pCol) {}
    var l_Cell = $x (pCol);
    var l_Table = html_CascadeUpTill (l_Cell, 'TABLE');
    var l_Rows = l_Table.rows;
    l_CellI = getCellIndex (l_Cell.parentNode, l_Cell);
    for (var i = 0, n = l_Rows.length; i [n; i ++) {}
    If (I! = 0) {}
    html_HideElement (l_Rows [i]. Cells [l_CellI]);
    } else {}
    $x (pMon) .colSpan $x (pMon) .colSpan = - 1;
    }
    }
    }
    function showColumn (pMon, pCol) {}
    var l_Cell = $x (pCol);
    var l_Table = html_CascadeUpTill (l_Cell, 'TABLE');
    var l_Rows = l_Table.rows;
    l_CellI = getCellIndex (l_Cell.parentNode, l_Cell);

    for (var i = 0, n = l_Rows.length; i [n; i ++) {}
    If (I! = 0) {}
    html_ShowElement (l_Rows [i]. Cells [l_CellI]);
    } else {}
    $x (pMon) .colSpan = 3;
    }
    }
    }
    return;
    }
    [script]

    Hi Bill,

    Can you just check to see if the report actually adds the ID attribute for each TD. In a normal report, if you include the ENAME field, for example, all TD in this column have an ID = "ENAME". If this is the case, you can use document.getElementByID ("ENAME") to retrieve a collection of these - this would be faster browse this collection through the rows/cells.

    In addition, if possible, you should only perform research and calculations once. You have mymonths [j] several times in loops - create a variable to hold this for each iteration of the loop and refer to the variable. You also n = l_Rows.length in loop definition - put this above the loop that you only need to calculate this time.

    You can also find more efficient to perform ObjectName. style.display = 'none' * instead of the html_HideElement() method as it is easier.

    If FF3 was a bug in which does not hide the NECK tag columns, I suggest using those rather--it would mean the creation of a new report template, but it would have been the quickest method as you can style an entire column to style her NECK tag (drawback, it's that the NECK tag cannot be created dynamically so it should appear in the report model).

    Andy

    Published by: ATD 26 Sep, 2008 15:03

  • What is the best way to copy a large poster and print it?

    I am doing a project of great art (about 5 feet by 5 ft), where I'm going to learn things by hand and would like to make a copy of this project by analysing the it in the computer, or to take pictures high resolution project and their compilation together in the computer and then print the image at this size, or larger. So, I'll have the original, 5x5ft and one printed copy.

    What is the best way to achieve this?

    I heard that vector images are ideal for this, so is recommended for Illustrator this?

    I know it is a vector graphics program, but is it possible that I can take a bitmap of a scan or photo and somehow become a vector? If this is not possible, what are the recommendations would you?

    I have Illustrator CS2.

    I do not believe that the scanners large format are flat, if I'm wrong. In my view, they have a mobile head that scans the original bottle then made up the data with the software.

    It is not cheap, if the original can be easily damage they'll probably damage it unless you make sure that beforehand what they know about it
    and that they accept that they can scan without damaging it.

    Photography is a good solution if you know how the art of light and you use a long distance goal.

    The reason is shooting with a normal or wide-angle will give an effect of stretching the edges especially bandwidth due to the proximity of the camera to subject distance. The lens and the longer distance will accomplish the same capture without you stretching effect.

    Now, if you really have a service experience work fine arts or large commercial then scanning might be the way of.

    In both cases, I don't think you want to vectorize the art.

  • What is the best way to display lots of bitmaps

    Hello world

    My application should display a large number of bitmaps on the screen. Oringally, each bitmap is only in one color, but I may have to display bitmaps with textures as well. Now I have more than forty small bitmaps inside the BitmapField on a single screen, and it takes about two seconds to load and make it all. I read the bitmap directly an ARGB table.

    I have made the right choice? Or is there a better way to do it?

    If you complete just one Bitmap with one color, consider the following:

    Bitmap currentBitmap = new Bitmap(width, width); // you are creating squares, aren't you?
    Graphics g = Graphics.create(currentBitmap);
    g.setColor(color.getColor());
    g.fillRect(0, 0, width, width); // now your bitmap is ready - use it!
    

    Should be faster...

  • What is the best way to manage a large image with many tiny objects?

    The photo in question is a mosaic composed of thousands of small shapes in Illustrator. It's about 28 in. x 48 in, but there is a white space around the image. I'm less than a quarter of the way through, and I notice that the AI starts to be slow during the refresh of the screen for example when changing the zoom. The file is 13MB. I fear that the image is too big to have to effectively manage. Would you advise me to break down the image into quarters and put them together at the end, or do you think I will deal with the scale and complexity effectively? If I have to separate section, there's a useful technique to use for this? Thanks in advance.

    You should not cut the image to make your application more efficient.  If it is intended for large format, you can reduce the resolution of the image of what is appropriate for the output device.  If it is a project of offset press, a picture that size is still manageable.  13 MB, I have a feeling that something is causing the slowdown.  You have a disk of assigned preference work?

  • What is the best way to save a large file

    original title: I need to restore the default settings, but keep a file

    I need to restore the default settings, but keep a file. The file is a zip file that contains 7.35 GB of things I want to reinstall once I do the factory reset.
    Basically, I need to keep a file on my computer without it be deleted while I do a factory reset. I tried email and online storage, but the max download limit is only like 25MB. My file is 7.35 GB
    Is it possible that I can do this? I don't have the disk.

    Divide into 2 zips and burn it to a DVD or splurge on a USB stick which you can then use for backups?

    "Timmyboi93" wrote in the new message: * e-mail address is removed from the privacy... *

    I need to restore the default settings, but keep a file. The file is a zip file that contains 7.35 GB of things I want to reinstall once I do the factory reset.
    Basically, I need to keep a file on my computer without it be deleted while I do a factory reset. I tried email and online storage, but the max download limit is only like 25MB. My file is 7.35 GB
    Is it possible that I can do this? I don't have the disk.

  • What is the best way to have an indicator that scrolls the content of a table that is updated during the execution of a program?

    I have a program that runs continuously. During this time the errors are produced and I store them in a table. What is the best way to display the table in a window that the user can scroll upwards or downwards, while the program is running?

    Thank you.

    Hi chuck,

    If allowing you to feed two tables to the table you will see also all of these channels in the table

  • Is it possible to connect a simple 1 d array to a digital indicator or what would be the best way to display the numeric values of the array on the front panel?

    Is it possible to connect a simple 1 d array to a digital indicator or what would be the best way to display the numeric values of the array on the front panel? Examples or suggestions would be greatly appreciated.

    Thank you

    Tunis

    Thank you Adam, it's originally in a while loop, I placed it in a loop for example, wired County in the for loop and presto, this son of a digital indicator. It works very well. Thanks for the help folks.

  • What is the best way to move and organize records

    I recently bought a Mac Pro and have bought files across the FRO my windows laptop but what is the best way to organize the files iCloud or local drive and how do I move files in my list of "all files" in individual cases.

    In case you are not aware, all the files that you put in iCloud drive are on your disk local and iCloud.

    You can go to preferences in the Finder menu and specify whether you want iCloud drive to display in the sidebar of the Finder. I find that having it in the sidebar makes it easy to use. I also have other folders I used frequently in the sidebar; You can add the system ones (Documents, downloads, etc.) using this same preferences window. You can add folders that you created them by dragging to the sidebar of a Finder window.

    A way to move files into folders that you created is to open 2 windows in the Finder and drag it from one window to the other. Another option, if you move a file in one of the folders that is displayed in the sidebar is just do it from its current location in the main area of the Finder to the folder window in the sidebar in this same window of Finder.

  • What is the best way to configure the Cisco IOS password?

    I'm under 15.2 (4) IOS on a router in 1921

    What is the best way to set up the password of the router?  I already tried once and managed to block me on another switch.  I would use the most secure method that encrypts the password.

    Current config:

    username admin privilege 15 password 0 cisco123

    Hey Kevin,

    Use the secret keyword instead of the password for the password more secure and encrypted.

    The syntax that you are using will display the password in clear text.

    R1 (config) #username, 0 privilege 15 password test
    R1 (config) #exi
    R1 #sh runn
    * 00:00:25.523 Mar 1: % SYS-5-CONFIG_I: configured from console by console
    R1 #sh runn | in test
    username password 0 privilege 15 test
    R1 #.

    If you use the keyword secret then it will get encrypted.

    R1 #sh runn | in test1
    username privilege 15 secret 5 test1 $1$ PV6g$ sGMYxxmW8hD9Cdy7TsmHF0
    R1 #.

    Concerning

    Knockaert

  • What is the best way to transfer the file to a new larger internal drive?

    I am running win 7 ultimate.  I had two hard drives of 500 GB.  C is partitioned to 120 GB (not enough) I just installed a 1.5 terabyte drive.  What is the best way to transfer my data? I would keep the 500 GB (now C: and D :) and add the 1.5 to, I also have a 2 external to that I tried to move my libraries at, but I'm confused my system.)  I don't know much about indexing or mapping.

    \

    Consider transferring all the files that are currently in the second partition of 500 GB drive that is hosting the C: drive (you have referred to as D :) on the new drive.

    Once you have done this, you can then delete the D: partition since this 1 hard drive. This would then extend the C: drive to actually use all the 500 GB drive. Finally change the drive letter for the 1.5 terabyte disk d: it in disk management ( Diskmgmt.mscRun)

    So in the end you have a 500 GB C drive and a 1.5 TB drive D.

    When it comes to move libraries Windows has a utility to do it for you. If you click on your username at the top right of the menu start all your user profile directories are displayed. If you right-click on each one and select Properties, those that support this feature will have a tab 'location '. In this tab, it displays the current location of the file, but has a button "move". You move the folder and all its files and subfolders in a new location and update the references, the system uses for this folder.

    So if you created a folder on the D drive say 'Juli-year' and you right-click on Favorites, some properties, then on location you can move this summary folder in C:\Users\username\Favourites to D:\Juli-An\Favourites. Not all folders in the user profile supports this but all the c library files and a few others.

    Of course if you did as I suggested and ended with a 500 GB C drive you may need.

  • What is the best way to support the retina screens?

    Hello

    I've done recently for my custom panel UI code only, but my retina users report that everything is still pixelated (I did have the chance to find a machine of the retina to test yet myself). I had hoped to make the user interface in the code would make it works naturally, but appears not to be the case.

    In this research, I stumbled upon the users of mobile applications using FlexGlobals.topLevelApplication.applicationDPI together a target DPI, but appears not to exist in the CS Flex SDK 3.4.0 (which seems to be something Flex 4).

    What is the best way to support the retina display for my Panel? As far as I know, Flex 4 does not work with the CSXS library.

    Thank you

    Cameron

    Looks like there is no way for you to do this in Control Panel. We need to update some components to be HiDPI aware first. Stay tuned...

  • What is the best way to deal with a 'Implicit coercion' in a table to a sprite?

    Hi all!

    With the continued support of this forum, I'm getting closer to have a programme of work. I can't wait to be able to help others like me once I've finished learning the ropes of AS3.

    I'll briefly explain what I want to achieve and then followed with my question.

    Background

    I created a random number of 12 x 9 grid that fills each cell with an image, based on the numeric value of each cell. I also have a random play button that makes random numbers in the grid. The problem I am running became my click event of button to erase the current images off the grid in order to allocate the new (for example by removing the objects display battery in order to place the new ones in the same places).

    Question

    My question is this: what is the best way to manage an implicit constraint from a table to a sprite? I pasted my complete code below so that you can see how the functions are supposed to work together. My sentence is apparently not being able to use a value from array with a sprite (sprite represents the real layout of the grid on the pile of display while the table starts as a number that is assigned an image that must be transmitted to the sprite).

    ============================================================================

    package
    {
    import flash.display.MovieClip;
    import flash.display.DisplayObject;
    import flash.events.MouseEvent;
    import flash.display.Sprite;
    import flash.text.TextField;
    import flash.text.TextFormat;
    import flash.utils.getDefinitionByName;

    SerializableAttribute public class extends MovieClip Blanko
    {
    Contains 12 * 9 grid of cells.
    var grid: Sprite;
    Maintains the shuffle button.
    var shuffleButton:Sprite;
    Is equal to 12 columns, 9 lines.
    var cols: int = 12;
    lines of the var: int = 9;
    Equal number of grid cells (108).
    cells var: int = COL * rows;
    Sets of cell width and height to 40 pixels.
    var cellW:int = 40;
    var cellH:int = 40;
    Contains 108 images of cell.
    var imageArray:Array = [];
    Contains 108 numerical values for the cells in the grid.
    var cellNumbers:Array = [];

    Constructor calls the functions "generateGrid" and "makeShuffleButton".
    public void Blanko()
    {
    generateGrid();
    makeShuffleButton();
    }

    Creates and displays the grid 12 * 9.
    private function generateGrid (): void
    {
    grid = new Sprite;
    var i: int = 0;


    for (i = 0; i < cells; i ++)
    {
    cellNumbers.push (i % 9 + 1);
    }
    trace ("before shuffle:", cellNumbers);
    shuffleCells (cellNumbers);
    trace ("after shuffle:", cellNumbers);
    var _cell:Sprite;

    for (i = 0; i < cells; i ++)
    {

    / / This line is where the implicit constraint occurs. '_cell' is a leprechaun trying

    on a temporary basis equal to a value from array.
    _cell = drawCells (cellNumbers [i]);
    _cell.x = (I % cols) * cellW;
    _cell.y = (I / COL) * cellH;

    grid.addChild (_cell);
    }
    }

    Creates a "shuffle" button and adds a mouse click event.
    private function makeShuffleButton (): void
    {
    var _label:TextField = new TextField();
    _label. AutoSize = 'center ';
    TextField (_label) .multiline = TextField (_label) .wordWrap = false;
    TextField (_label) .defaultTextFormat is new TextFormat ("Arial", 11, 0xFFFFFF, "bold");.
    _label. Text = "SHUFFLE";
    _label.x = 4;
    _label.y = 2;
    shuffleButton = new Sprite();
    shuffleButton.graphics.beginFill (0 x 484848);
    shuffleButton.graphics.drawRoundRect (0, 0, _label.width + _label.x * 2, _label.height +)
    _label.y * 2, 10);
    shuffleButton.addChild (_label);
    shuffleButton.buttonMode = shuffleButton.useHandCursor = true;
    shuffleButton.mouseChildren = false;
    shuffleButton.x = grid.x + 30 + grid.width - shuffleButton.width;
    shuffleButton.y = grid.y + grid.height + 10;
    this.addChild (shuffleButton);
    shuffleButton.addEventListener (MouseEvent.CLICK, onShuffleButtonClick);
    }

    Erase the images of the cell, mix of their numbers and then assigned these new images.
    private function onShuffleButtonClick (): void
    {
    eraseCells();
    shuffleCells (cellNumbers);
    trace ("after shuffle:", cellNumbers);


    for (var i: int = 0; i < cells; i ++)
    {
    drawCells (cellNumbers [i]);
    }
    }

    Deletes any existing cells in the battery of the display image.
    private void eraseCells(): void
    {
    While (imageArray.numChildren > 0)
    {
    imageArray.removeChildAt (0);
    }
    }

    Changes cell phones numbers (makes random table).
    private void shuffleCells(_array:Array):void
    {
    var _number:int = 0;
    var _a:int = 0;
    var _b:int = 0;
    var _rand:int = 0;

    for (var i: int = _array.length - 1; i > 0; i-)
    {
    _rand = Math.Random () * (i - 1);
    _A = _array [i];
    _B = _array [_rand];
    _ARRAY [i] = _b;
    [_Rand] _ARRAY = _a;
    }
    }

    Retrieves and sets a custom image to a cell based on its numerical value.
    private void drawCells(_numeral:int):Array
    {
    var _classRef: Class = Class (getDefinitionByName ("skin" + _numeral));
    _classRef.x = 30;
    imageArray.push (_classRef);
    imageArray.addChild (_classRef);
    return of demonstration;
    }
    }
    }

    ===========================================================================

    Any help with this is greatly appreciated. Thank you!

    If you want to have an array of Sprites that you later clear that is fine. But this does not mean that your function should return to it.

    You need your function to return the sprite so that you can add it to the display list and everything what you need.

    So just have the function get Sprite, push it in the "toBeClearedInTheFutureArray" and then return a reference to the currently acquired sprite.

  • What is the best way to detect this text is part of the ContainerControllers without scrolling?

    Hello.

    Question

    What is the best way to detect that the text typed by the user (or added programmatically) exceeds the available space container and find where the truncated part begins? There are others (as described below) highlights the easy way to detect or to prohibit controllers to receive more characters that can be displayed in the area of publication given?

    My attempt partially (Simplified)

    For example, lets say I have a textflow editable with joints two instances of ContainerController.


    var flow:TextFlow = createSomeFlowFromGivenString(sampleText),
        firstController = new ContainerController(firstSprite, 100, 30),
        lastController = new ContainerController(secondSprite, 600, 30);
    
    
    flow.interactionManager = new EditManager(new UndoManager());
    flow.flowComposer.addController(firstController);
    flow.flowComposer.addController(lastController);
    
    flow.flowComposer.updateAllControllers();
    

    Vertical scroll policy enabled I can compare the height of the composition in the last controller with the height of the content:

    var bounds:Rectangle = lastController.getContentBounds(),
        overflow:Boolean =  lastController.compositionHeight < bounds.height;
    
    trace('Content does not fit into given area?', overflow)
    
    

    But when I change of vertical scroll policy off (lastController.verticalScrollPolicy = ScrollPolicy.OFF)-Unfortunately this does not work anymore... (In my case scroll must be disabled, since the text boxes can have only one line with narrow width)

    Use cases

    I want to create the form to fill out. Field can have one or more lines. A field could start in the middle of the page, continue in the following line, where it spreads throughout the page and put an end to the third line - long quarter of the width of the page. Text typed by the user may not exceed given the region since it could cover some static text that is located just after in below field.

    Something like ascii image below:

    --------------------------------------------
    |                <PAGE>                    |
    |                                          |
    |                                          |
    |                                          |
    |               [Field starts here........ |  
    | ........................................ |
    | ........................................ |
    | Ends here..]                             |
    |                                          |
    |                                          |
    | [Another field] xxxx  xxxx xxxxxxxx x xx |
    | xxxxxxxxxxxxxxxxxxx                      |
    |                                          |
    |                              [One more.. |
    | .....]                                   |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    --------------------------------------------
    

    Info:

     [......]  <-- form fields starts with '[' character, and ends with ']'
     xxx       <-- sample, static text
     | and _   <-- page borders
    

    If you want to detect the overflow in the final container, there is another thread discussed before.

    http://forums.Adobe.com/thread/795264

    You can detect it with lastContainerController.absoluteStart + lastContainerController.textLength «»<>

  • What is the best way to achieve this?

    What is the best to do the following?

    Form1 lists items that have a cost value

    Form2 is a form of invoice

    What is the best way to export goods of a value of cost of form1 to form2?

    A user would be making selections of point in form1 and save the form, and then send it or export data.

    Then form2 would retrieve the selections point of form1 and display cost values that I can sum up at the end of the form2.

    Thanks in advance for any advice!

    Hello

    If both forms have the same objects to the items and the same names, then export to xml of form1 and import of xml in form2 should work.

    Data in the xml file that does not match the names of the objects to form2 will be ignored.

    In both forms, objects that you want to export/import must have their liaison, the normal/name of the object value > Bindings tab.

    Niall

Maybe you are looking for

  • Satellite C855 - installation of Windows 7 suspended

    I am trying to install Windows 7 on a Toshiba Satellite 855.At present, we have 8 Windows is installed. The computer runs about 05:00 and 23:00 without obvious problems. for example no 'blue screen of death '.Secure boot is disabled and the boot mode

  • Move the folder outside the folder music iTunes

    by default iTunes stores its settings, the file iTunes Library.itl and tracks audio library of music, in the \Users\username\Music\iTunes folder. I don't want my music folder polluted by the parameters of the program, especially because I'm synchroni

  • WIN8 is not compatible for all people

    First off let me say that I am not at all familiar with the operation of the software. We bought a satellite for my wife, as his last cell phone comes to the soul. She is physically and mentally handicapped due to a brain tumor, so his condition can

  • Update BIOS on Satellite Pro 2100

    Hello I have a Satellite Pro 2100 (model #: PS210E-0053R-EN) and recently bought two 256 sticks of RAM for it, which according to the manufacturer, are compatible. They do not work, and I have I'll return them, but before the company was asked to tak

  • Validation FsX Acceleration problems

    I'm using FsX and acceleration on Vista with no problems until I upgraded the operating system to Windows 7. It is then the acceleration requires a validation whenever FSX is called. Even worse, one 15 minutes playing, the validation dialog pops up a