We have PROD and TEST Oracle Servers running on the same HP-UX 11.0 box. We have to refresh the TEST database with PROD data. What is the easiest way of doing it?
We have done a complete export of PROD database. However, since TEST is also on the same box and using different datafiles are there any issues with importing the same? Also, any issues with Database Name in doing import?
Any help in this matter is highly appreciated.
01-15-2001, 11:23 AM
As long as TEST already has all the tablespaces which were exported from PROD pre-created, there shouldn't be any issues with this. If you export a tablespace from PROD that doesn't exist in TEST, it will try to create it in the same path that PROD uses and might cause problems. If any tablespace exists in PROD that doesn't exist in TEST, make sure you pre-create it in TEST.
The Database name won't be an issue as long as you keep your environment correctly configured.
01-15-2001, 02:44 PM
Since both systems are on the same machine, you can copy the datafiles of production to test environment and re-create the controlfile. This will be will be faster than EXP/IMP.