xplan: dbms_metadata.get_ddl for tables referenced by the plan

As a minor but useful new feature, xplan is now able to integrate into its report the DDL of tables (and indexes) referenced by the plan, calling dbms_metadata.get_ddl transparently.

This is mostly useful to get more details about referenced tables’ constraints and partitions definition – to complement their CBO-related statistics that xplan reports about.

This feature can be activated by specifing dbms_metadata=y or dbms_metadata=all (check xplan.sql header of xplan.sql for more informations).

We spoke about xplan in general here.

1 comment on this post.
  1. oracle tables:

    [...] … the Configure Oracle 10g XE blog page and do so now, or use the Oracle APEX instructions …Alberto Dell’Era’s Oracle blog xplan: dbms_metadata.get_ddl …As a minor but useful new feature, xplan is now able to integrate into its report the DDL of tables [...]

Leave a comment