Serial · Sequential · Random (Direct) Access · Index Files
| Feature | Serial | Sequential | Random | Index Sequential |
|---|---|---|---|---|
| Order | Arrival order | Key order | Hash-based | Key order + index |
| Search speed | O(n) | O(n) or O(log n) | O(1) avg | O(log n) |
| Insert new record | Append (fast) | Rewrite file | Direct address | Update data + index |
| Batch processing | Good | Good | Poor | Good |
| Real-time access | Poor | OK (binary search) | Excellent | Excellent |
| Storage medium | Any (incl. tape) | Any | Disk/SSD only | Disk/SSD only |
| Space efficiency | High | High | Low (empty slots) | Medium (index overhead) |