Home » RDBMS Server » Server Administration » Precreating tablespaces for Import
Precreating tablespaces for Import [message #62676] Mon, 09 August 2004 02:07 Go to next message
Pratap Zope
Messages: 23
Registered: July 2004
Junior Member
Hi,

while migrating database from one machine to another
I exported full database with rows=y,indexes=y,grants=y etc.
and then want to import the dump, thus created.
In this case do we need to create tablespaces as source database before importing?
since we have 'full database' export file will it not create all these tablespaces?
Please help.

Sincerely,

Pratap
Re: Precreating tablespaces for Import [message #62682 is a reply to message #62676] Mon, 09 August 2004 04:40 Go to previous messageGo to next message
Gorjan Todorovski
Messages: 9
Registered: August 2004
Junior Member
If you import with the FULL=Y option, the imp utility will try to create
the tablespaces from the source DB with the same datafiles (same
locations). If you already have the tablespaces it will import in those
tablespaces.

-----
www.oracleclinic.com
Re: Precreating tablespaces for Import [message #62683 is a reply to message #62676] Mon, 09 August 2004 04:40 Go to previous message
Frank Naude
Messages: 4580
Registered: April 1998
Senior Member
Hi,

Yes, Oracle will try to create the tablespaces if you import with FULL=YES. However, it is almost always better to create them manually, as it will give you more control over file sizing and placement.

Best regards.

Frank
Previous Topic: Database Buffer to Redo Log Buffer?
Next Topic: Database link or Service Name
Goto Forum:
  


Current Time: Fri Sep 27 10:27:36 CDT 2024