| От | Dimitri Fontaine |
|---|---|
| Тема | Re: What type of index should I use? |
| Дата | |
| Msg-id | 87ocf3qwoz.fsf@hi-media-techno.com обсуждение исходный текст |
| Ответ на | What type of index should I use? (Mike Christensen <mike@kitchenpc.com>) |
| Ответы |
Re: What type of index should I use?
|
| Список | pgsql-general |
Mike Christensen <mike@kitchenpc.com> writes: > I have a varying(200) text column that I need to be able to do lookups > on very fast (WHERE col = 'foo') Btree is what to use here. GIN covers cases where you index arrays. > I estimate the table will hold around 5,000 rows, never any more. It could be that you're better off without any index, depending on the size of rows you put in there, and the overall memory usage patterns you have. Regards, -- dim
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера