Unix Technical Forum

HWM - Import

This is a discussion on HWM - Import within the Oracle Database forums, part of the Database Server Software category; --> I'm reloading all tables in a database (about 200 gig), and have decided to truncate and re-run the import ...


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

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 04:44 AM
koz
 
Posts: n/a
Default HWM - Import

I'm reloading all tables in a database (about 200 gig), and have
decided to truncate and re-run the import instead of drop.

Is it better to truncate with or without reuse storage parm?

The data we are loading is fairly dynamic, and the number of rows may
of increased up to 5% on about 25% of the tables.

Thoughts?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-26-2008, 04:44 AM
Mark D Powell
 
Posts: n/a
Default Re: HWM - Import

On Mar 22, 1:47 pm, "koz" <c.mar...@comcast.net> wrote:
> I'm reloading all tables in a database (about 200 gig), and have
> decided to truncate and re-run the import instead of drop.
>
> Is it better to truncate with or without reuse storage parm?
>
> The data we are loading is fairly dynamic, and the number of rows may
> of increased up to 5% on about 25% of the tables.
>
> Thoughts?


The advantage of dropping storage is that if you have any objects
where purges have been run or the internal structure was fragmented
the truncate releases the space for other use.

You may want to consider if any of the objects are large to drop the
associated indexes and to manually add them back. Importing with the
indexes existing is slower for big tables than importing without the
indexes and re-creating them. You could let the import recreate the
indexes but if you do it manually you can also manipulate
sort_area_size or other parameters when you do the rebuild.

Do not forget to code ignore=y on the imp.

HTH -- Mark D Powell --

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 02:05 AM.


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