Re: Question about cost-calculation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Question about cost-calculation
Дата
Msg-id 17613.1212415037@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Question about cost-calculation  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Ответы Re: Question about cost-calculation  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-general
"A. Kretschmer" <andreas.kretschmer@schollglas.com> writes:
> i expected for a 1000 row test-table a cost per function of 2.5
> (cpu_operator_cost = 0.0025), but i got 5.

What's the data type of "i"?  I suspect you really have two function
calls in that expression: a type coercion function and cos() itself.

            regards, tom lane

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

Предыдущее
От: "Brian A. Seklecki"
Дата:
Сообщение: Re: [Xen-users] SNMP AgentX subagent for Xen
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Question about cost-calculation