Home > Ask the Oracle Database / Applications Experts > Questions & Answers > Migrating data to a remote server
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Migrating data to a remote server

Dan Norris, Year 2004-2005 EXPERT RESPONSE FROM: Dan Norris, Year 2004-2005

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 20 December 2004
I really need to migrate the data on a remote server and have a few questions.

>

1. What is correct command line in importing a dump file?

Dan Norris: Imp

2. Where should I import, or in what location should I be when importing a dump file? Is within root# location OK to immediately execute the import command?

Dan Norris: It does not matter what your present working directory (pwd) is when doing an import. It also does not matter what OS user you're currently logged in as. What matters is whether the OS user can read the dump file and that the database user you use when importing has proper privileges.

3. What are the necessary or important things to do/check/configure before importing the dump file?

Dan Norris: I always precreate table spaces manually to ensure that I know where the Data files will be; if you're importing some users or objects that already exist, use "ignore=y" or answer "yes" when asked if you want to ignore error messages due to objects that already exist; make sure that the database has sufficient space to hold the dump file contents; if you're archiving, ensure that your archive log destination is large enough to handle the additional logs generated by the import.

4. How can I validate or know if the importing procedure is correct or okay?

Dan Norris: When importing, you can specify a logfile with the "log=/path/to/file.log" argument. Check that log for any errors. The errors will also be reported to the screen, so you can also use the UNIX utility "script" to save the screen contents to a file and check that later.

Maybe you should consider hiring a DBA or going to some training. Using export and import are concepts taught in most entry-level DBA classes. They are easy utilities to use, but, like everything, it's best to know how to use them before attempting to do so.

We really need to commence the activity immediately before anything bad happens to our database server.

Dan Norris: Maybe you should consider hiring a DBA or going to some training. Using export and import are concepts taught in most entry-level DBA classes. They are easy utilities to use, but, like everything, it's best to know how to use them before attempting to do so.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Oracle database installation, upgrades and patches
Oracle's Java database continues push into embedded database market
How to use the Oracle Database Upgrade Assistant (DBUA)
Oracle delivers database fixes in Critical Patch Update
How to get the most out of Toad for Oracle 10
Coca-Cola Bottling swaps out Oracle for DB2
Oracle renews push into embedded open source software market
Oracle releases new database, says 11g upgrade will cut costs
Comparing servers for Oracle database 11g upgrades
Choosing the right server hardware is all about choosing the right software
The best of the Oracle 11g-ready servers

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
10g  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts