PostgreSQL - Indexing Strategies
You want to speed up queries that find all text rows similar to a search term using trigram similarity. Which GiST index creation is best?
gist_trgm_ops supports trigram similarity searches efficiently.gin_trgm_ops is also valid but question asks for GiST specifically. Hash indexes do not support similarity.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions