Unix Technical Forum

Post import/export tasks

This is a discussion on Post import/export tasks within the Oracle Database forums, part of the Database Server Software category; --> Hi faculties, I perform an export of a schema from one DB to another one. Is it necessary to ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2008, 04:49 AM
jackal
 
Posts: n/a
Default Post import/export tasks

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-25-2008, 04:49 AM
Jumbo
 
Posts: n/a
Default Re: Post import/export tasks

"jackal" <jackal_on_work@yahoo.com> wrote in message
news:1145361697.793801.304660@g10g2000cwb.googlegr oups.com...
> 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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-25-2008, 04:49 AM
jackal
 
Posts: n/a
Default Re: Post import/export tasks

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

Regards
Jackal

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-25-2008, 04:49 AM
sybrandb
 
Posts: n/a
Default Re: Post import/export tasks


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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-25-2008, 04:49 AM
sybrandb
 
Posts: n/a
Default Re: Post import/export tasks


jackal wrote:
> 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-25-2008, 04:49 AM
BD
 
Posts: n/a
Default Re: Post import/export tasks

>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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-25-2008, 04:49 AM
RogBaker@gmail.com
 
Posts: n/a
Default Re: Post import/export tasks


jackal wrote:
> 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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-25-2008, 04:50 AM
Joel Garry
 
Posts: n/a
Default Re: Post import/export tasks

>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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:54 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com