Re: Working with huge amount of data. RESULTS!

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: Working with huge amount of data. RESULTS!
Дата
Msg-id
20080212145209.GH14683@alvh.no-ip.org
Ответ на
Список
Дерево обсуждения
Working with huge amount of data. Mario Lopez <mario@lar3d.com>
Re: Working with huge amount of data. hubert depesz lubaczewski <depesz@depesz.com>
Re: Working with huge amount of data. Mario Lopez <mario@lar3d.com>
Re: Working with huge amount of data. RESULTS! Mario Lopez <mario@lar3d.com>
Re: Working with huge amount of data. RESULTS! Alvaro Herrera <alvherre@commandprompt.com>
Re: Working with huge amount of data. RESULTS! hubert depesz lubaczewski <depesz@depesz.com>
Re: Working with huge amount of data. RESULTS! Oleg Bartunov <oleg@sai.msu.su>
Re: Working with huge amount of data. Jeff <threshar@torgo.978.org>
Re: Working with huge amount of data. Jonathan Ballet <jon@multani.info>
Re: Working with huge amount of data. Erik Jones <erik@myemma.com>
Re: Working with huge amount of data. Mario Lopez <mario@lar3d.com>
Re: Working with huge amount of data. Vivek Khera <vivek@khera.org>
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.
В списке pgsql-general по дате отправления
От: Mark Cave-Ayland
Дата:
От: hubert depesz lubaczewski
Дата:
FAQ