<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Invisible Indexes on Oracle Scripts</title><link>https://www.oraclescripts.com/tags/invisible-indexes/</link><description>Recent content in Invisible Indexes on Oracle Scripts</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>OracleScripts.com</copyright><lastBuildDate>Thu, 26 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.oraclescripts.com/tags/invisible-indexes/index.xml" rel="self" type="application/rss+xml"/><item><title>Test Index Changes Safely with Oracle Invisible Indexes</title><link>https://www.oraclescripts.com/post/test-index-changes-safely-oracle-invisible-indexes/</link><pubDate>Thu, 26 Nov 2026 00:00:00 +0000</pubDate><guid>https://www.oraclescripts.com/post/test-index-changes-safely-oracle-invisible-indexes/</guid><description>
&lt;h2 id="test-index-changes-safely-with-oracle-invisible-indexes"&gt;Test Index Changes Safely with Oracle Invisible Indexes&lt;/h2&gt;
&lt;h2 id="purpose"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;An index has not shown up in a plan for months, and someone wants it gone. Dropping it is quick. Getting it back is not: you must re-create it, and for that you need the exact parameters of the original &lt;code&gt;CREATE INDEX&lt;/code&gt; statement. If one month-end report did need that index, you find out when the report runs long.&lt;/p&gt;
&lt;p&gt;An invisible index gives you a safer step between &amp;quot;keep&amp;quot; and &amp;quot;drop&amp;quot;. The optimizer ignores the index, but Oracle still maintains it on every insert, update and delete. If nothing slows down, and the index does not back a foreign key or a unique or primary key constraint, you can drop it. If something does slow down, one &lt;code&gt;ALTER INDEX ... VISIBLE&lt;/code&gt; statement puts it back, with no rebuild. The feature also works in reverse: you can create a new index as invisible and test it in one session before any other session can use it.&lt;/p&gt;</description></item></channel></rss>