Wildspeed for Postgres - a fast wildcard search for LIKE operator

Aug 07, 2016 23:12

This is a technical and mostly historical post !

our pg_trgm extension since 9.1 supports index searches for LIKE, ILIKE with comparable performance and much smaller size !

What if you want to search %asd% pattern and do it fast ? Wildspeed extension provides GIN index support for wildcard search for LIKE operator.

Read more... )

gin, pg, wildspeed, pgen

Leave a comment

Comments 4

ext_3724456 August 7 2016, 21:55:02 UTC
What's the benefit over using trigrams w/ the existing built-in functionality (http://blog.scoutapp.com/articles/2016/07/12/how-to-make-text-searches-in-postgresql-faster-with-trigram-similarity)?

Reply

obartunov August 8 2016, 04:34:42 UTC
This post is historical, I copy-pasted it from http://www.sai.msu.su/~megera/wiki/wildspeed to save content. I added link to our pg_trgm extension, which since 9.1 supports LIKE, ILIKE with comparable performance and much smaller size of index. I didn't make any serious benchmarks.

Reply


ILIKE support ext_3774584 August 8 2016, 01:33:59 UTC
This is great. Is there a way to support ILIKE as well?

Reply

Re: ILIKE support obartunov August 8 2016, 04:36:25 UTC
Regina,

this post about wildspeed is technical to save content from http://www.sai.msu.su/~megera/wiki/wildspeed

pg_trgm supports LIKE, ILIKE and does it with comparable performance and much smaller index size.

Reply


Leave a comment

Up