Re: pg_reset_stats + cache I/O %

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "mcelroy, tim" <tim(dot)mcelroy(at)bostonstock(dot)com>
Cc: "'pgsql-performance(at)postgresql(dot)org'" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: pg_reset_stats + cache I/O %
Date: 2006-03-07 19:36:56
Message-ID: 2756.1141760216@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"mcelroy, tim" <tim(dot)mcelroy(at)bostonstock(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Joost Kraaijeveld 2006-03-07 19:49:30 Re: Can anyone explain this pgbench results?
Previous Message Jim C. Nasby 2006-03-07 19:22:21 Re: Postgres and Ingres R3 / SAN