Re: Need to improve performance

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Need to improve performance
Дата
Msg-id 200006231806.OAA19976@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Need to improve performance  (Vassili A Akimov <vassili@erols.com>)
Список pgsql-general
>
>         Thank you gentelmen! It seems that regexp was the reason! I enabled
> likeplanning and it i=didn't improve the performance until I replaced '~*' with
> 'LIKE'.  Thank you again!

The issue is that ~ and LIKE have similar performance.  ~* is
case-insensitive, and can not used indexes.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Jim Mercer
Дата:
Сообщение: Re: followup to SELECT/INSERT problem
Следующее
От: "K Parker"
Дата:
Сообщение: re: insert or update