Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

What is the benefit of extra levels of indirection when it comes to Secondary indices

$
0
0
I was reading my database book textbook and am on a section about secondary and primary indices. It briefly mentions the idea of adding a second level of indirection between a secondary index and the file with the table. I don't get why anyone would do that.

As you can see in the attached image, you could just as easily have the pointers on the far left point directly to the records in the file instead of going through an intermediate pointer. Under what scenario would this be helpful for the database? All I see is it adding another pointer hop.

:confused:

Attached Images
File Type: png 2013-05-12 20.36.54.png (242.7 KB)

Viewing all articles
Browse latest Browse all 13329

Trending Articles