Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

copying indexes from production to test

user13364377Jan 7 2012 — edited Jan 8 2012
Hi ,

I want to copy the missing indexes on a table from production database to non-production database.

The table in the non-production database has some indexes missing as compared to the production database.. What is the best method to do this.? Is it better to take the sructure of the index using the below method and create it in the target database?

select dbms_metadata.get_ddl('INDEX','INDEX_NAME','UAT_OWNER') from dual;

Database version:9.2.0.6
OS:Linux
This post has been answered by CKPT on Jan 7 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 5 2012
Added on Jan 7 2012
4 comments
266 views