Re: postgresql not using index even though it's faster

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема Re: postgresql not using index even though it's faster
Дата
Msg-id 1062006011.18108.600.camel@haggis
обсуждение исходный текст
Ответ на postgresql not using index even though it's faster  (Rudy Koento <rudy_koento@yahoo.com>)
Список pgsql-general
On Tue, 2003-08-26 at 22:32, Rudy Koento wrote:
> Hi, I've created an index but it's not being used by
> postgresql when doing a query.  But doing an "explain
> analyze" shows that with index, it's faster.  Here's
> the output:
[snip]
EXPLAIN ANALYZE SELECT S.* FROM sales S, staff ST
WHERE S.staff_no=ST.staff_no AND ST.name='Rudy';
[snip]

Are S.staff_no and ST.staff_no the same data type?

--
-----------------------------------------------------------------
Ron Johnson, Jr. ron.l.johnson@cox.net
Jefferson, LA USA

"For me and windows it became a matter of easy to start with,
and becoming increasingly difficult to be productive as time
went on, and if something went wrong very difficult to fix,
compared to linux's large over head setting up and learning the
system with ease of use and the increase in productivity
becoming larger the longer I use the system."
Rohan Nicholls , The Netherlands


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

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: Linux ready for high-volume databases?
Следующее
От: "Ivar"
Дата:
Сообщение: Functions have 32 args limt ???