Re: MySQL/PG search times

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: MySQL/PG search times
Дата
Msg-id 200306231832.h5NIWci23968@candle.pha.pa.us
обсуждение исходный текст
Ответ на MySQL/PG search times  (nolan@celery.tssi.com)
Список pgsql-general
See the FAQ item about index usage.  You have to anchor the start only.

---------------------------------------------------------------------------

nolan@celery.tssi.com wrote:
> > We require ~* syntax for that, or upper()/lower().
>
> Slowly the light dawns!
>
> If I anchor a ~ search on both ends, it is the same search as =.
>
> Duh!
>
> I converted the prototype over to use ~ and it is running much faster.
> I'll try to do some detailed timings against MySQL tonight.
> --
> Mike Nolan
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Steve Lane
Дата:
Сообщение: Re: SELECT @@IDENTITY
Следующее
От: "Ian Harding"
Дата:
Сообщение: Re: SELECT @@IDENTITY