RefLib

Reference library for AI

Back

postgresql_16:3.8.2.2 Hash

PostgreSQL 16 > The SQL Language > Indexes > Index Types > Hash

Hash indexes store a 32-bit hash code derived from the value of the indexed column. Hence, such indexes can only handle simple equality comparisons. The query planner will consider using a hash index whenever an indexed column is involved in a comparison using the equal operator: =

Back