Unit -5 - part 2
Unit -5 - part 2
UNIT – V
Storage and Indexing: Data Storage and Indexes - file organizations, primary,
secondary index structures, various index structures - hash-based, dynamic
hashing techniques, multi-level indexes, B+ trees.
Slide 1- 1
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe
Indexing
1. Objective: To create a data structure that improves the speed of data retrieval
operations.
2. Methodologies: Includes clustered, non-clustered, primary, secondary,
composite, bitmap, and hash indexes, among others.
3. Implications:
Clustered indexes are excellent for range-based queries but slow down
insert/update operations.
Non-clustered indexes improve data retrieval speed but can take up additional
storage.
Bitmap indexes are useful for low-cardinality columns.
4. Real-world Examples: Search engines, e-commerce websites, any application
that requires fast data retrieval.
Index structure:
Indexes can be created using some database columns.
read the record after reading 542*2= 1084 bytes which are very less
compared to the previous case.