Re: Re: Re: MySQL has transactions

Поиск
Список
Период
Сортировка
От Denis Perchine
Тема Re: Re: Re: MySQL has transactions
Дата
Msg-id 01012419021604.00614@dyp.perchine.com
обсуждение исходный текст
Ответ на Re: Re: MySQL has transactions  (Alexander Jerusalem <ajeru@gmx.net>)
Ответы Re: Re: Re: MySQL has transactions
Список pgsql-general
> * Fast case insensitive text search via indexes (function based indexes)

Try to:

create table test (s text);
create index ix_test_s on test(lower(s));

And try select * from test where lower(s) = 'test';

If you made vacuum, and have enough data in the table you will get index
scan. Also you will get index scan for this:
select * from test where lower(s) like 'test%';

--
Sincerely Yours,
Denis Perchine

----------------------------------
E-Mail: dyp@perchine.com
HomePage: http://www.perchine.com/dyp/
FidoNet: 2:5000/120.5
----------------------------------

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

Предыдущее
От: Alexander Jerusalem
Дата:
Сообщение: postgres memory management = Linux memory management
Следующее
От: The Hermit Hacker
Дата:
Сообщение: RE: MySQL has transactions