Fastest char datatype

Поиск
Список
Период
Сортировка
От Robert James
Тема Fastest char datatype
Дата
Msg-id e09785e00907191846x62a59884s92db2086e65696ef@mail.gmail.com
обсуждение исходный текст
Ответы Re: Fastest char datatype
Re: Fastest char datatype
Список pgsql-performance
I'm storing a lot of words in a database.  What's the fastest format for finding them? I'm going to be doing a lot of WHERE w LIKE 'marsh%' and WHERE w IN ('m', 'ma').  All characters are lowercase a-z, no punctuation, no other alphabets.  By default I'm using varchar in utf-8 encoding, but was wondering if I could specificy something else (perhaps 7bit ascii, perhaps lowercase only) that would speed things up even further.

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

Предыдущее
От: Robert James
Дата:
Сообщение: Can Postgres use an INDEX over an OR?
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Poor query performance