dbTalk Databases Forums  

Post import/export tasks

comp.databases.oracle.server comp.databases.oracle.server


Discuss Post import/export tasks in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jackal
 
Posts: n/a

Default Post import/export tasks - 04-18-2006 , 07:01 AM






Hi faculties,
I perform an export of a schema from one DB to another one. Is it
necessary to do some post maintainence tasks after the import is over?
By tasks i mean tasks like index reorganization.

Thanks in advance
Jackal


Reply With Quote
  #2  
Old   
Jumbo
 
Posts: n/a

Default Re: Post import/export tasks - 04-18-2006 , 07:27 AM






"jackal" <jackal_on_work (AT) yahoo (DOT) com> wrote

Quote:
Hi faculties,
I perform an export of a schema from one DB to another one. Is it
necessary to do some post maintainence tasks after the import is over?
By tasks i mean tasks like index reorganization.

Thanks in advance
Jackal

You can run statistics and recompile all invalid objects. Check your import
log file for any errors.




Reply With Quote
  #3  
Old   
jackal
 
Posts: n/a

Default Re: Post import/export tasks - 04-18-2006 , 07:39 AM



Hi,
Thanks for replying. can you elaborate on stats gathering? What stats
should i gather...whole schema or just indexes?

Regards
Jackal


Reply With Quote
  #4  
Old   
sybrandb
 
Posts: n/a

Default Re: Post import/export tasks - 04-18-2006 , 08:25 AM




jackal wrote:
Quote:
Hi,
Thanks for replying. can you elaborate on stats gathering? What stats
should i gather...whole schema or just indexes?

Regards
Jackal


Reply With Quote
  #5  
Old   
sybrandb
 
Posts: n/a

Default Re: Post import/export tasks - 04-18-2006 , 08:26 AM




jackal wrote:
Quote:
Hi,
Thanks for replying. can you elaborate on stats gathering? What stats
should i gather...whole schema or just indexes?

Regards
Jackal
Only indexes doesn't make sense.

Also exp has a parameter you can use to have imp generate statistics

--
Sybrand Bakker
Senior Oracle DBA



Reply With Quote
  #6  
Old   
BD
 
Posts: n/a

Default Re: Post import/export tasks - 04-18-2006 , 10:46 AM



Quote:
Is it necessary to do some post maintainence tasks after the import is over?
I generally run a script to re-create all public synonyms, and
re-create the grants - just in case.



Reply With Quote
  #7  
Old   
RogBaker@gmail.com
 
Posts: n/a

Default Re: Post import/export tasks - 04-18-2006 , 01:25 PM




jackal wrote:
Quote:
Hi faculties,
I perform an export of a schema from one DB to another one. Is it
necessary to do some post maintainence tasks after the import is over?
By tasks i mean tasks like index reorganization.

Thanks in advance
Jackal
Sometimes you may want to change the passwords of some users so they
are not the same as production. Also, see if you want to remove and
dblinks that may exist.



Reply With Quote
  #8  
Old   
Joel Garry
 
Posts: n/a

Default Re: Post import/export tasks - 04-18-2006 , 04:24 PM



Quote:
By tasks i mean tasks like index reorganization.
If you grep the export file for "CREATE IND" you may see that the
indices are created as part of the import. If you have time or undo
constraints, sometimes it can be better to not create the indices until
after you import the data. Either way, the indices are new so they
don't need to be reorganized. Even in normal operations it is rare for
indices to _need_ to be reorganized (massive deletes being a big
exception).

Besides what the others said, there may be application specific tasks.
There may also be other issues depending on the purpose of the import,
as for example if you are upgrading or migrating.

jg
--
@home.com is bogus.
These people might want to think about carryforward writedowns Novell
may have that could help Oracle's tax situation, as well as the fact
that Oracle needs a _server_ oriented Linux distribution:
http://searchopensource.techtarget.c...180607,00.html



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.