Data, Data Engineering, Algorithms, Data Structures, Interview.
USING hash(<key>); - Postgres db.collection.createIndex( { _id: "hashed" } ) - Mongo The hash index is generally smaller than a B-Tree index Hash index select and insert performance are mostly better than a B-Tree index Hash Index is used in PostgreSQL, and MongoDB. B- Tree It is also known as a