by snaky · 9y ago · 0 comments
the link is from the post http://amitkapila16.blogspot.com/2017/03/hash-indexes-are-fa...
Based on the width of the key, the row count and the amount of memory available, there might be instances where a disk-hit gets replaced with an in-memory cache, which is awesome for spinning-disk based systems.
Good point, I think it would be nice to add it to the docs.
Maybe with part numbers of goods as an example - in typical OLTP DB they are variable width strings, mostly read-heavy, unique (not as constraint but as the matter of fact) and searched by almost constantly.