Generating the DDL for Creating an Index
DBAs often need to recreate an index or create new indexes in a different environment, such as a pre-production database. There are actually a couple of ways you can do this (if you're not using a third-party tool such as TOAD or even Oracle's SQL Developer, which can get you the same information without having to run any script whatsoever).
Generating the DDL for a simple index might seem somewhat of a trivial task. However, if you consider the fact that many database uses partitioned indexes, and that the these indexes may have a large number of partitions and even subpartitions, it makes more sense as to why you'd want to extract the DDL using some kind of a tool or utility. Let's review the ways you ...
Get Expert Indexing in Oracle Database 11g: Maximum Performance for Your Database now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.