Q

Dropping old partitions

Dropping partitions invalidates any dependant procs/packages, etc. In a 24x7 shop, how can we purge/drop old partitions without taking a database outage?

Dropping partitions invalidates any dependant procs/packages, etc. In a 24x7 shop, how can we purge/drop old partitions without taking a database outage?

The short answer is that you cannot drop a partition without invalidating dependent objects. However, so long as

those objects do not refer directly to the dropped partition, the next time the dependent object is used, it will be recompiled and validated.

Should you not be satisfied with that behavior, then drop your partitions during some maintenance window when you can manually compile the dependent objects.

This was first published in May 2006

Dig deeper on Oracle database design and architecture

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close