Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Invisible Indexes

Invisible Indexes

Ratings: (0)|Views: 11 |Likes:
Published by Sagar Thorat

More info:

Categories:Types, Research
Published by: Sagar Thorat on Apr 25, 2012
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less





- Sagar T
Invisible Index
 An invisible index is an index that is maintained by the
database but ignored by the optimizer unless explicitly specified.
The invisible index is an alternative to dropping or
making an index unusable.
(Unlike unusable indexes, invisible indexes behave thesame like a normal index towards the DML operations.
They need to be updated with each DML operation.
No advantage of making an index invisible during bulkload inserts)
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.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->