Re: Working with huge amount of data. - Mailing list pgsql-general

From Vivek Khera
Subject Re: Working with huge amount of data.
Date
Msg-id 96843CC8-0032-4587-A549-962BCED4238E@khera.org
Whole thread Raw
In response to Working with huge amount of data.  (Mario Lopez <mario@lar3d.com>)
List 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 by date:

Previous
From: Vivek Khera
Date:
Subject: Re: Is PG a moving target?
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: Working with huge amount of data.