Re: [SQL] Queries not using Index

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: [SQL] Queries not using Index
Дата
Msg-id 001801c23329$82b8a590$0200a8c0@SOL
обсуждение исходный текст
Ответ на RES: [SQL] Queries not using Index  (Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>)
Список pgsql-general
> This SELECT causes a sequention scan 'cause your index
> is not HASH type, but likely a BTREE one.
> BTREE index is to interval searches (station = 'SAMI4%')
> not precise searchs. (station = 'SAMI4').

In Postgres, the hash index is slow and inefficient (it's a bit better
in7.3), and I believe btree is generally recommended over hash even for '='
instances.

Chris



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: need help : how to replace / extend existing SQL operators ?
Следующее
От: Elielson Fontanezi
Дата:
Сообщение: RES: RES: [SQL] Queries not using Index