Monitor the import or export of an Oracle database

Monitor the import or export of an Oracle database

This script will allow an Oracle DBA to see how many rows were imported or exported and is especially useful with big tables. The import command should have one (or both) of these options:

  COMMIT=Y  

In this case, open a SQL*PLUS window or use svrmgrl to see how many rows were imported:

  SELECT COUNT(*) from ; 

This select may take (very) long time to perform and so it should be used only for importing.

The second option is:

  FEEDBACK=NNNN 

You will get a dot on the screen for every NNNN number of rows imported. The information is not very accurate but I consider it to be a very good solution when you need to have just an approximate idea of the import and to be certain that the import didn't hang. The value for NNNN is up to you. A small value will fill the screen with dots but will give you nice feedback. It works for both import and export.

For More Information

    Requires Free Membership to View

    By submitting your registration information to SearchOracle.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchOracle.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

  • your tip today
    !
  • Ask your technical Oracle questions--or help out your peers by answering them--in our live discussion forums.
  • Check out our Ask the Experts feature: Our SQL, Database Design, Oracle, SQL Server, and DB2 gurus are waiting to answer your toughest questions.

This was first published in September 2001

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.

    Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.