DBAsupport.com Forums - Powered by vBulletin
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: sqlplus copy command

  1. #1
    Join Date
    Dec 2002
    Location
    Chennai, India
    Posts
    104

    sqlplus copy command

    Could somebody forward me the details of copy command or any link?

  2. #2
    Join Date
    Jul 2003
    Posts
    59
    See below. Note that it is a SQLPLUS command, not an SQL stmt.

    http://download-east.oracle.com/docs...apb.htm#634246

  3. #3
    Join Date
    Dec 2002
    Location
    Chennai, India
    Posts
    104

    copy command and array size

    Hi Guys,

    I am planning to use sqlplus copy command to transfer data between two tables of different databases. I have around 5 Lacs record for transfer on a daily basis.

    1.Is it possible to transfer this huge data thru sqlplus copy command?
    2.If so do I need to change array size and how to set it. I need syntax
    3.Is any performance problem bcoz I don't want to increase CPU usage.

    Could any one help me out

  4. #4
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    1. yes
    2. "set arraysize 100" would probably do it fine
    3. no, other than the usual cpu invloved in selecting from a table, and inserting into another.
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

  5. #5
    Join Date
    Nov 2002
    Location
    New Delhi, INDIA
    Posts
    1,796
    Sudheer, try to continue on the same thread when the topic is same. Do not open new threads for the same topic.

    Merging this thread with earlier ones.
    Amar
    "There is a difference between knowing the path and walking the path."

    Amar's Blog  Get Firefox!

  6. #6
    Join Date
    Jan 2001
    Posts
    191
    SQL> help copy

    COPY
    ----

    COPY copies data from a query to a table in a local or remote
    database.

    COPY {FROM database | TO database | FROM database TO database}
    {APPEND|CREATE|INSERT|REPLACE} destination_table
    [(column, column, column, ...)] USING query

    where database has the following syntax:
    username[/password]@connect_identifier


    xyz

  7. #7
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    Avoid the COPY command as it is going to be deprecated in future release of Oracle.
    Sanjay G.
    Oracle Certified Professional 8i, 9i.

    "The degree of normality in a database is inversely proportional to that of its DBA"

  8. #8
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    Originally posted by SANJAY_G
    Avoid the COPY command as it is going to be deprecated in future release of Oracle.
    Where does this information come from?
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

  9. #9
    Join Date
    Sep 2000
    Posts
    305
    but what is the actual drawback of Using this Copy command.

    Shailendra

  10. #10
    Join Date
    Jul 2001
    Location
    Slovenia
    Posts
    422
    Originally posted by slimdave
    Where does this information come from?
    http://metalink.oracle.com/metalink/...&p_id=171870.1
    Tomaž
    "A common mistake that people make when trying to design something completely
    foolproof is to underestimate the ingenuity of complete fools" - Douglas Adams

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width