Hashing and Types of Files
Hashing and Types of Files
+
Index & Hashing in DBMS
GROUP NO 5
Introduction to File Organization
Advantages:
Disadvantages:
Advantages:
Disadvantages:
Advantages:
Disadvantages:
Description: Uses an index to quickly locate data records without searching the
entire file.
Types of Indexes:
● Single-level Index: Simple index where each entry points to a data block.
● Multi-level Index: Indexes of indexes, useful for very large datasets.
● B-tree Index: Balanced tree structure, widely used in databases.
Indexing File Organization
Advantages:
Disadvantages:
1. Primary Index
2. Secondary Index
3. Clustered Index
4. Non-Clustered Index
5. Unique Index
6. Composite Index
Primary Index
1. Static Hashing
2. Dynamic Hashing
Static Hashing