Query is slower

Поиск
Список
Период
Сортировка
От Sandro Joel Eller
Тема Query is slower
Дата
Msg-id 41AE1B03.50205@tecsoft.com.br
обсуждение исходный текст
Ответы Re: Query is slower  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Re: Query is slower  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-sql
Hi

I have a query using "like" operator (select * from name like 'JOHN%'), 
but the table has about 500 hundred records. The  has a index (create 
index ixcontract_name on contract (name)) , but it is very slow because 
it is not using index. How do I do  the query to use index?

Sandro


-- 

*Sandro Joel Eller*
Analista/Programador Senior
www.tecsoft.com.br
sandro@tecsoft.com.br



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

Предыдущее
От: "Yudie"
Дата:
Сообщение: Found Large Files.. what objects are they?
Следующее
От: "Andrew Thorley"
Дата:
Сообщение: Re: inserting values into types