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

Thread: Way to insert million records(8 crores) into table.

  1. #1
    Join Date
    Apr 2010
    Posts
    12

    Way to insert million records(8 crores) into table.

    My problem is every month end i have to insert million of records (8 cr) records into the table containing 5 indexes , i have been using pl/sql program to do this process with the help of bulk fetch and bulk insert which it takes 5 hrs. so i want to the procedure which i can follow to finish this process as soon as possible.

  2. #2
    Join Date
    May 2002
    Posts
    2,645
    Drop indexes (or make unusable), insert /*+ append */, rebuild indexes.

  3. #3
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Building on Stecal answer - if issue is related to I/O contention you may want to consider hash partitioning on target table.
    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