Primary Index



next up previous
Next: Secondary Indices Up: Indexing Previous: Indexing

Primary Index

  1. Good compromise ``trade-off'' solution: Have a sparse index with one index entry per block. Why is this good?

  2. Even with a sparse index, index size may grow too large. For 100,000 records, 10 per block, at one index record per block, that's 10,000 index records!

  3. Even if we can fit 100 index records per block, this is 100 blocks.

  4. If index is too large to be kept in main memory, a search results in several disk reads.
  5. Deletion:
  6. Insertion:



next up previous
Next: Secondary Indices Up: Indexing Previous: Indexing



Page created and maintained by Osmar R. Zaï ane
Last Update: Wed Nov 15 11:12:38 PST 1995