DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Bulk insert

  1. #1
    Join Date
    May 2009
    Posts
    5

    Exclamation Bulk insert

    hi friends... need help...

    i am want to insert 500 million data from sTable to dTable such as

    insert into dTable
    select * from sTable

    time taken : 20 mins
    Note : there are no index or any constraint on both the tables.
    database : oracle 10g

    is there any fast way to insert bulk data ?

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Twenty minutes for half a billion rows doesn't look that bad.

    You may want to try append hint.

    Also, if tables are partitioned you may want to use parallel processing; for a few partitions you may want to set degree of parallelism to the number of partitions.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

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