My Oracle Support Banner

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

Last updated on AUGUST 28, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 9.0.1.0 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
NOTE: The document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.