Need of Invisible Indexes
In testing scenarios, one may need to tune queries, check the effectivenessof optimizer behavior based on indexes on tables. This will require droppingand recreating indexes numerous times.Solution
Use invisible indexes and instead of dropping the index, make itinvisible rather than dropping and recreating as recreation of an index is veryexpensive and requires a lot of database resources and consumes time.
In production scenarios , having an index may improve the performance of asingle query, while it can degrade the performance of other queries.Solution- Using Invisible indexes, its possible to have infrequent queries referindexes while remaining invisible for other queries.
The optimizer cannot guarantee the best suitable index required for thequery in an environment which is cluttered by too many indexes on a table.Solution
Use invisible indexes to make the optimizer ignore the indexesdegrading the performance of the query.