Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

About partitioning and undo

8 views
Skip to first unread message

SR

unread,
Oct 14, 2005, 6:54:15 AM10/14/05
to
Hello all,

I'm writing a rollover script for a partitioned table, that basically
creates a new partition and deletes the oldest one. I thought I'd
simply issue an "alter table drop partition" statement, but a colleague
claims it's better to truncate before dropping to make it faster. Now,
AFAIK the drop does not generate undo/redo info except for the
dictionary bit, so I see no point in truncating before dropping. What
do you think?

TIA

Stefano

MTNorman

unread,
Oct 14, 2005, 10:07:05 AM10/14/05
to
Stefano,

Do you have global indexes or are all indexes local? If all indexes
are local then "drop partition" will work fine. If you have a global
index, then truncating the partition first may work better.

Regards,
Margaret

Anurag Varma

unread,
Oct 14, 2005, 10:38:04 PM10/14/05
to

"May work better"?

Maybe not?

Are we dealing with lotto here or do we have reasons why?

Anurag

0 new messages