How to speed up oracle Import

Source: Internet
Author: User

How to speed up oracle import the traditional imp command, if only data is processed during import, tens of millions of data is simply
"Mao Yu", the key is to re-index each table after it imports data. Www.2cto.com Imports one index and one commit, which is like using a loop to insert 10 thousand pieces of data and using statemenet. addBatch (query); the efficiency is the same, it must be faster and more efficient. Therefore, in this case, we recommend that you perform the following analysis on the imp import command:-segmented submission-set buffer-pilot data re-import index www.2cto.com, our original imp command looks like this: SQL code imp user2/pwd fromuser = user1 touser = user2 file = file commit = y feedback = 10000 buffer = 10240000 ignore = y rows = y indexes = n imp user2/pwd fromuser = user1 touser = user2 file = file commit = y feedback = 10000 buffer = 10240000 ignore = y rows = n indexes = y. No, the pilot data rows = y indexes = n, and then the index rows = n indexes = y commands are successively initiated. When only data is imported It takes only 15-20 minutes for a. dmp package of about 14 GB in the same hardware and software environment, and 25-27 minutes for the last index creation statement.
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.