Home » RDBMS Server » Server Utilities » need help with export/import (8.1.7,win 2003 server)
need help with export/import [message #462719] Sat, 26 June 2010 01:54 Go to next message
ultgnp
Messages: 106
Registered: May 2010
Location: Germany
Senior Member
Hi friends,

I have a task to export full database from 8.1.7 to import in 10g. My question is,suppose the export was done by some user and i do not have access to that database. Please tell me,how can i find out all the tablespaces from the dump file before running the import process.

Do i need to pre-create all the tablespaces and users before import? Or i can use "ignore=y".


Best Regards,
Re: need help with export/import [message #462724 is a reply to message #462719] Sat, 26 June 2010 02:59 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
how can i find out all the tablespaces from the dump file before running the import process.

Open it in wordpad.

Quote:
Do i need to pre-create all the tablespaces and users before import?

If the target tablespace location is not the same than source one.

Regards
Michel
Re: need help with export/import [message #462725 is a reply to message #462719] Sat, 26 June 2010 03:00 Go to previous messageGo to next message
ultgnp
Messages: 106
Registered: May 2010
Location: Germany
Senior Member
Hi,

I got to know a way by which import is not done, but only ddl statements are displayed in log file.

imp dba/password full=y show=y log=somefile.log file=somefile.dmp.

This way we can know the tablespaces of database from which we do export.
Re: need help with export/import [message #462726 is a reply to message #462724] Sat, 26 June 2010 03:01 Go to previous messageGo to next message
ultgnp
Messages: 106
Registered: May 2010
Location: Germany
Senior Member
Thanks Michel.

Will it not show errors when importing if it doesn't find all users in the database? can i ignore those errors with "ignore=y".

[Updated on: Sun, 27 June 2010 01:32]

Report message to a moderator

Re: need help with export/import [message #462976 is a reply to message #462726] Tue, 29 June 2010 01:28 Go to previous messageGo to next message
ultgnp
Messages: 106
Registered: May 2010
Location: Germany
Senior Member
Hi,

I have successfully imported database of 8.1.7 to 10g. Do i need to compile all procedures,functions and triggers? Or 10g compiles it automatically.

Best Regards,
Re: need help with export/import [message #462986 is a reply to message #462976] Tue, 29 June 2010 02:06 Go to previous message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
As in all versions, any object is compiled at first access if it is not in valid state but this have been done during import.

Regards
Michel
Previous Topic: Datapump
Next Topic: importing limited data in oracle
Goto Forum:
  


Current Time: Fri Apr 19 12:00:48 CDT 2024