Problem solve Get help with specific problems with your technologies, process and projects.

Do I need to recreate views after an Oracle table reorg?

Oracle expert Brian Peasland explains whether you need to recreate views in a table after performing an Oracle table reorg, including what to do with INVALID views, in this tip.

We have been performing table reorg for the last couple weeks on an OLTP system, taking a few tables at a time. We are doing this to eliminate fragmentation at the table level, as we have been archiving these tables.

We are performing the following steps for reorg:

1> alter table t move;
2> alter index i rebuild;

Do we need to recreate all the concerned VIEWS for these tables?

You do not need to recreate the views. If the view is INVALID due to the move, it will be automatically recompiled and validated the next time the view is accessed.
This was last published in October 2009

Dig Deeper on Oracle database backup and recovery

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.