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:
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: