Hashing techniques in DBMS

December 4, 2026 · Team EasyExamNotes · 1 min read (est.) · 0 comments

Share on WhatsApp

← RGPV CS-502 DBMS December 2020 solved question paper

CS-502 (CBGS) | December 2020 | Q8(iii) | Short note (any three together carry 14 marks)

Question (restated): Write a note on hashing methods.

Answer

Hashing maps a search key to a bucket address using a hash function. It supports efficient equality searches. For example, h(k)=k mod 5 maps keys 12 and 17 to bucket 2, creating a collision. Collisions can be handled by overflow chains or other bucket management methods.

Static hashing uses a fixed number of buckets. It is simple but may develop long overflow chains as data grows. Dynamic hashing adapts to changing data. Extendible hashing uses a directory indexed by hash prefixes and splits buckets when they overflow; the directory may double when required. Linear hashing splits buckets incrementally without requiring a full directory.

Hashing is useful for equality lookups and hash joins, but generally does not support ordered range queries efficiently. A B+ tree is often preferred for range searches. Performance depends on distribution, load factor, bucket capacity and overflow management.

Hashing techniques in DBMS
Hashing techniques in DBMS — conceptual illustration

Further reading: Silberschatz, Korth and Sudarshan, Database System Concepts.

← RGPV CS-502 DBMS December 2020 solved question paper

Discussion

Ask a question, share your thoughts or report an error.

Sign in to participate in the discussion.

Join the discussion