Index Usability and Visibility

Indexes are usable (default) or unusable, visible (default) or invisible.

microsoft certification malaysia

These properties are defined as follows:

  • UsabilityAn unusable index, which is ignored by the optimizer, is not maintained by DML operations. An unusable index can improve the performance of bulk loads. Instead of dropping an index and later re-creating it, you can make the index unusable and then rebuild it. Unusable indexes and index partitions do not consume space. When you make a usable index unusable, the database drops its index segment.
    juniper certification malaysia
  • VisibilityAn invisible index is maintained by DML operations, but is not used by default by the optimizer. Making an index invisible is an alternative to making it unusable or dropping it. Invisible indexes are especially useful for testing the removal of an index before dropping it or using indexes temporarily without affecting the overall application.
    istqb certification malaysia

See also

“Overview of the Optimizer” to learn about how the optimizer select execution plans

database training courses malaysia

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *