I'm reading about Oracle database indexes, and there is some point that I couldn't get it on my head, why do we need dense indexes especially in case of dense indexes for unique columns ? the fact that having an entry on dense indexes for each entry on our database table, makes the I/O cost the same for searching over the index table or over the database table, which on my point of view doesn't optimize the performance of our DBMS, I'm sure that I'm missing a point on how dense indexes work, but I've really searched over the Oracle doc without finding an appropriate response to my question.
Ok I get the point, of using a dense index in case of non unique key, but my real question is how would using it for a unique key gain performance ? what is the difference between accessing entries on dense indexes and accessing database entries in case of unique key dense indexes as they have both the same number of entries ?
EDIT :
In a dense index, a record is created for every search key valued in the database. This helps you to search faster but needs more space to store index records. In this Indexing, method records contain search key value and points to the real record on the disk.
