Re: Need help with one query

Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Need help with one query
Дата
Msg-id 20090320191453.GM8313@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Need help with one query  (Robert Haas)
Ответы Re: Need help with one query  (Anne Rosset)
Список pgsql-performance
Дерево обсуждения
Need help with one query  (Anne Rosset, )
 Re: Need help with one query  (Richard Huxton, )
  Re: Need help with one query  (Tom Lane, )
  Re: Need help with one query  (Anne Rosset, )
   Re: Need help with one query  (Robert Haas, )
    Re: Need help with one query  (Alvaro Herrera, )
     Re: Need help with one query  (Anne Rosset, )
      Re: Need help with one query  (Robert Haas, )
    Re: Need help with one query  (Tom Lane, )
     Re: Need help with one query  (Anne Rosset, )
      Re: Need help with one query  (Robert Haas, )
       Re: Need help with one query  (Anne Rosset, )
Robert Haas escribió:

> Something is wrong here.  How can setting enable_seqscan to off result
> in a plan with a far lower estimated cost than the original plan?  If
> the planner thought the non-seq-scan plan is cheaper, it would have
> picked that one to begin with.

GEQO?  Anne, what's geqo_threshold set to?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Proposal of tunable fix for scalability of 8.4
Следующее
От: "M. Edward (Ed) Borasky"
Дата:
Сообщение: "iowait" bug?