Re: pg_reset_stats + cache I/O % - Mailing list pgsql-performance

From Tom Lane
Subject Re: pg_reset_stats + cache I/O %
Date
Msg-id 2756.1141760216@sss.pgh.pa.us
Whole thread Raw
In response to pg_reset_stats + cache I/O %  ("mcelroy, tim" <tim.mcelroy@bostonstock.com>)
List pgsql-performance
"mcelroy, tim" <tim.mcelroy@bostonstock.com> writes:
> ERROR:  function round(double precision, integer) does not exist

Try coercing to numeric instead of float.  Also, it'd be a good idea to
put that coercion outside the sum()'s instead of inside --- summing
bigints is probably noticeably faster than summing numerics.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Postgres and Ingres R3 / SAN
Next
From: "Joost Kraaijeveld"
Date:
Subject: Re: Can anyone explain this pgbench results?