Use Of DBMS_METADATA.GET_DDL To Extract Index DDL (Doc ID 438143.1)

Last updated on MAY 10, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 9.0.1.0 and later
Information in this document applies to any platform.
***Checked for relevance on 05-SEP-2013***

Goal

Introduction

Suppose dbverify or normal operations threw numerous ORA-12700 or ORA-1578 or ORA-1499 errors in alert log indicated a whole index tablespace was corrupted.

While dropping and creating the tablespace is simple, getting the syntax needed to recreate the index is a bit more complicated.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms