Re: SQL stupid query plan... terrible performance !

Поиск
Список
Период
Сортировка
От Klint Gore
Тема Re: SQL stupid query plan... terrible performance !
Дата
Msg-id 40DFACD5345.1020KG@129.180.47.120
обсуждение исходный текст
Ответ на Re: SQL stupid query plan... terrible performance !  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SQL stupid query plan... terrible performance !  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
On Sun, 27 Jun 2004 23:29:46 -0400, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Jim <jim.jim@wp.pl> writes:
> > I have one performance issue... and realy have no idea what's going on...
>
> [yawn...]  Cast the constants to bigint.  See previous discussions.
>
>             regards, tom lane

Would there be any way of adding some sort of indicator to the plan as
to why sequential was chosen?

eg
   Seq Scan on upload (type mismatch) (cost....)
   Seq Scan on upload (statistics) (cost....)
   Seq Scan on upload (catch-all) (cost....)

klint.

+---------------------------------------+-----------------+
: Klint Gore                            : "Non rhyming    :
: EMail   : kg@kgb.une.edu.au           :  slang - the    :
: Snail   : A.B.R.I.                    :  possibilities  :
: Mail      University of New England   :  are useless"   :
:           Armidale NSW 2351 Australia :     L.J.J.      :
: Fax     : +61 2 6772 5376             :                 :
+---------------------------------------+-----------------+

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: postgres 7.4 at 100%
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SQL stupid query plan... terrible performance !