Re: help understanding analyze

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема Re: help understanding analyze
Дата
Msg-id 200612102112.24964.fluca1978@infinito.it
обсуждение исходный текст
Ответ на Re: help understanding analyze  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
On Saturday 09 December 2006 11:46 Martijn van Oosterhout's cat, walking on
the keyboard, wrote:
> If it doesn't say "Index Scan" it's not using the index.
>
> At a guess your table is not big enough to make an index worthwhile. If
> your table is only a few pages long, it's just not efficient to lookup
> an index first.

Dear Martijn,
thanks for your explainations! I have checked the siz eof my table and,
despite the number of rows, it has less pages then the index, thus the seq.
scan is of course the faster one!
Now I begin to understand a little better how the optimizer works.

Thanks everyone,
Luca

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

Предыдущее
От: "Jamie Lawrence Jenner"
Дата:
Сообщение: db andtable schemas
Следующее
От: Al_Dev
Дата:
Сообщение: World Wide International Law: Linux is compulsory (mandotary) in all schools/universities world-wide