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 last published in May 2006

Dig Deeper on Oracle database design and architecture

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close