inserting data 1 million through the command copy

Hello

I tried to insert data 1 million per copy command sqlplus, but because of tablespace size problem

"ORA-30036: unable to extend segment by 1024 in undo tablespace"UNDOTBS1"" error is coming.

I cann 't take the help of s/n cos my enviornment cann' t b has changed.

So is it possible to insert 1 million through the command data copy both

Thanks in advance

BP says:
Hello

I tried to insert data 1 million per copy command sqlplus, but because of tablespace size problem

"ORA-30036: unable to extend segment by 1024 in undo tablespace"UNDOTBS1"" error is coming.

I cann 't take the help of s/n cos my enviornment cann' t b has changed.

So is it possible to insert 1 million through the command data copy both

Apart from the other advice you have already, you might be thinking how to use a direct-path insert access instead of the COPY"" command.

If you use "INSERT / * + APPEND * / IN...» You will not use all CANCEL as long as you're not violating any restrictions direct-path insert SELECT FROM... ». Most commonly encountered are active triggers and foreign keys or primary/unique constraints can be delayed.

A fairly comprehensive list of restrictions is located in the documentation:

http://download.Oracle.com/docs/CD/B28359_01/server.111/b28313/usingpe.htm#CACEJACE

Outside do not use CANCEL the access direct-path insert is usually a bit faster that the conventional insert, then you want to give it a try.

Note, however, that you are unable to access the object that you inserted by using direct-path insert of access in the same transaction, this triggers error "ORA-12838: cannot read/modify an object after edit it in parallel." So if you need to access the same object once again without committing the transaction, does not allow direct-path inserts.

In addition the access direct-path insert will not re - using the available space in the already allocated blocks, so if you insert frequently subsequently delete a significant number of lines your table will increase with each path direct insert operation and leave unused space behind, affecting the performance of full table scans since it will have to go through all the blocks, although they could be empty (or almost).

Kind regards
Randolf

Oracle related blog stuff:
http://Oracle-Randolf.blogspot.com/

SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676 /.
http://sourceforge.NET/projects/SQLT-pp/

Tags: Database

Similar Questions

  • ORA-00900 when you use the command COPY with dynamic SQL

    Helllo,
    I created the following procedure:

    create or replace procedure copyTable (pSourceTableOwner IN varchar2
    pSourceTableOwnerPasword IN varchar2
    pTargetTableOwner IN varchar2
    pTableName IN varchar2
    pDatabaseLink IN varchar2)
    as

    vStatement varchar2 (250): = null;

    Start

    vStatement: = "copy of". pSourceTableOwner | '/' || pSourceTableOwnerPasword | '@' || pDatabaseLink |
    "Insert" | pTargetTableOwner | '.' || pTableName | ' using select * from '. pTableName;

    immediately run vStatement;

    end;
    /

    The generated command (variable vStatement) looks like this:
    "Insert a copy of O_GLCEN/o_glcen@SELLENTW o_jh. "X_PLZ_CD_MERGED_CTIS using select * from X_PLZ_CD_MERGED_CTIS".

    When you call this procedure as "exec copyTable ('O_GLCEN', 'o_glcen', 'o_jh', 'X_PLZ_CD_MERGED_CTIS', 'SELLENTW');" the following lifts:

    FEHLER in line 1:
    ORA-00900: invalid SQL statement
    ORA-06512: at "SYSTEMTECHNIK". COPYTABLE", line 20
    ORA-06512: at line 1

    But when you call the command COPY directly from SQL prompt the statement runs without error.
    Is in general not possible to use the dynamic COPY with SQL command? If it is possible does anyone has an idea what I am doing wrong?

    Any help will be appreciated...

    Rgds
    JH

    I would like to use something like

    vStatement: = ' start in f (select * from ' | pSourceTableOwner |) '.' || pTableName | '@' || pDatabaseLink | Insert loop ') in ' | pTargetTableOwner | '.' || pTableName | "f-values; end loop; end; »
    immediately run vStatement;

  • exec system runs not the command copy

    Hello

    I am trying to copy a file in the Windows\System32 folder to my project folder, but when I try to do that you use the command copy to system exec.vi, I get the following error: the system cannot find the specified file.

    Does anyone know how to fix this? I have attached the vi here.


  • MAC address: Is it possible to change the MAC address of a machine & also if there is a way to see the physical address of the machine on the other to see through the command line...?

    Is it possible to change the MAC address of a machine & also if there is a way to see the physical address of the machine on the other to see through the command line...?

    Is it possible to change the MAC address of a machine & also if there is a way to see the physical address of the machine on the other to see through the command line...?

    Yes.

    Yes.

    Of course - you use 'other/unknown', then...?

    (Google for "MAC spoofing").

  • How to run a file through the command prompt window

    I try to download a zip called Kindle Gen - file instructions say I should first extract it to c:\KindleGen and then run it through the command prompt window by typing c:\KindleGen\kindlegen (I ' v it not compressed)

    The showsc:\Users\Barry prompt window > then I'v typed into it after the > but its not to recognize the path to the file.

    Wonder if anyone can advise this as i ' v hurts?

    Thanks Barry

    I try to download a zip called Kindle Gen - file instructions say I should first extract it to c:\KindleGen and then run it through the command prompt window by typing c:\KindleGen\kindlegen (I ' v it not compressed)

    The showsc:\Users\Barry prompt window > then I'v typed into it after the > but its not to recognize the path to the file.

    Wonder if anyone can advise this as i ' v hurts?

    Thanks Barry

    If you have used Windows Explorer (computer) to create the directory in question (C:\KindleGen\) and extract the files in this directory...

    Open a command prompt.

    Type:

    CD \KindleGen

    Type:

    DIR

    Run everything you are supposed to run by typing the name.

  • locking and unlocking through the command, 'cacls' locked but not unlock

    Dear Firend I tried locking and unlocking through the command, "" D:\Murali/e/p everyone cacls: n ' "

    afterwards, while liberating, he said like that

    C:\Documents and Settings\yantra > cacls d:/Murali /e /c /p yantra:F
    ACCESS_DENIED: d:\Murali

    Please someone help me

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums:

    http://social.technet.Microsoft.com/forums/en/category/windowsxpitpro

  • Mapping network drives through the command prompt to another user

    Right now I am implementing a batch file that will map the readers of network for other user accounts. Currently, I can only card readers for the connected account and no one else. Is there a way to do it through the command prompt, or I have to use powershell. Really, I'd rather it be done through the command prompt as I already all the completed script, with the exception of this part.

    Thank you

    EDIT: After further review, I conclude that there is no possible way to do it. Simply, it is not included in all orders that I could find. If someone finds, then great, but if not, like I did is as follows:

    Check the user credentials against a master list which also has passwords.

    Once a match, use this user name and corresponding password.

    Run this to authenticate by using the Group Policy Editor.

    You can map drives with group policy or by using a startup script (= batch file) that contains one or more of the following commands:

    NET use / persistent: no
    NET use q: \\ServerName\ShareName / User: David SomePassword

    NET use q: \\ServerName\ShareName / User: David *.

    Note that the incorporation of the passwords in a batch file is a serious safety hazard that is why the second command is preferable.

  • How to install Adobe Acrobat Reader DC version 15.010.20060 silently through the command line?

    Hi, I downloaded Adobe Acrobat Reader DC version 15.010.20060 exe. I want to install silently from the command line. I run the following command /sAll /msi EULA_ACCEPT = YES/SB install.exe. I can get it to install, but not entirely in silence. Progress bar shows and after finishing he invites an OK button and opens up a new site at the end is there a way to get it to install in completely silent mode through the command line?

    Hello

    Please try the below perimeters, he works for AcroRdrDC1501720050_en_US.exe. I installed completely silent.

    /qn EULA_ACCEPT = YES AgreeToLicense = Yes RebootYesNo = no /sAll

  • cs6 PS why the command copy is grayed out - cannot copy obj?

    PS cs6 cc:

    Why the command copy is grayed out - cannot copy obj?

    adobe-psd-cs6-forum.jpg

    lsepolis123 wrote:

    If press Ctrl + A selects all the psd doc... or (when the selected layer - in the Panel layers) in the tool move or the selection tool, well?

    While the ants marchimg shows the layer limits what you write the entire document. Only the pixels of the target layer are selected.

    Here are two screenshots.

    I have two documents open in Photoshop. There are three top ob Basemap layers layer a red, a green and a blue.  Second teas of the same size but only a white background layer.

    I aim for the Green layer made a Ctrl + A to select the green channel any note the dotted moving line describing the composite view of the entire document. I followed the Ctrl + A with Ctrl + C (copy).

    I then passes to the second document just a white background layer and did a Ctrl + V after the background screenshot shows the results.  Only the green pixels have been copied to the Clipboard.

  • Getting error while inserting data from source to the target in the procedures?

    Hello

    I want to insert the data from the source to the target in the procedures, have the same schema.

    For this, I did as follows

    Command on the source:

    Technologies: oracle

    Schema: EDWHCMB

    Command:

    SELECT COMPANY_NAME, COMPANY_CODE OF

    EDWHCMB. DWT_COMAPNY

    Command on the target:

    Technologies: oracle

    Schema: EDWHCMB

    command:

    INSERT INTO EDWHCMB. TEMP

    VALUES)

    COMPANY_CODE,

    COMPANY_NAME)

    I have run the procudere then I got error as follows

    ODI-1228: SAMPLE1 (procedure) task fails on ORACLE EDWH connection target.

    Caused by: java.sql.BatchUpdateException: ORA-00984: column not allowed here.


    How to insert the data from the source to the target in the proceedings?

    Please send any document to this...

    Please help me.

    Thanks in advance,

    A.Kavya.

    Hi Bruno.

    If your tables are on the same schema then why do you use command on the source and the command on the target? You can simply do the following on the command on the target

    INSERT INTO EDWHCMB. TEMP

    SELECT COMPANY_NAME, COMPANY_CODE OF

    EDWHCMB. DWT_COMAPNY


    If you really want at all to use the command on the source and target both then I think you need to change the following code on your order on the target

    INSERT INTO EDWHCMB. TEMP

    VALUES)

    : COMPANY_CODE,.

    (: COMPANY_NAME)

    Hope your TEMP table has only these 2 columns.

    Thank you

    Ajay

  • Clone between data centers and through the firewall?

    I have a VC that manages 8 virtual data centers.  Some of these data centers are on a dish network, and some are in a demilitarized zone.  Even if the storage is NOT shared between data centers, I am able to clone a VM between data on food networks centers but I cannot clone between a data center on a dish network and the other in a demilitarized zone.

    Is there a specific port that must be open to clone through a firewall, or I wouldn't be able to do this.

    ________________________________

    Jason D. Langdon

    The file copy occurs using port TCP/UDP 902, as all communications from ESX.

    Do you have any NAT between the servers ESX and vCenter?

    Marcelo Soares

    VMWare Certified Professional 310/410

    Master virtualization technology

    Globant Argentina

    Review the allocation of points for "useful" or "right" answers.

  • Dates of rolling in the command prompt

    Hi friends,

    IM in obiee 11.1.1.7

    I need to have a guest with a bearing dates of 20 with power of sysdate. As for example

    If sysdate is 17/01/2016 then I display the next 20 dates in the prompt dynamically as from 18/01/2016 to 06-02 - 2016 (6th feb). So in this way dates will be incremented according to the sysdate

    I can do the same thing in the back-end through the following query

    SELECT TO_CHAR ((SYSDATE+1)-1 + ROWNUM, "DD-MON-RRRR") dl_date

    From all_tables

    WHERE ROWNUM < = 20

    I tried the same thing in the BI using the prompt variable by substituting for the SQL results as below

    SELECT EVALUATE ('to_char(%1,%2)' AS char, (CURRENT_DATE + 1) - 1 + RCOUNT (1), "DD-MON-RRRR")

    "< DOMAIN >.

    WHERE RCOUNT (1) < = 20

    But these results strength to work, as the output in the prompt does not appear any value and continues to load.

    Where can I miss and how to accomplish the above scenario.

    Thanks in advance.

    Kind regards

    Saro

    You need a time dimension table attached to your fact table... OBIEE won't data

  • Data accidentally deleted using the command replace the datapump

    All,

    I exported 2 partitions of a table using the pump data to the following address:

    expdp User1/password1 directory = DPUMP_DIR tables = tab1:P27, tab1:P28 logfile = tab1.log dumpfile = tab1_27_28.dmp

    I moved the dump to the staging file and tried to import with the following command:

    Impdp User1/password1 directory = DPUMP_DIR tables = tab1:P27, tab1:P28 = tab1.log = tab1_27_28.dmp = table_exists_action dumpfile logfile APPEND

    When I run the above command, I got the following error:

    ORA-31696: unable to import/export TABLE_DATA: "VOP. "' R_REQUEST ': 'P28. "' P28_RN ' using client specified AUT

    I checked this on the Oracle Support Web site and got the following advie:
    =====================================================
    + * < moderator edit - content removed from MOS Doc - please do not post content of MOS Docs - this is a violation of your Support contract > * +.
    =================================================================================

    I then proceeded to use table_exists_action = replace (thinking he would only replace the 2 were specified).



    With the help of table_exists_action = replace deleted lines of all others were leaving and loaded the 2 partitions that I exported.

    I tried to recover data using the command below lodt, but it did not work:

    SQL > flashback table user1.tab1 timestamp (systimestamp - interval minute '120');

    I have enable row movement and we always had enabled flashback:
    db_flashback_retention_target around 1440

    Does anyone know how I could have consulted lost data without having to export and import the entire table (which is almost 1 terabyte)

    If your database in archivelog mode? If so you can try to make CAMILLE

  • How to pass the elqCustomerGUID as well as data of form through the rest API?

    Hey everybody,

    We have our own installer of forms on our front-end server.  We take this data with the basting eloqua (elqCustomerGUID) id and pass it on to our backend.  We then use the Eloqua Rest API to send the form data to Eloqua.  The problem is that I can not understand how to properly send the elqCustomerGUID so that it binds a contact to the the ID.  Need this to display the tracking page to work.

    According to the data of the shipment, it works perfectly - map us the values of their corresponding form ID field and send it.

    Any help would be appreciated!

    Thank you

    Chris

    I just finished using the CURL approach to imitate the real form post that Eloqua uses.  If you look at the html code of the form, you can see the fields, it took:

    elqFormName, elqCustomerGUID, elqCookieWrite, elqSiteID

    and then the htmlNames in any other field that the form is intended.

    If you post all what to "http://s«.$elqSiteID.".t.eloqua.com/e/f2 "in a tone of param query normal-online configuration of the value, it will count as if you clicked on submit on the real shape."

    Hope that helps! If you have any questions just shoot me a message.

  • Missing files in the command "copy list" once restored controlfile

    Hello

    Perform the restore/recovery exercise (11 GR 2 on ASM), I did the following:

    1 / the DB running, "copy list" in RMAN (to retrieve a list of my backups).

    2 / done one the judgment then went to AMSCMD and deleted all the files in data/ctlfile/spfile manually

    (wanted to test a complete restoration with nothing but archives and backups),.

    3 / managed to restore my spfile with ' restore spfile to ' + DATA...» »,

    4 / then could "startup mount" my DB and restore controlfile with

    «Restore controlfile from «+ FRA/DBNAME/BACKUPSET/2014_01_29/ncnnn...»» » ; »

    5 / then I "copy list" once again

    and here, I saw 3 files were missing (so I started to meet a lot of problems

    so we can still restore/recovery...)

    Someone has already encountered this problem before?

    Thank you very much in advance...

    SEB

    Hello

    When you have restored a controlfile from a backup, it will list only copies or backup that have been registered with this controlfeil, if you want to catalog backups to restore controlfile, you can use the catalog command.

    Thank you

Maybe you are looking for