pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gnanakumar <gnanam@zoniac.com>
To: 'Richard Huxton' <dev@archonet.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: How to boost performance of queries containing pattern matching characters
Date: Mon, 14 Feb 2011 13:32:14 +0530
Message-ID: <004c01cbcc1d$7fa04980$7ee0dc80$@com> (raw)
In-Reply-To: <4D58E048.9020506@archonet.com>
References: <004601cbcc14$acfe99d0$06fbcd70$@com>
	<4D58D752.2000100@archonet.com>
	<004701cbcc18$c54c8980$4fe59c80$@com>
	<4D58DC35.8010007@archonet.com>
	<004801cbcc1b$3f1d4fe0$bd57efa0$@com>
	<4D58E048.9020506@archonet.com>

> The closest you can do is something like Artur's option (or the pg_trgm 
> module - handy since you are looking at 3-chars and up) to select likely 
> matches combined with a separate search on '%domain.com%' to confirm 
> that fact.

Thanks for your suggestion.  Our production server is currently running
PostgreSQL v8.2.3.  I think pg_trgm contrib module is not available for 8.2
series. 

Also, I read about WildSpeed - fast wildcard search for LIKE operator.  What
is your opinion on that?
http://www.sai.msu.su/~megera/wiki/wildspeed




view thread (13+ messages)  latest in thread

Message-ID: <004c01cbcc1d$7fa04980$7ee0dc80$@com>
Permalink:  ../004c01cbcc1d$7fa04980$7ee0dc80$@com/
Also on:    postgresql.org/message-id/004c01cbcc1d$7fa04980$7ee0dc80$@com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: gnanam@zoniac.com, dev@archonet.com
  Subject: Re: How to boost performance of queries containing pattern matching characters
  In-Reply-To: <004c01cbcc1d$7fa04980$7ee0dc80$@com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox