Search Postgresql Archives

Re: Question about cost-calculation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"A. Kretschmer" <andreas.kretschmer@xxxxxxxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux