Search Postgresql Archives

Re: Working with huge amount of data. RESULTS!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mario Lopez wrote:

> The problem is still with the LIKE '%keyword%', my problem is that I am  
> not searching for Words in a dictionary fashion, suppose my "data" is  
> random garbage, that it has common consecutive bytes. How could I  
> generate a dictionary from this random garbage to make it easier for  
> indexing?

Using trigrams perhaps?  Try checking whether pg_trgm fits your needs.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux