Re: index with LIKE

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: index with LIKE
Дата
Msg-id 20040609201011.GA24652@svana.org
обсуждение исходный текст
Ответ на index with LIKE  ("Henrik Steffen" <steffen@topconcepts.de>)
Ответы Re: index with LIKE
Re: index with LIKE
Список pgsql-general
On Wed, Jun 09, 2004 at 09:00:31AM +0200, Henrik Steffen wrote:
>
> hello all,
>
> on my master-db-server i'm running postgres 7.4.1,
> and I have got two slave-servers running postgres 7.4.2

<snip>

> Is there such a difference in 7.4.1 to 7.4.2 ?
>
> A retardation of 722 ms is not acceptable for me, and I don't see why
> the indexes are not used.
> Do you have an idea? I have run VACUUM ANALYZE several times, and
> REINDEX TABLE foo and even
> DROPped and reCREATEd the index. Didn't help.

The classic issue is what encoding are the databases. Anything other
than C and like won't use indexes.

Also, you did a vacuum analyze on both, right?


Hope this helps,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: postgres on SuSE 9.1
Следующее
От: jseymour@linxnet.com (Jim Seymour)
Дата:
Сообщение: Re: Multiple databases on seperate drives/file systems?