Re: Working with huge amount of data.

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: Working with huge amount of data.
Дата
Msg-id 96843CC8-0032-4587-A549-962BCED4238E@khera.org
обсуждение исходный текст
Ответ на Working with huge amount of data.  (Mario Lopez <mario@lar3d.com>)
Список pgsql-general
On Feb 11, 2008, at 10:37 AM, Mario Lopez wrote:

> The problem arises with the second type of queries, where there are
> no possible partitions and that the search keywords are not known, I
> have tried making indexes on the letter it ends with, or indexes
> that specify that it contains the letter specified but none of them
> work the planifier only make sequential scans over the table.

Postgres doesn't use indexes on prefix-wildcard searches like your
'%word' type search.  It will always sequential scan the table.


В списке pgsql-general по дате отправления:

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: Is PG a moving target?
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: Working with huge amount of data.